Refresh Azure AD auth token

# Revoke tokens in Azure AD, existing application and browser windows with access token needs to be terminated to revoke the access token

Get-AzureADUser -SearchString user@domain.com | Revoke-AzureADUserAllRefreshToken

Set-User -Identity user@domain.com -AuthenticationPolicy "Allow Basic Auth for ActiveSync" -StsRefreshTokensValidFrom $([System.DateTime]::UtcNow) 

Set-User -Identity user@domain.com -AuthenticationPolicy "Disable Basic Auth" -StsRefreshTokensValidFrom $([System.DateTime]::UtcNow) 

 
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Trackback from your site.