Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
teros
Helper I
Helper I

REST API access to PBIRS with CustomSecuritySample authentication

From an on-premise report server, we're embedding Power BI reports in our forms-authenticated application. We've modified the CustomSecuritySample to handle the authentication, and so far, it's working pretty well, though updating PBIRS is a little worrisome each time, as all of the various config files need to be re-modified and tested.

 

I'd also like to be able to automate some of the SSRS maintenance tasks associated with these reports, such as creating new folders and loading reports into them, deploying report updates throughout the folder tree, managing security, and the like.  I'd kind of like to accomplish this through a C# console app. 

 

Is there any way to access the report server using the REST API without the forms-based authentication? Can we have both flavors of authentication (NT Auth and Forms) into the same Power BI Report Server instance?

 

-- Tony

1 REPLY 1
Jon-Heide
Microsoft Employee
Microsoft Employee

The server can only be in one mode at a time (e.g. everything windows auth, or everything custom auth). One trick you could try... setup two pbirs server joined to the same scale-out farm. setup one server with windows, the other with custom auth. 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.