Azure - The HTTP request was forbidden with client authentication scheme 'Anonymous'.
search cancel

Azure - The HTTP request was forbidden with client authentication scheme 'Anonymous'.

book

Article ID: 34947

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM) CA Unified Infrastructure Management On-Premise (Nimsoft / UIM) CA Unified Infrastructure Management SaaS (Nimsoft / UIM)

Issue/Introduction

When testing subscription in the azure probe we get the following error:
The probe cannot find a subscription with this id. Please verify the id you entered on the Windows Azure portal http://windows.azure.com

Error in azure probe logs -The HTTP request was forbidden with client authentication scheme 'Anonymous'.

Environment

  • Component: UIMAZR

Cause

  • Such problems are mostly related with certificate missing private key in the machine which is launching the commands

Resolution

Ensure you have followed the procedure mentioned in the configuration doc to generate the certificate.

Service Management API Certificate

The Azure probe uses the Windows Azure Service Management API to perform some of its duties. This API is secured using an X509 certificate. Before the probe can function, the developer must:

  1. Create or acquire an X.509 certificate with private key. Self-signed certificates will work.
  2. Upload the certificate (without private key) to the Azure developer portal and associate it with the subscription that the probe will be monitoring. (Do this for each subscription as necessary).
  3. Install the certificate (with private key) into the Windows certificate store on the computer that will run the probe. The certificate should be installed in the Local Computer/Personal/Certificates store.

Additional link for reference:
http://msdn.microsoft.com/en-us/library/azure/gg551722.aspx