Do you want to request a feature or report a bug?
When creating a subscription to a report which has multi-select parameters we get an error as only the last value is included and that will normally fail validation especially if these are used as a filter for other parameters.
What is the current behavior?
Should be able to pass multiple parameter values not just 1
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
I believe this is the cause of many of the issues where the Export/Import of subscriptions is failing due to InvalidParameterException etc.
Exception occurred while creating subscription! ErrorMessage: [Exception calling "CreateSubscription" with "6" argument(s): "System.Web.Services.Protocols.SoapException: Default value or
value provided for the report parameter 'sFCLTY0ID' is not a valid value. ---> Microsoft.ReportingServices.Diagnostics.Utilities.InvalidReportParameterException: Default value or value
provided for the report parameter 'sFCLTY0ID' is not a valid value.
What is the expected behavior?
Ability to pass an array of parameters, not a hashtable, and thus enable support for multi-select parameters
Which versions of Powershell and which OS are affected by this issue? Did this work in previous versions of our scripts?
This was tested with the 0.0.7.1 release but would be affected by all releases since the merge of #186
Do you want to request a feature or report a bug? When creating a subscription to a report which has multi-select parameters we get an error as only the last value is included and that will normally fail validation especially if these are used as a filter for other parameters.
What is the current behavior? Should be able to pass multiple parameter values not just 1
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
The above query will show that the current subscription has multiple values assigned to some parameters e.g.:
The parameters that are passed to New-RsSubscription are defined as a hashtable so when you try to add these, you get a duplicate error.
I believe this is the cause of many of the issues where the Export/Import of subscriptions is failing due to InvalidParameterException etc.
What is the expected behavior? Ability to pass an array of parameters, not a hashtable, and thus enable support for multi-select parameters
Which versions of Powershell and which OS are affected by this issue? Did this work in previous versions of our scripts? This was tested with the 0.0.7.1 release but would be affected by all releases since the merge of #186
The script in https://github.com/microsoft/ReportingServicesTools/issues/291#issuecomment-823238006 is also affected by this issue if your reports have multi-select parameters