This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
i was trying to access one of the dataset pubhlished in workspace through power bi rest api where i have admin privileges.The error recieved is "403".
Below mentioned is the code used to excute the query.
Solved! Go to Solution.
You’re getting 403 because you’re using an embed token — that only works for embedding, not for REST API queries.
Fix: Use an Azure AD access token (via MSAL) with scope
https://analysis.windows.net/powerbi/api/.default
Then call executeQueries directly with that token.
Remove the GenerateToken step.
You’re getting 403 because you’re using an embed token — that only works for embedding, not for REST API queries.
Fix: Use an Azure AD access token (via MSAL) with scope
https://analysis.windows.net/powerbi/api/.default
Then call executeQueries directly with that token.
Remove the GenerateToken step.
Hi @Arya_A_R
I would highly recommend using Semantic Link Labs which will make it a lot easier to get your daxquery results. Here is a link where you can start. Code Examples · microsoft/semantic-link-labs Wiki
And here is the command to run the DAX query: sempy_labs package — semantic-link-labs 0.11.3 documentation
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 11 | |
| 8 | |
| 8 | |
| 7 | |
| 7 |
| User | Count |
|---|---|
| 50 | |
| 27 | |
| 24 | |
| 23 | |
| 22 |