Forum Discussion
Unable to deploy report to Power BI Report Server
I am trying to deploy the report file (PBIX) file on to Power BI report server through DevOps on Linux agent. I am getting the responce code 401 (Unauthorized), while it is failing to create a session. Can anyone suggest what could be the issue.
3 Replies
- d_gosbell
Super User
The 401 error means you have not authenticated correctly to the report server. PBIRS usually uses windows auth, I'm not sure how you would do this from a linux agent.
- AnonymousNot applicable
$password = ConvertTo-SecureString -String "$(DeployerPassword)" -AsPlainText -Force
$Cred = New-Object System.Management.Automation.PSCredential ("$(DeployerUsername)", $password)
$session = New-RsRestSession -ReportPortalUri $(ReportServerURI) -Credential $Cred
We can use the above solution to authenticate with the PBIRS through Linux Agent server
- AnonymousNot applicable
Now I am unable to publish Larger file (800 MB )file.. I had verified the MaxFileSize on PBIRS, it is 2000.
. Getting below logs
.pbix is large. Properties Overwrite, Description, and Hidden are being ignored during uploadUploading .pbix to xxxxx via endpoint for large filesWrite-RsRestCatalogItem -WebSession $session -ReportPortalUri $Re[0m …[0m2023-06-01T09:49:15.0898493Z [31;1m[0m[36;1m[36;1m[0m[36;1m[0m[36;1m | [31;1m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[0m2023-06-01T09:49:15.0899494Z [31;1m[0m[36;1m[36;1m[0m[36;1m[0m[36;1m[31;1m[31;1m[36;1m | [31;1mFailed to create catalog item: An error occurred while sending therequest