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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.