While following Elan Shudnow’s excellent guide on Connecting Azure Runbooks to Exchange Online and Microsoft Graph, I ran into the following error while uploading a self-signed certificate:

An error occurred while creating the certificate.  The specified network password is not correct.

And that’s weird, because I was just pasting the exact password I had generated with HSXKPasswd. I recreated the certificate and tried again – no dice.

This “The specified network password is not correct” error can come from multiple areas in Azure, and searching for an answer didn’t really help. It couldn’t be a permissions problem given the roles on my account.

Instead of banging my head against all manner of possible issues, I figured my password was the problem. This particular series of characters started with a $, and that could easily make a web text-entry field go sideways.

I tried a different password and resubmitted:

Certificate was created successfully.

There you go. Don’t start passwords with a $. Just make that a general rule.