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
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.
Disconnect-MgGraph [-ProgressAction <ActionPreference>] [<CommonParameters>]
Use Disconnect-MgGraph to sign out.
PS C:\> Disconnect-MgGraph
Use Disconnect-MgGraph to sign out.
{{ 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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.