<?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 Unable to authenticate when MFA is enabled. in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Unable-to-authenticate-when-MFA-is-enabled/m-p/2936011#M27800</link>
    <description>&lt;P&gt;I hit the endpoint&amp;nbsp;&lt;A href="https://login.microsoftonline.com/common/oauth2/token" target="_blank"&gt;https://login.microsoftonline.com/common/oauth2/token&lt;/A&gt;&amp;nbsp;with username, and password, and it return token to me.&lt;/P&gt;&lt;P&gt;Then I used that to show the reports in my webpage.&lt;BR /&gt;&lt;BR /&gt;But when I enable the MFA for that user, then it gives me error response:&amp;nbsp;&lt;EM&gt;"Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access".&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I need to change in my code to run it smoothly. Or There is any other solution for this.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Nov 2022 14:01:52 GMT</pubDate>
    <dc:creator>tpinkertonchetu</dc:creator>
    <dc:date>2022-11-29T14:01:52Z</dc:date>
    <item>
      <title>Unable to authenticate when MFA is enabled.</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Unable-to-authenticate-when-MFA-is-enabled/m-p/2936011#M27800</link>
      <description>&lt;P&gt;I hit the endpoint&amp;nbsp;&lt;A href="https://login.microsoftonline.com/common/oauth2/token" target="_blank"&gt;https://login.microsoftonline.com/common/oauth2/token&lt;/A&gt;&amp;nbsp;with username, and password, and it return token to me.&lt;/P&gt;&lt;P&gt;Then I used that to show the reports in my webpage.&lt;BR /&gt;&lt;BR /&gt;But when I enable the MFA for that user, then it gives me error response:&amp;nbsp;&lt;EM&gt;"Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access".&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I need to change in my code to run it smoothly. Or There is any other solution for this.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 14:01:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Unable-to-authenticate-when-MFA-is-enabled/m-p/2936011#M27800</guid>
      <dc:creator>tpinkertonchetu</dc:creator>
      <dc:date>2022-11-29T14:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to authenticate when MFA is enabled.</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Unable-to-authenticate-when-MFA-is-enabled/m-p/2940409#M27826</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="478902" data-lia-user-login="tpinkertonchetu" class="lia-mention lia-mention-user"&gt;tpinkertonchetu&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;What I need to change in my code to run it smoothly. Or There is any other solution for this.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You cannot fix this in your code. If the account is enabled for MFA then it cannot generate a token without someone responding to the MFA challenge. You probably need to get an exception from MFA for this account or look using the Power BI Embedded functionality&amp;nbsp;&lt;A href="https://powerbi.microsoft.com/en-us/power-bi-embedded/" target="_blank"&gt;Power BI in Your Apps | Microsoft Power BI&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 00:43:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Unable-to-authenticate-when-MFA-is-enabled/m-p/2940409#M27826</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2022-12-01T00:43:23Z</dc:date>
    </item>
  </channel>
</rss>

