en-US

OneDriveBlockGuestsAsSiteAdmin

Parameter of SPOTenant

Description

Controls whether guests are blocked from using OneDrive.

The valid values are:

  • On
  • Off
  • Unspecified

Microsoft Learn documentation

Characteristics

Type
Microsoft.SharePoint.Client.SharingState
Parameter sets
(All)

Apply

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