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
CamilleS
Frequent Visitor

OData exception occurred: System.Net.WebException:The request failed with HTTP status 401.Unauthoriz

Hello Microsoft Support & community,

After the installation of power bi report server (may 2023 version) the users are getting the error message "An error has occured. Try again later" on scheduling creation or modification on Power BI Report Server portal.

CamilleS_0-1706182204773.png

(users have content manager profile on the directory where the reports are saved; they have also “system user” on security site parameters level)

The error in the log  RSPortal_2024_01_25… ==>

2024-01-25 11:10:45.7026|ERROR|19|OData exception occurred: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.

   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SetConnectionProtocol()

  at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod(Boolean setConnectionProtocol)

  at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SetCacheRefreshPlanProperties(String cachRefreshPlanId, String description[] parameters)

at Microsoft.ReportServices.Portal.Services.SoapProxy.SoapRS2010Proxy.<>c__DisplayClass1_0.<ExecuteWithCorrespondingAuthMechanism>b__0().....

 

When adding a user to the local admin group on the server (BUILTIN\Administrators) creating or modifiying scheduling works as expected. But the point is, we don't want to make every report developer/author server admin.)

Thank you for your help.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @CamilleS ,

When attempting to configure and connect to Report Server, the following error appears: Report Server Error: The request failed with HTTP status 401: Unauthorized.


There may be two causes for this error.

  • 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).
  • 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.

More details: Report Server Error: "The request failed with HTTP status 401: Unauthorized" (4227098) (oneidentity....

The strange case of Data source can’t be created with Reporting Services 2016 in Azure VM | Microsof...

 

I have also found a helpful post, please refer to it to see if it helps you.

reporting services - HTTP Error 401 when trying to view SSRS 2019 subscription - Stack Overflow

 

If it does not help, please provide more details with the error.

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
CamilleS
Frequent Visitor

Hi Community Support Team _ Rongtie,

Thank you for your answers....

Users who are part of Administrators group on the Server Machine don't have the error

while those who have not are still having the error.

In other words a user need absolutly to be  part of Administrators Group on the server machine to stop having thios error :

OData exception occurred: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.

   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SetConnectionProtocol()

  at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod(Boolean setConnectionProtocol)

  at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SetCacheRefreshPlanProperties(String cachRefreshPlanId, String description[] parameters)

 

it is out of question to give admin rights to all users to enable them to create /modifiy Schedules.....

Any idea how to resolve this issue ?

 

Thank you for your help.

BR, Camille.

CamilleS
Frequent Visitor

Hi Community Support Team _ Rongtie,

Thank you for your answers....

Users who are part of Administrators group on the Server Machine don't have the error

while those who have not are still having the error.

In other words a user need absolutly to be  part of Administrators Group on the server machine to stop having thios error :

OData exception occurred: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.

   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SetConnectionProtocol()

  at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod(Boolean setConnectionProtocol)

  at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SetCacheRefreshPlanProperties(String cachRefreshPlanId, String description[] parameters)

 

it is out of question to give admin rights to all users to enable them to create /modifiy Schedules.....

Any idea how to resolve this issue ?

 

Thank you for your help.

BR, Camille.

Anonymous
Not applicable

Hi @CamilleS ,

When attempting to configure and connect to Report Server, the following error appears: Report Server Error: The request failed with HTTP status 401: Unauthorized.


There may be two causes for this error.

  • 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).
  • 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.

More details: Report Server Error: "The request failed with HTTP status 401: Unauthorized" (4227098) (oneidentity....

The strange case of Data source can’t be created with Reporting Services 2016 in Azure VM | Microsof...

 

I have also found a helpful post, please refer to it to see if it helps you.

reporting services - HTTP Error 401 when trying to view SSRS 2019 subscription - Stack Overflow

 

If it does not help, please provide more details with the error.

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Community Support Team _ Rongtie,

Thank you for your answers....but my issue is not resolved 😞

Users who are part of Administrators group on the Server Machine don't have the error

while those who have not are still having the error.

In other words a user need absolutly to be  part of Administrators Group on the server machine to stop having thios error :

OData exception occurred: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.

   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SetConnectionProtocol()

  at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod(Boolean setConnectionProtocol)

  at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SetCacheRefreshPlanProperties(String cachRefreshPlanId, String description[] parameters)

 

it is out of question to give admin rights to all users to enable them to create /modifiy Schedules.....

Any new idea how to resolve this issue ? please don't copy/paste the same answer..

 

Thank you for your help.

BR, Camille.

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.