UiPath Documentation
activities
latest
false

IT Automation activities

Last updated May 20, 2026

Create Lifecycle Policy

UiPath.AzureAD.Activities.AzureADCreateLifecyclePolicy

Description

Creates a lifecycle policy for an Office 365 group.

Project Compatibility

Windows - Legacy | Windows | Cross-platform

Configuration

Common

  • DisplayName - The display name of the activity.

Input

  • AlternateNotificationEmails - Enables the email addresses to send notifications for groups with no owners. Multiple email addresses should be separated by a semicolon ;. This field supports only strings and String variables.
  • GroupLifetimeInDays - Establishes the number of days before a group expires and needs to be renewed.
  • ManagedGroupTypes - Specifies the group type for which the expiration policy applies. The possible values are All, Selected, and None. The default value is Selected.

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

Output

  • LifecyclePolicy - Provides details about the newly created lifecycle policy.
Note:

Only one expiration policy can be configured for Office 365 groups, on a tenant. Click here and here for more information.

Permissions

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

  • Delegated - Directory.ReadWrite.All
  • Application - Directory.ReadWrite.All
  • Description
  • Project Compatibility
  • Configuration
  • Common
  • Input
  • Misc
  • Output
  • Permissions

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated