rest api
2 TopicsGenerate Power BI API Token Without User Interaction for Scheduled Report Exports
We need to export Power BI reports using the Power BI REST API and send them via email on a scheduled basis in a User Owns Data scenario. The challenge is that obtaining an access token requires user authentication, but we need a way to generate the token automatically without user interaction to support scheduled email delivery. Requirement We are looking for a solution to: Programmatically authenticate and retrieve an access token for Power BI APIs without manual login. Automate report exports and send them via email at scheduled intervals. Ensure compliance with User Owns Data authentication requirements while maintaining security best practices. Has anyone successfully implemented this? What are the best practices to achieve this securely? Any guidance would be greatly appreciated!Solved3.4KViews0likes13CommentsUsing REST API as a data source
I'm trying to connect to a data source that uses REST API and can't seem to get authentication working. In REST, this code works: In PowerBI, I've used the same URL and set the Authorization header with the same parameters and get the following authorization error: What am I doing wrong here?13KViews0likes3Comments