Applies to: Office 365, SharePoint Online
Topic Last Modified: 2013-12-18
Disconnects from a SharePoint Online service.
The Disconnect-SPOService cmdlet explicitly disconnects a previously created SharePoint Online service connection.
Global administrators can disconnect the service by running the Disconnect-SPOService cmdlet or by running the Connect-SPOService cmdlet to initiate another connection. For more information, see Connect-SPOService.
|Even after a connection is terminated, operations that were started before the connection is terminated will run to completion. In other words, long-running operations will not be terminated by running the Disconnect-SPOService cmdlet or the Connect-SPOService cmdlet.|
You must be a SharePoint Online global administrator to run the cmdlet.
SharePoint Online Management Shell
This example explicitly disconnects a previously created SharePoint Online service connection.