Authorization failed for template resource

Chin Keong Lam (Ascendion Inc) 0 Reputation points Microsoft External Staff
2024-03-18T20:30:33.5866667+00:00
Authorization failed for template resource '[removed]' of type 'Microsoft.Authorization/roleAssignments'. The client '[removed]' with object id '[removed]' does not have permission to perform action
Community Center Not monitored
{count} votes

1 answer

Sort by: Most helpful
  1. kobulloc-MSFT 26,801 Reputation points Microsoft Employee Moderator
    2024-03-18T21:46:26.75+00:00

    Hello, @Chin Keong Lam (Ascendion Inc) !

    Why am I receiving an authorization failure message?

    Based on the error you've provided, the user (also sometimes service principal) does not have permission to complete the action being requested. To assign Azure roles, you must have Microsoft.Authorization/roleAssignments/write permissions, such as Role Based Access Control Administrator or User Access Administrator. Check the role your account belongs to, and its access for the deployment scope:

    Additional reading:


    I hope this has been helpful! Your feedback is important so please take a moment to accept answers.

    If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!

    User's image


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.