Power BI Report server "The remote server returned an error: (401) Unauthorized" error when uploading .pbix files

GiriR123 1 Reputation point
2021-03-01T14:24:42.15+00:00

Getting below error when I try to upload .pbix files to the power BI report server via desktop client or browser. We are running October 2020 version of the report server. We are able to upload other files types (word, xl etc) without any issue. Any suggestions? Error: 2021-03-01 08:55:28.8996|ERROR|82|The remote server returned an error: (401) Unauthorized.| RequestID = s_a1c58ac5-03e1-48e1-ab96 2021-03-01 08:55:29.0101|TRACE|82|OData exception occurred: Microsoft.ReportingServices.Portal.Interfaces.Exceptions.PowerBIReportNotSupportedException: There was an error uploading your .pbix file. Verify that the file has not been corrupted and that the file extension matches the format of the file. ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized. at System.Net.HttpWebRequest.GetResponse() at Microsoft.ReportingServices.Portal.ODataWebApi.Utils.PbixReportHelper.ValidateRenderingIsSupportedAndSetProperties(PowerBIReport entity, String powerBiUri, ILogger logger, IPrincipal userPrincipal, String reportServerHostName) at Microsoft.ReportingServices.Portal.ODataWebApi.Common.PowerBIReportsControllerHelper.ValidatePbiReportRenderingIsSupportedAndSetProperties(PowerBIReport item) --- End of inner exception stack trace --- at Microsoft.ReportingServices.Portal.ODataWebApi.Common.PowerBIReportsControllerHelper.ValidatePbiReportRenderingIsSupportedAndSetProperties(PowerBIReport item) at Microsoft.ReportingServices.Portal.ODataWebApi.V2.Controllers.CatalogItemsController.ValidatePbiFile(CatalogItem entity) at Microsoft.ReportingServices.Portal.ODataWebApi.V2.Controllers.CatalogItemsController.AddEntity(CatalogItem entity, CatalogItem& createdEntity) at Microsoft.ReportingServices.Portal.ODataWebApi.Controllers.Reflection.EntitySetReflectionODataController1.Post(ODataPath oDataPath, T value) at lambda_method(Closure , Object , Object[] ) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_2.<GetExecutor>b__2(Object instance, Object[] methodParameters) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary2 arguments, CancellationToken cancellationToken) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__6.MoveNext().| RequestID = s_a1c58ac5-03e1-48e1-ab96-

Community Center Not monitored
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Vaibhav Chaudhari 38,916 Reputation points Volunteer Moderator
    2021-03-01T14:46:24.987+00:00

    Hi Giri,

    SSRS related questions are supported but Power BI related questions are not supported on this forum. It's better to reach out to dedicated forum over here:

    https://community.powerbi.com/t5/Forums/ct-p/PBI_Comm_Forums


    Please don't forget to Accept Answer and Up-vote if the response helped -- Vaibhav

    0 comments No comments

  2. GiriR123 1 Reputation point
    2021-03-01T15:59:36.867+00:00

    Hi Vaibhav,

    Thank you. This Power BI onpermise related so I thought to post the question here.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.