en-US

RestrictAccessControlForAgenticUser

Parameter of SPOTenant

Applies to : SharePoint Online

Description

Specifies whether Agent Users are restricted from accessing all sites in the organization. Set this parameter to $true to block Agent Users at runtime, or $false to remove the organization-wide restriction. Changing this setting doesn't remove existing permissions.

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.