Deployment error message

John Havenar 0 Reputation points
2024-05-22T17:46:53.8533333+00:00

Our agency has a grant for Azure use and our Dev team is getting an error message:

Setting up deployment

Failed to set up deployment: The client live.com#xxxxxxxxxxx@gmail.com' with object id

'bd90cbb3-fbd1-4a3f-acd8-d7b96f9bf06a' does not

have authorization to perform action

'Microsoft.Managedldentity/register/action' over scope /subscriptions/8d3b1c8c-8820-4909-87f9-b92a11b0a263' or the scope is invalid. If access was recently granted, please refresh your credentials.

Anyone familiar with this? Also our grant recently renewed and we are wondering if the two are related…?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,982 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Marcin Policht 15,460 Reputation points MVP
    2024-05-22T18:59:01.38+00:00

    This appears to be an authorization error. In short, your development team is trying to create a managed identity but the corresponding resource provider is not registered.

    Use an account with the Owner role in the subscription to register the Microsoft.ManagedIdentity provider

    Follow https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/resource-providers-and-types#register-resource-provider


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    0 comments No comments