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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
fabio78
Frequent Visitor

Power BI Report Server with custom authentication (2025)

Hi everyone, I'm new and I'm trying to configure Power BI Report Server with custom authentication. I installed a standard Windows Server 2025, SQL Server 2025, and the Power BI Report Server evaluation version. I wanted to know how to configure custom authentication via a web form login page. Is there a guide available? I'm not very experienced, so I'd need the steps. Another question: does the new version of Power BI Report Server support custom authentication?

Thank you in advance.

Regards

2 ACCEPTED SOLUTIONS
dpeyras
Advocate I
Advocate I
Zanqueta
Super User
Super User

Hi @fabio78, the architecture remains the same as previous versions. You can implement custom authentication by creating a Security Extension using .NET and registering it in the Report Server configuration. There is no native web form login feature, so you must build it yourself.


Steps to Configure Custom Authentication

Here’s the high-level process:

1. Develop a Custom Security Extension

  • Create a .NET class library implementing the following interfaces:
    • IAuthenticationExtension
    • IAuthorizationExtension
  • These handle:
    • Authentication: Validate user credentials from your web form.
    • Authorization: Define roles and permissions.

2. Deploy the Extension

  • Copy your compiled DLL to:
    C:\Program Files\Microsoft Power BI Report Server\PBIRS\ReportServer\bin
  • Update rsreportserver.config:
    • Add your custom extension under <Authentication> and <Security> sections.
  • Update rssrvpolicy.config to grant permissions to your assembly.

3. Configure the Login Page

  • Create a custom ASP.NET page for login.
  • On successful login, issue an authentication cookie or token that your extension validates.
  • Redirect users to the Report Server portal.

4. Restart Services

  • Restart the Power BI Report Server service after changes.

Important Considerations

  • No official support for forms authentication out-of-the-box; everything is custom.
  • Ensure HTTPS is enabled for security.
  • Test thoroughly because custom extensions bypass standard Windows security.
  • Keep in mind that Power BI Report Server does not support Azure AD authentication—only custom or Windows.

References:

Extensions security for Azure Arc-enabled servers - Azure Arc | Microsoft Learn

Security extensions overview - SQL Server Reporting Services (SSRS) | Microsoft Learn

 

If this response was helpful in any way, I’d gladly accept a 👍much like the joy of seeing a DAX measure work first time without needing another FILTER.

Please mark it as the correct solution. It helps other community members find their way faster (and saves them from another endless loop 🌀.

If this response was helpful in any way, I’d gladly accept a kudo.
Please mark it as the correct solution. It helps other community members find their way faster.
Connect with me on LinkedIn

View solution in original post

2 REPLIES 2
Zanqueta
Super User
Super User

Hi @fabio78, the architecture remains the same as previous versions. You can implement custom authentication by creating a Security Extension using .NET and registering it in the Report Server configuration. There is no native web form login feature, so you must build it yourself.


Steps to Configure Custom Authentication

Here’s the high-level process:

1. Develop a Custom Security Extension

  • Create a .NET class library implementing the following interfaces:
    • IAuthenticationExtension
    • IAuthorizationExtension
  • These handle:
    • Authentication: Validate user credentials from your web form.
    • Authorization: Define roles and permissions.

2. Deploy the Extension

  • Copy your compiled DLL to:
    C:\Program Files\Microsoft Power BI Report Server\PBIRS\ReportServer\bin
  • Update rsreportserver.config:
    • Add your custom extension under <Authentication> and <Security> sections.
  • Update rssrvpolicy.config to grant permissions to your assembly.

3. Configure the Login Page

  • Create a custom ASP.NET page for login.
  • On successful login, issue an authentication cookie or token that your extension validates.
  • Redirect users to the Report Server portal.

4. Restart Services

  • Restart the Power BI Report Server service after changes.

Important Considerations

  • No official support for forms authentication out-of-the-box; everything is custom.
  • Ensure HTTPS is enabled for security.
  • Test thoroughly because custom extensions bypass standard Windows security.
  • Keep in mind that Power BI Report Server does not support Azure AD authentication—only custom or Windows.

References:

Extensions security for Azure Arc-enabled servers - Azure Arc | Microsoft Learn

Security extensions overview - SQL Server Reporting Services (SSRS) | Microsoft Learn

 

If this response was helpful in any way, I’d gladly accept a 👍much like the joy of seeing a DAX measure work first time without needing another FILTER.

Please mark it as the correct solution. It helps other community members find their way faster (and saves them from another endless loop 🌀.

If this response was helpful in any way, I’d gladly accept a kudo.
Please mark it as the correct solution. It helps other community members find their way faster.
Connect with me on LinkedIn

dpeyras
Advocate I
Advocate I

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

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.