GET /directoryRoles(roleTemplateId='{roleTemplateId}')
Retrieve the properties of a directoryRole object. The role must be activated in tenant for a successful response. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs.
Servers
- https://graph.microsoft.com/v1.0
Path parameters
Name | Type | Required | Description |
---|---|---|---|
roleTemplateId |
String | Yes |
Alternate key of directoryRole |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
$select[] |
Array | No |
Select properties to be returned |
$expand[] |
Array | No |
Expand related entities |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.