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 August 31st. Request your voucher.

Reply
mypbishell
New Member

Power BI Report Server - Authentification with Basic Auth

Hello, 

 

Version : PowerBI Report Server January 2022

 

Can NTLM and Basic Auth coexist ?

 

My organization is using the NTLM authentification.

However, I need to connect to my report also using the Basic Auth.

 

So I followed the following procedure 

 

My config file of my report server look like :

 

 

 

<Authentication>
   <AuthenticationTypes>
      <RSWindowsNTLM />
      <RSWindowsBasic/>
    </AuthenticationTypes>
    <EnableAuthPersistence>true</EnableAuthPersistence>
  <RSWindowsExtendedProtectionLevel>Off</RSWindowsExtendedProtectionLevel>
  <RSWindowsExtendedProtectionScenario>Any</RSWindowsExtendedProtectionScenario>
</Authentication>

 

 

 

I restarted my Report Server and tried to connect to my report url using postman.

 

When I used the NTLM Authentification, it worked (Request had a 200 status response).

But when I used the Basic Authentificationm it didn't worked (Request had a 401 status response) :

 

Similar to 403 Forbidden, but specifically for use when authentication is possible but has failed or not yet been provided. The response must include a WWW-Authenticate header field containing a challenge applicable to the requested resource.
 
This is why I ask if NTLM and Basic Auth can coexist.
 
What am I doing wrong ? 
 

Have a nice day.

 

Thanks by advance.

1 ACCEPTED SOLUTION
v-luwang-msft
Community Support
Community Support

Hi @mypbishell ,

In my opinion ,it should be able to coexist.

And request had a 401 status response,there may be two causes for this error.

  1. The Password Manager Account may not have the correct permissions to access the Reporting Services Server (i.e. Content Creator rights on the SRS Reporting side).
  2. In complex network environments Windows Integrated Security may fail to authorize the user (client) on the Reporting Services Server because the authorization request is transferred through Password Manager server with impersonated credentials. This case is known as a double-hop issue.  A double-hop issue occurs when the SQL Database and the SQL Reporting Services are on two different servers.

and detail soultion ,refer:https://support.oneidentity.com/pt-br/kb/69693/report-server-error-the-request-failed-with-http-stat... 

 

Similar case refer:

https://www.sqlservercentral.com/forums/topic/report-builder-2-0-with-basic-authentication-throws-er... 

https://stackoverflow.com/questions/19247645/the-request-failed-with-http-status-401-unauthorized-in...

 

 

Did I answer your question? Mark my post as a solution!


Best Regards

Lucien

View solution in original post

3 REPLIES 3
v-luwang-msft
Community Support
Community Support

Hi @mypbishell ,

Has your problem been solved, if so, please consider Accept a correct reply as the solution or share your own solution to help others find it.

Best Regards
Lucien

v-luwang-msft
Community Support
Community Support

Hi @mypbishell ,

In my opinion ,it should be able to coexist.

And request had a 401 status response,there may be two causes for this error.

  1. The Password Manager Account may not have the correct permissions to access the Reporting Services Server (i.e. Content Creator rights on the SRS Reporting side).
  2. In complex network environments Windows Integrated Security may fail to authorize the user (client) on the Reporting Services Server because the authorization request is transferred through Password Manager server with impersonated credentials. This case is known as a double-hop issue.  A double-hop issue occurs when the SQL Database and the SQL Reporting Services are on two different servers.

and detail soultion ,refer:https://support.oneidentity.com/pt-br/kb/69693/report-server-error-the-request-failed-with-http-stat... 

 

Similar case refer:

https://www.sqlservercentral.com/forums/topic/report-builder-2-0-with-basic-authentication-throws-er... 

https://stackoverflow.com/questions/19247645/the-request-failed-with-http-status-401-unauthorized-in...

 

 

Did I answer your question? Mark my post as a solution!


Best Regards

Lucien

d_gosbell
Super User
Super User

The documentation does state that NTLM and Basic should be able to coexist.

 

What sort of authentication is your report data source using? It does state in the documentation for Basic auth https://docs.microsoft.com/en-us/sql/reporting-services/security/configure-basic-authentication-on-t... that the "Windows Integrated" option will not work (this is the "As the user viewing the report" option in the data source settings)

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.