Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

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 3
Anonymous
Not 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 upload
Uploading .pbix to xxxxx via endpoint for large files
Write-RsRestCatalogItem -WebSession $session -ReportPortalUri $Re …
2023-06-01T09:49:15.0898493Z      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2023-06-01T09:49:15.0899494Z      | Failed to create catalog item: An error occurred while sending therequest
 
d_gosbell
Super User
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.

Anonymous
Not 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

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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