Skip to content

Latest commit

 

History

History
60 lines (43 loc) · 1.51 KB

File metadata and controls

60 lines (43 loc) · 1.51 KB

external help file: Microsoft.Graph.Authentication.dll-Help.xml Module Name: Microsoft.Graph.Authentication online version: https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.authentication/disconnect-graph schema: 2.0.0

Disconnect-MgGraph

SYNOPSIS

Once you're signed in, you'll remain signed in until you invoke Disconnect-MgGraph. Microsoft Graph PowerShell automatically refreshes the access token for you and sign-in persists across PowerShell sessions because Microsoft Graph PowerShell securely caches the token.

SYNTAX

Disconnect-MgGraph [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Use Disconnect-MgGraph to sign out.

EXAMPLES

Example 1: Using Disconnect-MgGraph

PS C:\> Disconnect-MgGraph

Use Disconnect-MgGraph to sign out.

PARAMETERS

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

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

None

OUTPUTS

Microsoft.Graph.PowerShell.Authentication.IAuthContext

NOTES

RELATED LINKS