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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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