What to do when, Windows Azure Powershell CMDLET returns "The HTTP request was forbidden with client authentication scheme 'Anonymous'" error message...

When you are executing PowerShell (Windows Azure Service
Management CmdLets
) it is possible you may be getting error – “The HTTP request was
forbidden with client authentication scheme 'Anonymous'.".

 

I have seen such kind of error with all PS command or some specific commands. And such problems could be mostly related with
certificate missing private key in the machine which is launching the commands.

 

To solve this problem, please be sure to have

  • The PFX certificate (with private key) installed in the development machine
  • And the same certificate (CER - without private key) is
    uploaded to Azure Mgmt portal 

 

To get help on PFX certificate creation in development machine and CER export please visit: