Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Guys!
I have registered a Native app on Azure and gave the permissions for Power BI APIs. So I have only client ID for this app, and no client secret.
I tried to get an access token for this app so later I get an embed token for Power BI reports. I am using Python ADAL library, which works for Web Apps but it does not work for my Native app.
Using Postman I tried POST https://login.microsoftonline.com/common/oauth2/token. It works for Web App, but still I cannot get access token for Native app.
Can anyone suggest a way to get access token for Native app via Postman (just api) or Python?
Thanks.
p.s. authetication with password gives the error "error_description":"AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access '00000009-0000-0000-c000-000000000000" , and I do use multi factor authentication.
Hi Shimflex,
Please check if you selected the native app option when you register with the power bi app registration tool. In addtion, use Native app for apps that run on client devices. You will also do choose Native APP if you are embedding content for your customers regardless of what the actual application is. Even for web applications.***
Please refer to Register with the Power BI App Registration Tool and also refer to this smilar case:
https://community.powerbi.com/t5/Developer/How-To-Get-embed-token-using-Get-Post-only/td-p/294475
Regards,
Jimmy Tao
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 8 | |
| 8 | |
| 7 |
| User | Count |
|---|---|
| 32 | |
| 31 | |
| 20 | |
| 19 | |
| 17 |