Why add-azurevhd fails with 403 - AuthenticationFailed

Damir Dobric Posts

Next talks:

 

    

Follow me on Twitter: #ddobric



 

 

Archives

When you try to upload VHD-image following can happen:

add-azurevhd : "An exception occurred when calling the ServiceManagement API. HTTP Status Code: 403. Service
Management Error Code: AuthenticationFailed. Message: The server failed to authenticate the request. Verify that the
certificate is valid and is associated with this subscription.. Operation Tracking ID: <NONE>."
At line:1 char:1
+ add-azurevhd -destination
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [Add-AzureVhd], ServiceManagementClientException
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Management.ServiceManagement.StorageServices.AddAzureVhdCommand

 

Assuming that you have done everything as described here and/or here please check if you don’t have some debugging proxy in-between.
For example Fiddler will cause the certificate check routine to fail.


Posted Oct 16 2013, 11:00 AM by Damir Dobric
Filed under:
developers.de is a .Net Community Blog powered by daenet GmbH.