Read User Roles
Get roles that are assigned to a user in Office 365.
The Read User Roles action card only reads roles that are activated in an Office 365 tenant. Also, the card only reads default system roles. It doesn't read custom roles.
|ID or Username||
User ID or username of the Office 365 user. This is the user's User Principal Name (UPN). A UPN is formed by taking the username and domain and combining them with the
If the string for the UPN input begins with the $ character, remove the slash / after /users and enclose the UPN value in parentheses and single quotes. For example, /users('$AdeleVance@contoso.com'). See Known issues with Microsoft Graph.
To search for a B2B user using a UPN input value, encode the hash # character as %23. For example,
|ID||Unique identifier for the user.||String|
|Display Name||Display name for the directory role.||String|
|Description||Description for the directory role.||String|
|Role Template ID||ID of the
"description": "Can reset passwords for non-administrators and Helpdesk Administrators.",
"displayName": "Helpdesk Administrator",