MicrosoftGraph.Users.AppRoleAssignments (Microsoft Graph API Client v0.1.5)

An app role assignment is a relationship between the assigned principal (a user, a group, or a service principal), a resource application (the app's service principal) and an app role defined on the resource application.

https://docs.microsoft.com/en-us/graph/api/resources/approleassignment?view=graph-rest-1.0

Link to this section Summary

Link to this section Functions

Link to this function

list_app_role_assignments(client, id, options \\ [])

https://docs.microsoft.com/en-us/graph/api/user-list-approleassignments?view=graph-rest-1.0&tabs=http

examples

Examples

iex> MicrosoftGraph.Users.AppRoleAssignments.list_app_role_assignments(client, "1234...")
{:ok, response}

# Filter by resourceId (Application ID)
iex> MicrosoftGraph.Users.AppRoleAssignments.list_app_role_assignments(client, "1234...", params: %{"$filter" => "resourceId eq #{application_id}"})
{:ok, response}