f you’d like the SSRS server to not replace the connection string/username and password, you should be able to simply comment out the New-SSRSDataSource function call in the PowerShell to bypass.
I hope this helps!
Please let me know if I’ve misunderstood your query, I’ll get back to you ASAP.
Thank you for the quick response. I have commented out the function call in the PowerShell script but code is clearing the reports folder completely and copying the files. I have set the “Clear the Report Folder” to ‘False’.
Could you follow the step-by-step guide here to enable variable logging and send through the deployment log.
Could you also export your SSRS step template and send that to me as well, and also a screenshot of how you’ve configured the actual step in your deployment process.
I hope this will help us troubleshoot why it is clearing the report folder even though you’ve configured it to not clear it.
Thanks for the reply! I have worked on that issue and found a bug in the PowerShell script. Below is the modifications which I have made. Please let me know if I’m wrong.