<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PowerBI Report Server - The request failed with HTTP status 401: Unauthorized in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-Report-Server-The-request-failed-with-HTTP-status-401/m-p/804714#M11652</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I had that one and I don't remember the exact solution order, but you must make sure that follwing is done&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;generate machinekeys and put them in both rsconfig &amp;amp; machine.config. Then restart both nodes&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;SSL -Offloading must be done by the loadbalancer e.g. F5. The windows networt balancer would never work. I tried it and had to switch to F5&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;the&amp;nbsp;&lt;SPAN&gt;BackConnectionHostNames&lt;/SPAN&gt; entries must be existing on both nodes for the servername only, fqdn, ssrs main page&lt;/LI&gt;&lt;LI&gt;activate session persistance on the load balancer&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;You are getting 400 because the loadbalancer directs your request to opposite node from which it has been initiated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR Bobi&lt;/P&gt;</description>
    <pubDate>Fri, 27 Sep 2019 22:32:56 GMT</pubDate>
    <dc:creator>flopi</dc:creator>
    <dc:date>2019-09-27T22:32:56Z</dc:date>
    <item>
      <title>PowerBI Report Server - The request failed with HTTP status 401: Unauthorized</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-Report-Server-The-request-failed-with-HTTP-status-401/m-p/803902#M11635</link>
      <description>&lt;P&gt;I have 2 PowerBI Report Server installed in a scale-out deployment with a network load balancer. I followed the instructions described in&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/sql/reporting-services/report-server/configure-a-report-server-on-a-network-load-balancing-cluster?view=sql-server-2017" target="_blank"&gt;https://docs.microsoft.com/en-us/sql/reporting-services/report-server/configure-a-report-server-on-a-network-load-balancing-cluster?view=sql-server-2017&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In step 3 i configured&amp;nbsp;BackConnectionHostNames, the netbios and fqdn for the loadbalancer.&lt;/P&gt;&lt;P&gt;Also grant local security policies to the service account.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can login in the report portal on the load balancer URL. From PowerBI Desktop for reporting services i can reach the report server on the load balancer URL, but when trying to save or upload a report to the report server i receive the following message:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;In RSPortal.log:&lt;/P&gt;&lt;P&gt;2019-09-27 09:09:08.2137|ERROR|10|The remote server returned an error: (400) Bad Request.| RequestID = s_4c682cad-3eeb-41c2-8932-91d524c62e15&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When trying to create a data source i cannot type a name and after a few seconds a error message appears:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;In RSPortal.log:&lt;/P&gt;&lt;P&gt;2019-09-27 08:55:35.7605|ERROR|33|OData exception occurred: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.&lt;BR /&gt;at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SetConnectionProtocol()&lt;BR /&gt;at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod(Boolean setConnectionProtocol)&lt;BR /&gt;at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.ListExtensions(String extensionType)&lt;BR /&gt;at Microsoft.ReportingServices.Portal.Services.SoapProxy.SoapAuthenticationHelper.ExecuteWithWindowsAuth[TReturn](SoapHttpClientProtocol soapClient, IPrincipal userPrincipal, Func`1 func)&lt;BR /&gt;at Microsoft.ReportingServices.Portal.Repositories.SystemService.GetExtensions(IPrincipal userPrincipal, ExtensionType extensionType)&lt;BR /&gt;at Microsoft.ReportingServices.Portal.Repositories.SystemService.ListExtensions(IPrincipal userPrincipal, ExtensionType extensionType)&lt;BR /&gt;at Microsoft.ReportingServices.Portal.ODataWebApi.V2.Controllers.ExtensionsController.GetEntitySet(String castName)&lt;BR /&gt;at Microsoft.ReportingServices.Portal.ODataWebApi.Controllers.Reflection.ReflectionODataController`1.Get(ODataPath oDataPath)&lt;BR /&gt;at lambda_method(Closure , Object , Object[] )&lt;BR /&gt;at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.&amp;lt;&amp;gt;c__DisplayClass10.&amp;lt;GetExecutor&amp;gt;b__9(Object instance, Object[] methodParameters)&lt;BR /&gt;at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)&lt;BR /&gt;--- End of stack trace from previous location where exception was thrown ---&lt;BR /&gt;at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&lt;BR /&gt;at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;BR /&gt;at System.Web.Http.Controllers.ApiControllerActionInvoker.&amp;lt;InvokeActionAsyncCore&amp;gt;d__0.MoveNext()&lt;BR /&gt;--- End of stack trace from previous location where exception was thrown ---&lt;BR /&gt;at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&lt;BR /&gt;at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;BR /&gt;at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&lt;BR /&gt;--- End of stack trace from previous location where exception was thrown ---&lt;BR /&gt;at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&lt;BR /&gt;at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&lt;BR /&gt;--- End of stack trace from previous location where exception was thrown ---&lt;BR /&gt;at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&lt;BR /&gt;at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;BR /&gt;at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__0.MoveNext()&lt;BR /&gt;--- End of stack trace from previous location where exception was thrown ---&lt;BR /&gt;at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&lt;BR /&gt;at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;BR /&gt;at System.Web.Http.Controllers.ActionFilterResult.&amp;lt;ExecuteAsync&amp;gt;d__2.MoveNext()&lt;BR /&gt;--- End of stack trace from previous location where exception was thrown ---&lt;BR /&gt;at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&lt;BR /&gt;at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;BR /&gt;at System.Web.Http.Controllers.ExceptionFilterResult.&amp;lt;ExecuteAsync&amp;gt;d__0.MoveNext().| RequestID = s_4172f9a5-09ad-4a77-8444-39d8591c710e&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Would be glad if anyone can help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;JE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 07:20:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-Report-Server-The-request-failed-with-HTTP-status-401/m-p/803902#M11635</guid>
      <dc:creator>JulesE</dc:creator>
      <dc:date>2019-09-27T07:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Report Server - The request failed with HTTP status 401: Unauthorized</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-Report-Server-The-request-failed-with-HTTP-status-401/m-p/804714#M11652</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I had that one and I don't remember the exact solution order, but you must make sure that follwing is done&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;generate machinekeys and put them in both rsconfig &amp;amp; machine.config. Then restart both nodes&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;SSL -Offloading must be done by the loadbalancer e.g. F5. The windows networt balancer would never work. I tried it and had to switch to F5&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;the&amp;nbsp;&lt;SPAN&gt;BackConnectionHostNames&lt;/SPAN&gt; entries must be existing on both nodes for the servername only, fqdn, ssrs main page&lt;/LI&gt;&lt;LI&gt;activate session persistance on the load balancer&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;You are getting 400 because the loadbalancer directs your request to opposite node from which it has been initiated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR Bobi&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 22:32:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-Report-Server-The-request-failed-with-HTTP-status-401/m-p/804714#M11652</guid>
      <dc:creator>flopi</dc:creator>
      <dc:date>2019-09-27T22:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Report Server - The request failed with HTTP status 401: Unauthorized</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-Report-Server-The-request-failed-with-HTTP-status-401/m-p/805848#M11669</link>
      <description>&lt;P&gt;FYI: The place where the machine key should be added to machine.config:&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/10337634/adding-machinekey-to-machine-config/10337791" target="_blank"&gt;https://stackoverflow.com/questions/10337634/adding-machinekey-to-machine-config/10337791&lt;/A&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="36744" data-lia-user-login="flopi" class="lia-mention lia-mention-user"&gt;flopi&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I had that one and I don't remember the exact solution order, but you must make sure that follwing is done&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;generate machinekeys and put them in both rsconfig &amp;amp; machine.config. Then restart both nodes&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;SSL -Offloading must be done by the loadbalancer e.g. F5. The windows networt balancer would never work. I tried it and had to switch to F5&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;the&amp;nbsp;&lt;SPAN&gt;BackConnectionHostNames&lt;/SPAN&gt; entries must be existing on both nodes for the servername only, fqdn, ssrs main page&lt;/LI&gt;&lt;LI&gt;activate session persistance on the load balancer&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;You are getting 400 because the loadbalancer directs your request to opposite node from which it has been initiated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR Bobi&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 15:46:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-Report-Server-The-request-failed-with-HTTP-status-401/m-p/805848#M11669</guid>
      <dc:creator>JulesE</dc:creator>
      <dc:date>2019-09-30T15:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Report Server - The request failed with HTTP status 401: Unauthorized</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-Report-Server-The-request-failed-with-HTTP-status-401/m-p/805929#M11670</link>
      <description>&lt;P&gt;I followed your tips (thanks for that!), but still face with the same problems.&lt;/P&gt;&lt;P&gt;I can upload files, but only pbix files are failing.&lt;/P&gt;&lt;P&gt;I have upgraded the report server to the september 2019 release and install powerbi desktop for reporting services, also the september 2019 release, create a simple report, but still cannot upload the report to the report server or save the report to the report server from powerbi desktop.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So when i upload, as example, a .txt file the upload succeed.&lt;/P&gt;&lt;P&gt;When i upload a pbix file (created with powerbi desktop september 2019 release) the portal.log show:&lt;/P&gt;&lt;P&gt;2019-09-30 19:20:56.4850|ERROR|81|The remote server returned an error: (400) Bad Request.| RequestID = s_80a52eb0-89f1-4b6e-87a9-d6b799d09028&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm confused to can upload everything excepts pbix files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 17:23:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-Report-Server-The-request-failed-with-HTTP-status-401/m-p/805929#M11670</guid>
      <dc:creator>JulesE</dc:creator>
      <dc:date>2019-09-30T17:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Report Server - The request failed with HTTP status 401: Unauthorized</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-Report-Server-The-request-failed-with-HTTP-status-401/m-p/810698#M11758</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think that the&amp;nbsp;&lt;STRONG&gt;BackConnectionHostNames&lt;/STRONG&gt; doesn't contain all necessary entries that are described under &lt;FONT&gt;&lt;A href="https://docs.microsoft.com/de-de/sql/reporting-services/report-server/configure-a-report-server-on-a-network-load-balancing-cluster?view=sql-server-2017" target="_blank"&gt;https://docs.microsoft.com/de-de/sql/reporting-services/report-server/configure-a-report-server-on-a-network-load-balancing-cluster?view=sql-server-2017&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;And you need to disable the loopback check&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;This should be done on both nodes and restart them&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;BR&amp;nbsp; Bobi&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Oct 2019 22:55:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-Report-Server-The-request-failed-with-HTTP-status-401/m-p/810698#M11758</guid>
      <dc:creator>flopi</dc:creator>
      <dc:date>2019-10-06T22:55:00Z</dc:date>
    </item>
  </channel>
</rss>

