Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi,
I'm developing a mobile app (Xamarin iOS and Android) with a read-only access to PowerBI reports. I'm facing a strange issue with PowerBI REST API. Every new user, who has never logged in PowerBI before, can't get any reports from the REST API until he opens a MS PowerBI mobile app.
Use case:
The last report of this issue was even less user-friendly. PowerBI REST API returned only reports, that have been opened in the MS PowerBI app by the user.
This issue has been reported by all testers. It's hard to replicate, because since the user opens PowerBI app, this issue never happens again. Unfortunately, most of our users in production will be new PowerBI users, so I need to find a solution bfore going to production.
Is there some step I'm missing? Some permission check, subscription or account activation?
Best regards,
Petr Hoffman
Solved! Go to Solution.
Finally I have an explanation for this issue. Microsoft premium support confirmed it's expected behavior of the REST API:
REST API returns only directly shared reports with the current user and reports from installed PowerBI applications.
All the missing reports were from PowerBI applications that were not insatlled on the user account. PowerBI app installation is almost hidden feature, because all PowerBI clients from Microsoft install Power BI applications automatically when user opens a report. Unfortunately, there is no public API to install Power BI appliction. So this issue has no solution for third party apps. Workaround is only to navigate user to any Microsfot PowerBI client and install PowerBI applications by opening reports or instal them manually from marketplace.
Finally I have an explanation for this issue. Microsoft premium support confirmed it's expected behavior of the REST API:
REST API returns only directly shared reports with the current user and reports from installed PowerBI applications.
All the missing reports were from PowerBI applications that were not insatlled on the user account. PowerBI app installation is almost hidden feature, because all PowerBI clients from Microsoft install Power BI applications automatically when user opens a report. Unfortunately, there is no public API to install Power BI appliction. So this issue has no solution for third party apps. Workaround is only to navigate user to any Microsfot PowerBI client and install PowerBI applications by opening reports or instal them manually from marketplace.
Hi @Anonymous ,
I believe you should call refresh user permissions API for new users who've never logged in to Power BI. Please note:
1. It's best to wait a few seconds after calling the API to make sure the user's permissions were propogated successfully
2. For each user you can call the API once per hour. There's no need to call more then once per user, but if you do call more than once in an hour you might get 429 error response.
Hi @AmosHersch ,
Can you please confirm this this issue still exists or it is fixed ? and if it is fixed, what are the steps to resolve the issue ?
Regards,
Himal
Hi @AmosHersch ,
thank you for your advice. It took me some time to find another tester who hasn't used PowerBI before. Unfortunately, calling refresh user permissions didn't help.
Here's what happened:
This was exactly the behavior reported by the previous tester, before implementing user permission refresh.
By the way - is there a way how to "reset" user account to behave just like a first-time user? It's not possible for us to set-up temp accounts just for testing and I'm running out of a possible testers.
Best regards,
Petr Hoffman
Hi Petr,
This is the same exact issue I'm facing as well. Have you found any other way around ?
Regarding the "reset" user account, I used new workspace instead of creating the new user. Unless user explictly open the new workspace, API doesn't return the report associated with that workspace.
Regards,
Himal
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
3 | |
3 | |
3 | |
2 | |
2 |