en-US

ExternalUserExpirationRequired

Parameter of SPOTenant

Applies to : SharePoint Online

Description

Specifies whether to enable the external user expiration policy, where external users will be expired and removed from the site collection in a given number of days.

Note: Once the policy is enabled, expiration values will be set on external users as they join a site collection (via sharing links or via direct access). When the policy is disabled, it will no longer set expiration values on users, but it will not automatically clear expiration values set on existing users. The users can then have their expiration value cleared by a site collection administrator if required.

The valid values are: True - Enables the Policy. False (default) - Disables the policy.

Microsoft Learn documentation

Characteristics

Type
System.Boolean
Parameter sets
(All)

Apply

This value type (System.Boolean) must be built by hand: see the examples on the policy page and the Microsoft documentation.