Disable-SPOTenantServicePrincipal

Disables the current tenant's "SharePoint Online Client" service principal.

Syntax

Disable-SPOTenantServicePrincipal

Description

Disables the current tenant's "SharePoint Online Client" service principal.

When the service principal's account is disabled, clients and components that use this service principal will not be able to request an access token for this service principal.

Examples

------------------EXAMPLE 1------------------

Disable-SPOTenantServicePrincipal

Disables the current tenant's "SharePoint Online Client" service principal.