en-US

ApplyAppEnforcedRestrictionsToAdHocRecipients

Parameter of SPOTenant

Applies to : SharePoint Online

Description

When the feature is enabled, all guest users are subject to conditional access policy. By default guest users who are accessing SharePoint Online files with pass code are exempt from the conditional access policy.

The valid values are:

  • False (default) - Guest access users are exempt from conditional access policy.
  • True - Conditional access policy is also applied to guest users.

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.