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

IT Automation Activities

Last updated Mar 2, 2026

For Each User Role

UiPath.AzureAD.Activities.AzureADForEachUserRole

Description

Performs one or multiple activities for each directory role of which the user is a direct member.

Project Compatibility

Windows - Legacy | Windows | Cross-platform

Configuration

Common
  • DisplayName - The display name of the activity.
Input
  • UserIdOrUpn - Establishes the User Principal Name (UPN) or the object ID of the user. 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
  • Index - Provides a zero-based index that specifies what element of the current collection is being iterated.

Permissions

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

  • Delegated - Directory.Read.All, Directory.ReadWrite.All, Directory.AccessAsUser.All
  • Application - Directory.Read.All, Directory.ReadWrite.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