Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I'm getting very stuck trying to get an access token in order to embed a PowerBI report.
The report in PowerBI https://app.powerbi.com/groups/me/reports/80106298-cf83-480a-aba4-c679ffac1535
I'm using the PowerBIEmbedded_AppOwnsData sample.
<appSettings> <add key="webpages:Version" value="3.0.0.0" /> <add key="webpages:Enabled" value="false" /> <add key="ClientValidationEnabled" value="true" /> <add key="UnobtrusiveJavaScriptEnabled" value="true" /> <add key="authorityUrl" value="https://login.windows.net/common/oauth2/authorize/" /> <add key="resourceUrl" value="https://analysis.windows.net/powerbi/api" /> <add key="apiUrl" value="https://api.powerbi.com/" /> <add key="embedUrlBase" value="https://app.powerbi.com/" /> <add key="clientId" value="Client ID from registering" /> <add key="groupId" value="1" /> <!-- The id of the report to embed. If empty, will use the first report in group --> <add key="reportId" value="" /> <!-- Note: Do NOT leave your credentials on code. Save them in secure place. --> <add key="pbiUsername" value="My Azure Username" /> <add key="pbiPassword" value="My Azure Password" /> </appSettings>
Should I be replacing the Authority URL with the OAuth 2.0 Authorization Endpoint in my Azure AD's Registered Applications properties? (https://login.microsoftonline.com/{tenancy_id}/oauth2/authorize)
Solved! Go to Solution.
HI @BanksySan,
I think you can refer to below link to know how to get group id list.
If current group means your personal 'myworkspace', it is impossible to get group id from my workspace.
Regards,
Xiaoxin Sheng
HI @BanksySan,
I think you can refer to below link to know how to get group id list.
If current group means your personal 'myworkspace', it is impossible to get group id from my workspace.
Regards,
Xiaoxin Sheng
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
29 | |
28 | |
23 | |
22 | |
19 |
User | Count |
---|---|
53 | |
36 | |
28 | |
24 | |
21 |