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 nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. 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?
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 1 |