activities
latest
false
UiPath logo, featuring letters U and I in white

IT Automation Activities

Last updated Mar 2, 2026

Is Member In Role

UiPath.AzureAD.Activities.AzureADIsMemberInRole

Description

Checks whether a given user or service principal is in a directory role.

Project Compatibility

Windows - Legacy | Windows | Cross-platform

Configuration

Common
  • DisplayName - The display name of the activity.
Input
  • MemberId - Establishes the object's ID of the user or service principal. This field supports only strings and String variables.
  • RoleId - Establishes the object's ID of the directory role. This field supports only strings and String variables.
Misc
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Output
  • IsObjectInRole - Outputs whether the given user or service principal is in the specified directory role or not.

Permissions

This activity requires one of the following permissions to be set:

  • Delegated - RoleManagement.Read.Directory, Directory.Read.All, Directory.AccessAsUser.All
  • Application - RoleManagement.Read.Directory, Directory.Read.All
  • Description
  • Project Compatibility
  • Configuration
  • Permissions

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated