0
votes

While performing the Resource Manager API calls for a few subscriptions I am getting the below error

400 Bad Request {"code":"DisallowedOperation","message":"The current subscription type is not permitted to perform operations on any provider namespace. Please use a different subscription."}

API Call: https://management.azure.com/{resourceUri}/providers/Microsoft.ResourceHealth/availabilityStatuses/current?api-version=2015-01-01

Is this related to the Subscriptions type or the RBAC?

1
Do the subscriptions which not work have any commonality? What the types of them?Joy Wang-MSFT

1 Answers

1
votes

You have to enable "Microsoft.ResourceHealth" Resource provider on your subscription. Please follow below document. https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-supported-services