Reputation: 23
Is there an azure aad api that can be invoked to kill all refresh_tokens for a particular app? So that after an hour, new tokens will not be issued and devices under the app-id will signout automatically. Pls note the signout should delete refresh tokens for a particular appid, not all the tokens from the user.
Upvotes: 1
Views: 114
Reputation: 16458
No. There is no such an official API.
The only call which is exposed by Microsoft is revoke all refresh tokens issued to all applications for a user.
See Revoke-AzureADUserAllRefreshToken.
AAD Graph API: POST https://graph.windows.net/{tenant id}/me/invalidateAllRefreshTokens?api-version=1.6 HTTP/1.1
You can post your idea on Azure AD User Voice.
Upvotes: 1