Creating custom Azure Role to be used with PIM

EnterpriseArchitect 5,761 Reputation points
2023-08-17T13:32:33.31+00:00

I need some help to create the Azure custom role that allows the group member to do only the following task:

Resource Group - Create/Read/Update

  • Configuring the IAM for the Resource Group. How to achieve it in Azure ?

Thank you.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,517 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,914 questions
Microsoft Entra
Microsoft Entra
A group of Microsoft multicloud identity and access solutions.
2,555 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
24,275 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sandeep G-MSFT 20,786 Reputation points Microsoft Employee
    2023-08-21T06:59:03.25+00:00

    @EnterpriseArchitect

    Thank you for posting your question in Microsoft Q&A.

    You can create a custom role in Azure using GUI or using PowerShell.

    Since you want to create a custom role for resource group, you can follow below steps,

    • Login to Azure portal.
    • Go to the resource group in which you wanted to create a custom role. (In our example let's consider a resource group and I am selecting compute as a resource)
    • Once you go to the resource group you can click on "Access control (IAM)".
    • Click on Add on the top and click on "Add custom role".
    • Give a name to custom role that you want to create. Then you can select "start from scratch".
    • Now in the next page you will have to select the resource to which you want to apply this permission to.
    • Post that select the permissions as per your requirement.
    • Now follow the instructions on the screen and you will be able to create a custom role.

    You can also refer to below article,

    https://learn.microsoft.com/en-us/azure/role-based-access-control/custom-roles-portal#step-1-determine-the-permissions-you-need

    Let me know if you have any further questions.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


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.