Accessing Microsoft.Authorization/roleAssignments/write for Application Testing

cloud secure 0 Reputation points
2025-04-03T19:43:12.0466667+00:00

The application being used requires access rights for Microsoft.Authorization/roleAssignments/write. What steps need to be taken to grant these permissions on the account to successfully run the application?

Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
925 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Navya 17,900 Reputation points Microsoft External Staff
    2025-04-03T21:19:40.9533333+00:00

    Hi @cloud secure

    I understand you want to assign Microsoft.Authorization/roleAssignments/write permissions to user to run application.

    Microsoft.Authorization/roleAssignments/write is one of action in Role-Based Access Control (RBAC). To grant this permission to a user account, you need to assign the appropriate RBAC roles.

    You can assign Role-Based Access Control administrator or User Access Administrator to your account. Along with Microsoft.Authorization/roleAssignments/write permissions, these built-in roles include several other permissions. To see the complete list of actions available in these roles, please refer to this documentation.

    To assign roles you require at least you require Role Based Access Control Administrator or User Access Administrator and follow below steps

    1.Go to Azure Portal → Subscription / Resource Group / Resource (where the permission is needed).

    2.Navigate to Access Control (IAM) → Role Assignments.

    3.Click + Add Role Assignment.

    4.Select User Access Administrator or Owner.

    5Assign it to the Service Principal, Managed Identity, or User, Click Save.

    If you do not want to grant additional permissions included in built-in roles, you can create a custom RBAC role with only the Microsoft.Authorization/roleAssignments/write permission and assign it to the user.

    For steps on how to create a custom RBAC role, please refer to this document

    If my understanding of the issue is not correct, could you please provide more details about your ask. Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments

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.