| external help file | sharepointonline.xml |
|---|---|
| Module Name | Microsoft.Online.SharePoint.PowerShell |
| online version | https://learn.microsoft.com/powershell/module/sharepoint-online/disable-spotenantserviceprincipal |
| applicable | SharePoint Online |
| title | Disable-SPOTenantServicePrincipal |
| schema | 2.0.0 |
| author | trent-green |
| ms.author | trgreen |
| ms.reviewer |
Disables the current tenant's "SharePoint Online Client" service principal.
Disable-SPOTenantServicePrincipalDisables 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.
Disable-SPOTenantServicePrincipalDisables the current tenant's "SharePoint Online Client" service principal.