I'm attempting to use the Azure Management Libraries NuGet package to upgrade a deployment using ComputeManagementClient.UpgradeByNameAsync.
I'm using my certificate's thumbprint to load it from the certificate store and create my credentials, but my request keeps getting rejected with the following message:
The server failed to authenticate the request. Verify that the certificate is valid and is associated with this subscription.
I've done everything I can think of to figure it out but nothing is working.
I've quadruple-checked that my thumbprint is correct and that the certificate appears in the management certificates list in azure. Any ideas on where I might be going wrong?