question

pasha-mayerov avatar image
0 Votes"
pasha-mayerov asked Willsonyuan-msft commented

new-rssubscription parameter set cannot resolved using the specified named parameter

Hello.
I have script:
New-RsSubscription -reportServerUri "<server>/report" -RsItem '/<folder>' -Schedule (New-RsSchedulerXML -Weekly -DaysOfWeek Monday -start 9pm) -Destination 'Email' -DeliveryMethod 'Email' -subject 'Subscription Director' -to test@test.ru
I want to subscribe to a report with a parameter from the report.
An error comes out:
Parameter set cannot resolved using the specified named parameter.
When requested Get-RsSubscription , the following subscription information is displayed
175844-%D1%81%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA-%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0-2022-02-18-134704.jpg



It is necessary to select the parameter Values: {Manager}
How can I create?
function New-RsValues {
param()
}


windows-server-powershellsql-server-reporting-services
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@pasha-mayerov Thanks for posting here, it seems you are using ReportingServicesTools based on below github:
https://github.com/microsoft/ReportingServicesTools/pull/186/commits/1c6c5d8fb74357e7d1f2c195305c2d39bf8efbf0
If you are facing issues regarding ReportingServicesTools, I would suggest to ask your question in the issue of github so that code owner can better support you, thanks!
177101-image.png


0 Votes 0 ·
image.png (13.9 KiB)

0 Answers