<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Revoke Token for Power BI Embedded / Python in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Revoke-Token-for-Power-BI-Embedded-Python/m-p/2058326#M31547</link>
    <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/272479"&gt;@Charles001&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;AFAIK, you cannot directly revoke&amp;nbsp;the current tokens, it has corresponded expiry time. (you can do custom on the azure side to set the general token expired time)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;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.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma, arial, helvetica, sans-serif"&gt;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:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma, arial, helvetica, sans-serif"&gt;&lt;A href="https://docs.microsoft.com/en-us/azure/active-directory/enterprise-users/users-revoke-access" target="_blank"&gt;Revoke user access in an emergency in Azure Active Directory | Microsoft Docs&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Sep 2021 02:07:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-09-06T02:07:48Z</dc:date>
    <item>
      <title>Revoke Token for Power BI Embedded / Python</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Revoke-Token-for-Power-BI-Embedded-Python/m-p/2050647#M31472</link>
      <description>&lt;P&gt;I am trying to find a way to revoke an access token.&lt;/P&gt;&lt;P&gt;I am using Power BI Embedded with Python. In the python section I am using Confidential Client Application and method acquire_token_for_client.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All is working fine, but I need to be able to revoke the token on logout. &amp;nbsp;I understand there is no official way to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I am looking at possibly updating the access token on logout but not delivering to the browser. &amp;nbsp;Is this possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 07:22:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Revoke-Token-for-Power-BI-Embedded-Python/m-p/2050647#M31472</guid>
      <dc:creator>Charles001</dc:creator>
      <dc:date>2021-09-01T07:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Revoke Token for Power BI Embedded / Python</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Revoke-Token-for-Power-BI-Embedded-Python/m-p/2058326#M31547</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/272479"&gt;@Charles001&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;AFAIK, you cannot directly revoke&amp;nbsp;the current tokens, it has corresponded expiry time. (you can do custom on the azure side to set the general token expired time)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;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.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma, arial, helvetica, sans-serif"&gt;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:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma, arial, helvetica, sans-serif"&gt;&lt;A href="https://docs.microsoft.com/en-us/azure/active-directory/enterprise-users/users-revoke-access" target="_blank"&gt;Revoke user access in an emergency in Azure Active Directory | Microsoft Docs&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 02:07:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Revoke-Token-for-Power-BI-Embedded-Python/m-p/2058326#M31547</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-06T02:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Revoke Token for Power BI Embedded / Python</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Revoke-Token-for-Power-BI-Embedded-Python/m-p/4892923#M64017</link>
      <description>&lt;P&gt;Charles,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have Python visuals working in Power BI Embedded ? For me it works in the Power BI Service but not when embedding. It is in an workspace with an embedded capacity. The error when embedding:&amp;nbsp;&lt;SPAN&gt;Underlying Error: MissingJobResult&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Dec 2025 10:44:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Revoke-Token-for-Power-BI-Embedded-Python/m-p/4892923#M64017</guid>
      <dc:creator>DocHypoport</dc:creator>
      <dc:date>2025-12-04T10:44:40Z</dc:date>
    </item>
  </channel>
</rss>

