Disable-SPOTenantServicePrincipal

禁用当前租户的“SharePoint Online 客户端”服务主体。

语法

Disable-SPOTenantServicePrincipal

说明

禁用当前租户的“SharePoint Online 客户端”服务主体。

禁用服务主体的帐户后,使用此服务主体的客户端和组件将无法请求此服务主体的访问令牌。

示例

------------------示例 1------------------

Disable-SPOTenantServicePrincipal

禁用当前租户的“SharePoint Online 客户端”服务主体。