Skip to content

Latest commit

 

History

History
67 lines (42 loc) · 2.18 KB

File metadata and controls

67 lines (42 loc) · 2.18 KB
external help file Microsoft.Online.SharePoint.PowerShell.dll-Help.xml
Module Name Microsoft.Online.SharePoint.PowerShell
online version https://learn.microsoft.com/powershell/module/microsoft.online.sharepoint.powershell/disconnect-sposervice
applicable SharePoint Online
title Disconnect-SPOService
schema 2.0.0
author samkabue
ms.author speedta
ms.reviewer

Disconnect-SPOService

SYNOPSIS

Disconnects from a SharePoint Online service.

SYNTAX

Disconnect-SPOService [<CommonParameters>]

DESCRIPTION

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 administrator to run the cmdlet.

For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at Intro to SharePoint Online Management Shell.

EXAMPLES

Example 1

Disconnect-SPOService

This example disconnects the service for the tenant.

PARAMETERS

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

RELATED LINKS

Getting started with SharePoint Online Management Shell

Get-SPOAppErrors

Connect-SPOService