Oauth2.0 Azure Active Directory - How to see alive tokens

Copper Contributor

Is there a way to see all tokens that are alive in Azure Active Directory? Looking at script and GUI options. Thanks.

2 Replies

No. That will effectively allow you access to any application your users are currently logged in to. If the idea is to revoke access for a specific user, you can use the Revoke-AzureADUserAllRefreshToken cmdlet: https://docs.microsoft.com/en-us/powershell/module/azuread/revoke-azureaduserallrefreshtoken?view=az...

Thanks for clarifying. I thought there was an option to list tokens that were refreshed or other state. I will definitely keep that command though as it will be useful one day.