Write-RsRestCatalogItem Doesn't Add Description to Report

Robert Davidian 41 Reputation points

I'm trying to add an RDL using the Write-RsRestCatalogItem call to an existing SSRS site. The report gets added but I noticed that if I pass in a description, it doesn't get added to the ReportServer catalog. Calling Write-RsCatalogItem with a description adds the description just fine.

### This doesn't add the description to the ReportServer catalog  
Write-RsRestCatalogItem -WebSession $sessionDest -ReportPortalUri $DestinationURI -Path "$localRDLPath\$($r.Name).rdl" -RsFolder $RDLFolder -Description $r.Description -ErrorAction Stop  
### This adds the description to the ReportServer catalog  
Write-RsCatalogItem -ReportServerUri $DestinationURI -Path "$localRDLPath\$($r.Name).rdl" -RsFolder $RDLFolder -Description $r.Description -ErrorAction Stop  
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,547 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,086 questions
0 comments No comments
{count} votes

Accepted answer
  1. Ian Xue (Shanghai Wicresoft Co., Ltd.) 22,191 Reputation points Microsoft Vendor


    Are your using the ReportingServicesTools module? If so, you can try to remove the "-Verbose:$false | Out-Null" at the end of the Invoke-WebRequest line from the Write-RsRestCatalogItem.ps1 and see if there are any clues in the return value.


    Best Regards,
    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

0 additional answers

Sort by: Most helpful