<?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: Parsing WS-Trust Power BI embedded in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/396672#M11808</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/41885"&gt;@Juramirez&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you ever get this resolved?&amp;nbsp; I'm facing exact same issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only way I've gotten the embedding to "work" is to use an older version of the "Microsoft.IdentityModel.Clients.ActiveDirectory" NuGet package - one WITHOUT the&amp;nbsp;AcquireTokenAsync() call, it just has AcquireToken().&amp;nbsp; But this brings up the credentials prompt.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 15 Apr 2018 17:31:31 GMT</pubDate>
    <dc:creator>orygreg</dc:creator>
    <dc:date>2018-04-15T17:31:31Z</dc:date>
    <item>
      <title>Parsing WS-Trust Power BI embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/359252#M10688</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having a problem when embedding a report, the following excepction appears:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;parsing_wstrust_response_failed: Parsing WS-Trust response failed&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What could it be?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;J.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 00:47:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/359252#M10688</guid>
      <dc:creator>Juramirez</dc:creator>
      <dc:date>2018-02-16T00:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing WS-Trust Power BI embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/360409#M10734</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/41885"&gt;@Juramirez&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you do some debugging&amp;nbsp;on your application to find out which code you're using is throwing this error, and post the code here? So that we can better assist on this issue.&amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.fabric.microsoft.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2018 08:38:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/360409#M10734</guid>
      <dc:creator>v-ljerr-msft</dc:creator>
      <dc:date>2018-02-19T08:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing WS-Trust Power BI embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/360905#M10758</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/11689"&gt;@v-ljerr-msft&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for reply. This is the code that is giving me the exception:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;var authenticationResult = await authenticationContext.AcquireTokenAsync("https://analysis.windows.net/powerbi/api", "CLIENT ID FROM AZURE", credential);&lt;/PRE&gt;&lt;P&gt;It works inside a &lt;STRONG&gt;development server&lt;/STRONG&gt; but&amp;nbsp;in a &lt;STRONG&gt;production server&lt;/STRONG&gt;&amp;nbsp;it marks the exception. How can I solve it? Why is it happening?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;JR&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2018 22:44:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/360905#M10758</guid>
      <dc:creator>Juramirez</dc:creator>
      <dc:date>2018-02-19T22:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing WS-Trust Power BI embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/368889#M11003</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/11689"&gt;@v-ljerr-msft&lt;/a&gt;. Any update about this? Still facing this problem :S&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;J.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2018 17:42:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/368889#M11003</guid>
      <dc:creator>Juramirez</dc:creator>
      <dc:date>2018-03-02T17:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing WS-Trust Power BI embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/396672#M11808</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/41885"&gt;@Juramirez&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you ever get this resolved?&amp;nbsp; I'm facing exact same issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only way I've gotten the embedding to "work" is to use an older version of the "Microsoft.IdentityModel.Clients.ActiveDirectory" NuGet package - one WITHOUT the&amp;nbsp;AcquireTokenAsync() call, it just has AcquireToken().&amp;nbsp; But this brings up the credentials prompt.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Apr 2018 17:31:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/396672#M11808</guid>
      <dc:creator>orygreg</dc:creator>
      <dc:date>2018-04-15T17:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing WS-Trust Power BI embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/396673#M11809</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/41885"&gt;@Juramirez&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you found a solution to this yet?&amp;nbsp; I'm facing the same exact issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only way I could get the embedding to "work" was use an older version of "Microsoft.IdentityModel.Clients.ActiveDirectory", which uses&amp;nbsp;AcquireToken() instead of&amp;nbsp;AcquireTokenAsync() - but the user is prompted for credentials since they can't be passed (or, I have figured out how to pass them).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Apr 2018 17:36:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/396673#M11809</guid>
      <dc:creator>orygreg</dc:creator>
      <dc:date>2018-04-15T17:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing WS-Trust Power BI embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/397381#M11840</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/41885"&gt;@Juramirez&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you ever get this working?&amp;nbsp; I have similar problem - except my error&amp;nbsp;on the "AcquireTokenAsync" call is: "Microsoft.IdentityModel.Clients.ActiveDirectory.AdalException: parsing_wstrust_response_failed: Parsing WS-Trust response failed".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can make it work, sort of, if:&amp;nbsp; 1) I revert to a much older install of "&lt;SPAN&gt;Microsoft.IdentityModel.Clients.ActiveDirectory&lt;/SPAN&gt;" (one WITHOUT the Async method), and 2) I use&amp;nbsp;&lt;SPAN&gt;AcquireToken (not&amp;nbsp;AcquireTokenAsync).&amp;nbsp; Of course, then I get prompted for credentials.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Greg&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 18:00:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/397381#M11840</guid>
      <dc:creator>orygreg</dc:creator>
      <dc:date>2018-04-16T18:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing WS-Trust Power BI embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/460539#M14176</link>
      <description>&lt;P&gt;Any update on this please? Sitting with the same problem...&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jul 2018 06:20:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/460539#M14176</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-12T06:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing WS-Trust Power BI embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/468142#M14382</link>
      <description>&lt;P&gt;Hello, we are facing the same issue. Any update?&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jul 2018 00:12:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/468142#M14382</guid>
      <dc:creator>annafsh</dc:creator>
      <dc:date>2018-07-21T00:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing WS-Trust Power BI embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/468143#M14383</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello, we are facing the same issue. Any update?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jul 2018 00:16:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/468143#M14383</guid>
      <dc:creator>annafsh</dc:creator>
      <dc:date>2018-07-21T00:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing WS-Trust Power BI embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/469165#M14403</link>
      <description>&lt;P&gt;DId an nslookup on analysis.windows.net.... No answer. Strange, this is...&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jul 2018 08:48:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/469165#M14403</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-23T08:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing WS-Trust Power BI embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/473210#M14524</link>
      <description>&lt;P&gt;&lt;SPAN&gt;In our case, ADFS was blocked for passive authentication requests from outside the network.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Try to enable ADAL logging to check where the error comes from.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2018 22:15:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/473210#M14524</guid>
      <dc:creator>annafsh</dc:creator>
      <dc:date>2018-07-26T22:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing WS-Trust Power BI embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/474814#M14571</link>
      <description>&lt;P&gt;Seems you're right. Busy troubleshooting with MS and it seems to be related to ADFS. They also suggested direct authentication. More updates to follow...&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 06:26:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/474814#M14571</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-30T06:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing WS-Trust Power BI embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/476430#M14614</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;, Can you please update how this issue is being addressed? applying HRD policy is not an option our security guys are entertaining.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jul 2018 12:17:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/476430#M14614</guid>
      <dc:creator>dudess</dc:creator>
      <dc:date>2018-07-31T12:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing WS-Trust Power BI embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/476442#M14617</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The sample&amp;nbsp;I'm using is using Resource owner password credentials flow&amp;nbsp;for authentication. With this authentication flow, my application just sends the username and password to Azure AD. However, Azure AD using WS-Trust with ADFS to send username or password. However the ROPC has some limitations and it may not work for this federated user accounts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Microsoft suggests&amp;nbsp;this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can try to use &lt;A href="https://docs.microsoft.com/en-us/azure/active-directory/manage-apps/configure-authentication-for-federated-users-portal#enable-direct-authentication-for-legacy-applications" target="_blank"&gt;Direct Authentication&lt;/A&gt; for federated user accounts if you cannot use WS-trust.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Azure AD has turned off the ability (by default) for customers to utilize the legacy-based authentication method of &lt;A href="https://docs.microsoft.com/en-us/azure/active-directory/manage-apps/configure-authentication-for-federated-users-portal#enable-direct-authentication-for-legacy-applications" target="_blank"&gt;Direct Authentication&lt;/A&gt; for federated user accounts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Direct Authentication for federated user accounts is the means of utilizing an Azure AD stored Password Hash to authenticate a federated user directly with Azure AD and retrieving a token from us &lt;STRONG&gt;without being sent to the Identity Provider for the account&lt;/STRONG&gt;. As you probably have noticed, this ‘feature’ isn’t the best from a security perspective.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is a way to turn this back on for the customer but we recommend you only do so on a per-app basis since the nature of this change will open the customer up to legacy authentication mechanisms for their entire tenant. The script supplied to customers who have one (1) application to turn this on with is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Enable both of &lt;A href="https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnectsync-implement-password-hash-synchronization" target="_blank"&gt;Password hash synchronization&lt;/A&gt; and&amp;nbsp; Federation with ADFS in Azure AD Connect sync.&lt;/LI&gt;&lt;/OL&gt;&lt;OL&gt;&lt;LI&gt;Install the &lt;A href="https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fazure%2Factive-directory%2Finstall-adv2%3Fview%3Dazureadps-2.0&amp;amp;data=02%7C01%7CColin.Powell%40microsoft.com%7Ccf82dc432fd640ba5a1108d5d57944d6%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636649639186722263&amp;amp;sdata=JV5vCDvnwQBqHbCyOJHqDKN0lvlO7VID37xETNnf1%2BM%3D&amp;amp;reserved=0" target="_blank"&gt;Azure AD Preview PowerShell Module&lt;/A&gt;.&lt;/LI&gt;&lt;/OL&gt;&lt;OL&gt;&lt;LI&gt;Run the following line-by-line (making sure the variable $sp doesn’t have more than 1 application as a result)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Connect-AzureAD&lt;/P&gt;&lt;P&gt;$sp = Get-AzureADServicePrincipal -SearchString "Name_Of_Application"&lt;/P&gt;&lt;P&gt;$policy = New-AzureADPolicy -Definition @("{`"HomeRealmDiscoveryPolicy`":{`"AllowCloudPasswordValidation`":true}}") -DisplayName EnableDirectAuth -Type HomeRealmDiscoveryPolicy -IsOrganizationDefault $false&lt;/P&gt;&lt;P&gt;Add-AzureADServicePrincipalPolicy -Id $sp.ObjectId -RefObjectId $policy.Id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HTH!&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jul 2018 12:22:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Parsing-WS-Trust-Power-BI-embedded/m-p/476442#M14617</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-31T12:22:29Z</dc:date>
    </item>
  </channel>
</rss>

