< Back
Clear-ADALAccessTokenCache
Post
NAME Clear-ADALAccessTokenCache
SYNOPSIS
Clears OAuth 2.0 AccessToken (and RefreshToken) local cache
SYNTAX
Clear-ADALAccessTokenCache [-AuthorityName] <String> [<CommonParameters>]
DESCRIPTION
The Get-AccessToken cmdlet lets you clear OAuth 2.0 AccessToken (and RefreshToken) local cache which acquired by
Azure Active Directory Authentication Library (ADAL)
PARAMETERS
-AuthorityName <String>
Azure Active Directory Name or Guid. i.e.)contoso.onmicrosoft.com
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Clear-ADALAccessTokenCache -AuthorityName contoso.onmicrosoft.com
This example clear local accesstoken cache for contoso.onmicrosoft.com Azure Active Directory.
RELATED LINKS
SYNOPSIS
Clears OAuth 2.0 AccessToken (and RefreshToken) local cache
SYNTAX
Clear-ADALAccessTokenCache [-AuthorityName] <String> [<CommonParameters>]
DESCRIPTION
The Get-AccessToken cmdlet lets you clear OAuth 2.0 AccessToken (and RefreshToken) local cache which acquired by
Azure Active Directory Authentication Library (ADAL)
PARAMETERS
-AuthorityName <String>
Azure Active Directory Name or Guid. i.e.)contoso.onmicrosoft.com
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Clear-ADALAccessTokenCache -AuthorityName contoso.onmicrosoft.com
This example clear local accesstoken cache for contoso.onmicrosoft.com Azure Active Directory.
RELATED LINKS