Forum Discussion
Revoke Token for Power BI Embedded / Python
- Anonymous4 years ago
Hi Charles001,
AFAIK, you cannot directly revoke the current tokens, it has corresponded expiry time. (you can do custom on the azure side to set the general token expired time)
For your requirement, I'd like to suggest you trace the logout operations, and invoke the generate token functions to force generated new token and the old one will be disabled.
In addition, since power bi embed is based on the azure ad, you can also take a look at the following link to revoke the user access:
Revoke user access in an emergency in Azure Active Directory | Microsoft Docs
Regards,
Xiaoxin Sheng
Hi Charles001,
AFAIK, you cannot directly revoke the current tokens, it has corresponded expiry time. (you can do custom on the azure side to set the general token expired time)
For your requirement, I'd like to suggest you trace the logout operations, and invoke the generate token functions to force generated new token and the old one will be disabled.
In addition, since power bi embed is based on the azure ad, you can also take a look at the following link to revoke the user access:
Revoke user access in an emergency in Azure Active Directory | Microsoft Docs
Regards,
Xiaoxin Sheng