<?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 https://api.powerbi.com/v1.0/myorg/dashboards return 403 forbidden in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/https-api-powerbi-com-v1-0-myorg-dashboards-return-403-forbidden/m-p/858584#M21572</link>
    <description>&lt;DIV class="votecell post-layout--left"&gt;&lt;DIV class="js-voting-container grid fd-column ai-stretch gs4 fc-black-200"&gt;&lt;DIV class="js-vote-count grid--cell fc-black-500 fs-title grid fd-column ai-center"&gt;&lt;SPAN&gt;I have created an app through app-registrations (tried both Nativ/web app).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="js-vote-count grid--cell fc-black-500 fs-title grid fd-column ai-center"&gt;&lt;SPAN&gt;I am using&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-client-creds-grant-flow" target="_self"&gt;v2-oauth2-client-creds-grant-flow&lt;/A&gt;&amp;nbsp;to get the access-token for the app that I have created.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="js-vote-count grid--cell fc-black-500 fs-title grid fd-column ai-center"&gt;&lt;SPAN&gt;I am able to get a valid token, but when I am trying invoke the API call to get the &lt;STRONG&gt;List of Dashboards &lt;/STRONG&gt;postman is returning&amp;nbsp;HTTP Error 403: Forbidden.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="js-vote-count grid--cell fc-black-500 fs-title grid fd-column ai-center"&gt;&lt;SPAN&gt;In Azure AD, I enabled the delegated permissions and application permissions as shown below also performed the grant-consent through admin.&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="js-vote-count grid--cell fc-black-500 fs-title grid fd-column ai-center"&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="js-vote-count grid--cell fc-black-500 fs-title grid fd-column ai-center"&gt;But when I am referring to the API&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/dashboards/getdashboards" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/dashboards/getdashboards,&lt;/A&gt; where in we will get the &lt;STRONG&gt;try-it&lt;/STRONG&gt; option and there it is asking for my credentials and using that access-token I am able to get the list of dashboards working without any issues.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="postcell post-layout--right"&gt;&lt;DIV class="post-text"&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's what I've validated/tried:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The AD User we've created the app under is not the global admin as recommended.&lt;/LI&gt;&lt;LI&gt;The user is a power bi pro user (trial).&lt;/LI&gt;&lt;LI&gt;The required permissions (Windows Azure Active Directory/Power BI Service) have been granted (we've checked off all to ensure we're not missing anything).&lt;/LI&gt;&lt;LI&gt;We've validated/confirmed the client ID, secret key and group id many times.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 27 Nov 2019 14:33:07 GMT</pubDate>
    <dc:creator>Patan</dc:creator>
    <dc:date>2019-11-27T14:33:07Z</dc:date>
    <item>
      <title>https://api.powerbi.com/v1.0/myorg/dashboards return 403 forbidden</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/https-api-powerbi-com-v1-0-myorg-dashboards-return-403-forbidden/m-p/858584#M21572</link>
      <description>&lt;DIV class="votecell post-layout--left"&gt;&lt;DIV class="js-voting-container grid fd-column ai-stretch gs4 fc-black-200"&gt;&lt;DIV class="js-vote-count grid--cell fc-black-500 fs-title grid fd-column ai-center"&gt;&lt;SPAN&gt;I have created an app through app-registrations (tried both Nativ/web app).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="js-vote-count grid--cell fc-black-500 fs-title grid fd-column ai-center"&gt;&lt;SPAN&gt;I am using&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-client-creds-grant-flow" target="_self"&gt;v2-oauth2-client-creds-grant-flow&lt;/A&gt;&amp;nbsp;to get the access-token for the app that I have created.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="js-vote-count grid--cell fc-black-500 fs-title grid fd-column ai-center"&gt;&lt;SPAN&gt;I am able to get a valid token, but when I am trying invoke the API call to get the &lt;STRONG&gt;List of Dashboards &lt;/STRONG&gt;postman is returning&amp;nbsp;HTTP Error 403: Forbidden.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="js-vote-count grid--cell fc-black-500 fs-title grid fd-column ai-center"&gt;&lt;SPAN&gt;In Azure AD, I enabled the delegated permissions and application permissions as shown below also performed the grant-consent through admin.&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="js-vote-count grid--cell fc-black-500 fs-title grid fd-column ai-center"&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="js-vote-count grid--cell fc-black-500 fs-title grid fd-column ai-center"&gt;But when I am referring to the API&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/dashboards/getdashboards" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/dashboards/getdashboards,&lt;/A&gt; where in we will get the &lt;STRONG&gt;try-it&lt;/STRONG&gt; option and there it is asking for my credentials and using that access-token I am able to get the list of dashboards working without any issues.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="postcell post-layout--right"&gt;&lt;DIV class="post-text"&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's what I've validated/tried:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The AD User we've created the app under is not the global admin as recommended.&lt;/LI&gt;&lt;LI&gt;The user is a power bi pro user (trial).&lt;/LI&gt;&lt;LI&gt;The required permissions (Windows Azure Active Directory/Power BI Service) have been granted (we've checked off all to ensure we're not missing anything).&lt;/LI&gt;&lt;LI&gt;We've validated/confirmed the client ID, secret key and group id many times.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 27 Nov 2019 14:33:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/https-api-powerbi-com-v1-0-myorg-dashboards-return-403-forbidden/m-p/858584#M21572</guid>
      <dc:creator>Patan</dc:creator>
      <dc:date>2019-11-27T14:33:07Z</dc:date>
    </item>
  </channel>
</rss>

