Cmdlet that defines a custom role, taking either a role object or a JSON file supplied with -InputFile.
Read more: Microsoft Learn
In the Ultra Transcenders books
Each book explains New-AzRoleDefinition in context, with comparison tables and the common traps.
Terms in this definition
- Custom role
Built from the preset permissions that the built-in Microsoft Entra roles also use, and assignable to the whole tenant, an administrative unit or one object. Each user it is assigned to needs Microsoft Entra ID P1; Azure custom roles are a separate thing.
- Role
How an actor normally or expectedly behaves, or the part a person takes in a process. A single actor may hold more than one role.
- JSON
Text-based format for structured data. ARM templates and Cosmos DB documents are written in it, and most Azure REST APIs exchange request and response bodies as application/json.