Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have a some Power BI reports embedded in a ASP.Net Core App. It is using an Azure service principal to authenticate with the Power BI service. I display the report in edit mode, but once I click on Save. I get the following message
If I login to the powerbi.com I can save the report without any problem. I wonder if the issue could be with app permissions on Azure. It has the following permissions
The Read.All is long standing, but the ReadWriteAll is new. "Save As" functionality is working.
Any help/suggestions appreciated.
Thanks,
Bernard
Solved! Go to Solution.
Thank you the thread you refered to did indeed help to solve my problem. The code snippet in the thread is out of date as far as I can tell. The fix for my issue was to pass true for the AllowEdit parameter of the GenerateTokenRequestV2Report() method.
var reports = reportIds.Select(reportId => new GenerateTokenRequestV2Report(reportId, true)).ToList();
Thank you for your help.
Bernard
Hi @BernardWilliam ,
Please refer to the same thread:
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you the thread you refered to did indeed help to solve my problem. The code snippet in the thread is out of date as far as I can tell. The fix for my issue was to pass true for the AllowEdit parameter of the GenerateTokenRequestV2Report() method.
var reports = reportIds.Select(reportId => new GenerateTokenRequestV2Report(reportId, true)).ToList();
Thank you for your help.
Bernard
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
16 | |
2 | |
2 | |
1 | |
1 |
User | Count |
---|---|
21 | |
2 | |
2 | |
2 | |
2 |