Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
We've implemented an updated version of the CustomSecuritySample to handle authentication for our on-premises Power BI Report Server.
I'd like to be able to automate some management tasks, including publishing an updated PBIX file to multiple folders and updating their data sources, but I can't seem to get past authentication with the REST API in C#.
Has anyone else done this? Are there code samples available?
Depending on which auth have you implemented. You'll need to set proper auth headers to inform the server for auth handshake. https://docs.microsoft.com/en-us/sql/reporting-services/security/authentication-with-the-report-serv...
As I mentioned in the base note, I'm using the Custom Security Sample, which implements forms authentication. Does the REST API support this?
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 4 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |