GET /directoryRoles/{directoryRole-id}/members/$ref
Retrieve the list of principals that are assigned to the directory role. 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 |
---|---|---|---|
directoryRole-id |
String | Yes |
The unique identifier of directoryRole |
Request headers
Name | Type | Required | Description |
---|---|---|---|
ConsistencyLevel |
String | No |
Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
$orderby[] |
Array | No |
Order items by property values |
$top |
Integer | No |
Show only the first n items |
$count |
Boolean | No |
Include count of items |
$filter |
String | No |
Filter items by property values |
$skip |
Integer | No |
Skip the first n items |
$search |
String | No |
Search items by search phrases |
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.