<?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: Power BI REST API in GovCloud - Generate Access Token in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-in-GovCloud-Generate-Access-Token/m-p/953310#M22537</link>
    <description>&lt;P&gt;Answering my own questions. Using Grant Type: Password seems to be disabled in GovCloud, so I reverted to using Grant Type: Client Credentials. After some more reading, I realized I missed the last step in configuring a service principal. Adding the App Registration to the list of Admins for the Power BI Workspace.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Feb 2020 17:59:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-02-28T17:59:07Z</dc:date>
    <item>
      <title>Power BI REST API in GovCloud - Generate Access Token</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-in-GovCloud-Generate-Access-Token/m-p/953120#M22531</link>
      <description>&lt;P&gt;I'm trying to generate an access token for the PowerBI REST API in Gov Cloud.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to successfully procure a token for the resource &lt;A href="https://analysis.windows.net/powerbi/api" target="_blank" rel="noopener"&gt;https://analysis.windows.net/powerbi/api&lt;/A&gt; using the grant type Password, but when following the same steps in GovCloud&amp;nbsp;(&lt;A href="https://analysis.usgovcloudapi.net/powerbi/api" target="_blank" rel="noopener"&gt;https://analysis.usgovcloudapi.net/powerbi/api&lt;/A&gt;) I get an error: "AADSTS50126:&amp;nbsp;Error&amp;nbsp;validating&amp;nbsp;credentials&amp;nbsp;due&amp;nbsp;to&amp;nbsp;invalid&amp;nbsp;username&amp;nbsp;or&amp;nbsp;password."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/42364"&gt;@insoldev&lt;/a&gt; has a post with an example of how I'm interacting with the auth API: &lt;A href="https://community.powerbi.com/t5/Developer/Power-BI-REST-API-using-postman-generate-embed-token/m-p/310054/highlight/true#M9154" target="_blank" rel="noopener"&gt;https://community.powerbi.com/t5/Developer/Power-BI-REST-API-using-postman-generate-embed-token/m-p/310054/highlight/true#M9154&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there limitations I'm not aware of in the National Clouds?&lt;/P&gt;&lt;P&gt;Or is there a configuration I should double-check?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any guidance will be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vango&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2020 15:50:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-in-GovCloud-Generate-Access-Token/m-p/953120#M22531</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-28T15:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI REST API in GovCloud - Generate Access Token</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-in-GovCloud-Generate-Access-Token/m-p/953310#M22537</link>
      <description>&lt;P&gt;Answering my own questions. Using Grant Type: Password seems to be disabled in GovCloud, so I reverted to using Grant Type: Client Credentials. After some more reading, I realized I missed the last step in configuring a service principal. Adding the App Registration to the list of Admins for the Power BI Workspace.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2020 17:59:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-in-GovCloud-Generate-Access-Token/m-p/953310#M22537</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-28T17:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI REST API in GovCloud - Generate Access Token</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-in-GovCloud-Generate-Access-Token/m-p/1304412#M25319</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;&amp;nbsp;do you maybe have resources on how to work with the API's and a government tenant?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm building some automation that I also want to connect to government tenants but do not have one to test with.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Aug 2020 14:27:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-in-GovCloud-Generate-Access-Token/m-p/1304412#M25319</guid>
      <dc:creator>MaikvanderGaag</dc:creator>
      <dc:date>2020-08-18T14:27:12Z</dc:date>
    </item>
  </channel>
</rss>

