<?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: Embedded tool authentication error in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Embedded-tool-authentication-error/m-p/850143#M21469</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 200px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/210033i9727239EA8533D0D/image-size/small?v=v2&amp;amp;px=200" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it the 'Grant admin conset for Allvotec' that I need to select in this screen shot?&amp;nbsp; I guess that means I need my permissions upped to global admin?&amp;nbsp; Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Tue, 19 Nov 2019 10:13:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-11-19T10:13:09Z</dc:date>
    <item>
      <title>Embedded tool authentication error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embedded-tool-authentication-error/m-p/850007#M21459</link>
      <description>&lt;P&gt;I'm using the Power BI onboarding Embed tool (&lt;A href="https://app.powerbi.com/embedsetup/appownsdata" target="_blank" rel="noopener"&gt;https://app.powerbi.com/embedsetup/appownsdata&lt;/A&gt;) and the sample code.&amp;nbsp; When I try to access the Power BI report I get the message below (Unauthorized 401).&amp;nbsp; The user credentials used in the code is an Admin of the Workspace.&amp;nbsp; I have removed mutli-factor authentifcation from the user.&amp;nbsp; Any ideas how to resolve this? Thank you.&lt;/P&gt;&lt;H2&gt;Error&lt;/H2&gt;&lt;PRE&gt;            Status: Unauthorized (401)
Response: 
RequestId: 7ba996d8-5b40-4103-9676-c150d5e8e959
        &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 08:47:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embedded-tool-authentication-error/m-p/850007#M21459</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-19T08:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Embedded tool authentication error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embedded-tool-authentication-error/m-p/850054#M21460</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please cross check the task to perform from&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/register-app#register-with-the-power-bi-application-registration-tool" target="_blank"&gt;https://docs.microsoft.com/en-us/power-bi/developer/register-app#register-with-the-power-bi-application-registration-tool&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See some similar solutions&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/49491759/unauthorized-error-401-for-power-reports-embedding" target="_blank"&gt;https://stackoverflow.com/questions/49491759/unauthorized-error-401-for-power-reports-embedding&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See this troubleshotting guide&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded-troubleshoot#api-call-returning-401" target="_blank"&gt;https://docs.microsoft.com/en-us/power-bi/developer/embedded-troubleshoot#api-call-returning-401&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 09:08:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embedded-tool-authentication-error/m-p/850054#M21460</guid>
      <dc:creator>Jayendran</dc:creator>
      <dc:date>2019-11-19T09:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Embedded tool authentication error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embedded-tool-authentication-error/m-p/850117#M21463</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100012"&gt;@Jayendran&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the suggestions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried registering the app and I get the following message.&amp;nbsp; I have tried adding the parameter client secret under the line for key applicationID.&amp;nbsp; I've tried adding it as key client_secret, clientsecret and applicationSecret but all return the same error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H2&gt;Error&lt;/H2&gt;&lt;PRE&gt;            AADSTS7000218: The request body must contain the following parameter: 'client_assertion' or 'client_secret'.
Trace ID: 56de3d8b-110a-4e47-94b8-bbccf5f18d00
Correlation ID: 65111496-fb4b-4a3a-be60-178baebf5775
Timestamp: 2019-11-19 09:33:07Z&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The App is registered to have access to every Power BI API permission.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 09:54:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embedded-tool-authentication-error/m-p/850117#M21463</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-19T09:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: Embedded tool authentication error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embedded-tool-authentication-error/m-p/850127#M21464</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ah you don't need a client secret since this is a Native app.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see my answer below in Stackoverflow to convert your application into native app&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/a/57274706" target="_blank"&gt;https://stackoverflow.com/a/57274706&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 09:59:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embedded-tool-authentication-error/m-p/850127#M21464</guid>
      <dc:creator>Jayendran</dc:creator>
      <dc:date>2019-11-19T09:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Embedded tool authentication error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embedded-tool-authentication-error/m-p/850132#M21465</link>
      <description>&lt;P&gt;I have changed the client type to the setting Treat application as a publice client (Yes) and the follow error shows.&amp;nbsp; Thanks.&lt;/P&gt;&lt;H2&gt;Error&lt;/H2&gt;&lt;PRE&gt;            AADSTS65001: The user or administrator has not consented to use the application with ID 'a3bac064-6935-4003-847f-47bf0f8d9989' named 'Power BI Test 5'. Send an interactive authorization request for this user and resource.
Trace ID: b7704ba0-781b-4b29-a962-0591a6cc7600
Correlation ID: 9a83f383-90ad-42a2-90ab-6d90425c4f7e
Timestamp: 2019-11-19 10:02:25Z
        &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 10:04:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embedded-tool-authentication-error/m-p/850132#M21465</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-19T10:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: Embedded tool authentication error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embedded-tool-authentication-error/m-p/850136#M21466</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are almost in the final stage ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="permissions" style="width: 973px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/210029i599F739164845477/image-size/large?v=v2&amp;amp;px=999" role="button" title="permissions" alt="permissions" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to be a &lt;STRONG&gt;global admin&lt;/STRONG&gt; to provide the consent, you can &lt;STRONG&gt;grant the admin cosnent by the above image&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please don't forget to give kudo's or Thumbup for the replay which you got useful.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 10:08:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embedded-tool-authentication-error/m-p/850136#M21466</guid>
      <dc:creator>Jayendran</dc:creator>
      <dc:date>2019-11-19T10:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Embedded tool authentication error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embedded-tool-authentication-error/m-p/850143#M21469</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 200px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/210033i9727239EA8533D0D/image-size/small?v=v2&amp;amp;px=200" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it the 'Grant admin conset for Allvotec' that I need to select in this screen shot?&amp;nbsp; I guess that means I need my permissions upped to global admin?&amp;nbsp; Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 Nov 2019 10:13:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embedded-tool-authentication-error/m-p/850143#M21469</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-19T10:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Embedded tool authentication error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embedded-tool-authentication-error/m-p/850153#M21470</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes from the screenshot currently you are not the global admin . So you need to add global admin access to your account or you need the help from anyone in your organization who is already having the global admin. can give you the consent.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 10:17:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embedded-tool-authentication-error/m-p/850153#M21470</guid>
      <dc:creator>Jayendran</dc:creator>
      <dc:date>2019-11-19T10:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Embedded tool authentication error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embedded-tool-authentication-error/m-p/859662#M21577</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100012"&gt;@Jayendran&lt;/a&gt;, I finally managed to get an Admin to grant consent. Unfortunately, I'm getting the error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error Status: Unauthorized (401) Response: RequestId: 6336bc11-f5fd-4c25-a490-319ff32748eb&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2019 12:53:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embedded-tool-authentication-error/m-p/859662#M21577</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-28T12:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Embedded tool authentication error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embedded-tool-authentication-error/m-p/859797#M21581</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pls check whether the user account is the Admin of the workspace.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;401 means usually you don't have permission to the workspace.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Possbile solution would be&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Check your user account is the Admin of the workspace&lt;/LI&gt;&lt;LI&gt;Verify that you are passing the workspace id correctly&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 28 Nov 2019 14:56:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embedded-tool-authentication-error/m-p/859797#M21581</guid>
      <dc:creator>Jayendran</dc:creator>
      <dc:date>2019-11-28T14:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Embedded tool authentication error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embedded-tool-authentication-error/m-p/860828#M21599</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100012"&gt;@Jayendran&lt;/a&gt;&amp;nbsp;@, you were right, somehow the workspace id was incorrect! It now works in debugging!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, I get the following error when accessing the deployed app url. I find this confusing as multi-factor authentication has been disabled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error AADSTS50076: 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 '00000009-0000-0000-c000-000000000000'. Trace ID: 15de7ba9-f724-48ff-93da-4edae887d000 Correlation ID: c7084201-99cc-4b61-80c9-ebd9232c7c0a Timestamp: 2019-11-29 14:14:16Z&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 14:18:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embedded-tool-authentication-error/m-p/860828#M21599</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-29T14:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Embedded tool authentication error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embedded-tool-authentication-error/m-p/860832#M21600</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Somehow you have a policy in your Azure Active Directory which doesn't allow a user login without a MFA. Please contact your Azure Active Directory team and check them with this error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Meanwhile I'd recommedn you to use a Service Principal(SPN) Approach rather than master account approach. Beacuse SPN is the best approach going forward.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Reference for SPN:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embed-service-principal" target="_blank"&gt;https://docs.microsoft.com/en-us/power-bi/developer/embed-service-principal&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 14:25:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embedded-tool-authentication-error/m-p/860832#M21600</guid>
      <dc:creator>Jayendran</dc:creator>
      <dc:date>2019-11-29T14:25:11Z</dc:date>
    </item>
  </channel>
</rss>

