microsoft / ReportingServicesTools

Reporting Services Powershell Tools
MIT License
458 stars 213 forks source link

Publish-RsProject Overwrites Datasets With OverwriteDatasets Parameter Set to False #430

Open squeeks96 opened 3 weeks ago

squeeks96 commented 3 weeks ago

Hello All,

After publishing with the Publish-RsProject Function I observed that it overwrote the datasets even though the OverwriteDatasets parameter was set to False

Looks like the step to Publish Datasets is hard coded to overwrite and does not evaluate the parameter. Link to the function/code in question in the link below

https://github.com/microsoft/ReportingServicesTools/blob/ba9226affe9912173323f3472f20200963fc2d97/ReportingServicesTools/Functions/CatalogItems/Publish-RsProject.ps1#L130

Thank You