DEV Community

Discussion on: Upload RDL file(s) to Power BI via API

Collapse
 
kenakamu profile image
Kenichiro Nakamura

Interesting... I just run the script again and it simply works in my environment so it could be some setup difference? If you signup for new trial, does it work? Anyway I recommend you to create support ticket to see if support team give some idea.

Collapse
 
mappie profile image
mappie

Actually I don't need a trial, as I am uploading my RLD report for the embed scenario (aka "embedding Power BI content into an application for your customers"). So, the REST API client is authorized through a service principal ID and secret. My code works fine for PBIX files, while it does not for RDL ones. Perhaps there is some issue when the token refers to a service principal, not a user.

Thanks for your feedback!