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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.