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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.