Deploy Reports in Dynamics 365 for operations
Hi Everyone,
Wanted to share quick notes about deploying SSRS reports in dynamics 365 for operations.
Deploying all reports Using PowerShell
All reports can be deployed using following commands . To run command open PowerShell as administrator and run following commands
Depending on path in your virtual machine you can switch between C and J drive
J:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -PackageInstallLocation "J:\AosService\PackagesLocalDirectory"
Deploying a specific Reports through PowerShell
Now I want to deploy reports starting with AssetDep and TaxVatRegister , so I ran following command and in the output you can see only those reports get deployed. This trick is helpful in managed environment like UAT not prod when you have some issues with reports in those enviornments.
J:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -Module ApplicationSuite -ReportName AssetDep*,TaxVatRegister.Report
Deploying a single Report from Visual Studio
To deploy report From visual studio simply add report to your project, right click and choose Deploy report option . See image below for more details.
Wanted to share quick notes about deploying SSRS reports in dynamics 365 for operations.
Deploying all reports Using PowerShell
All reports can be deployed using following commands . To run command open PowerShell as administrator and run following commands
Depending on path in your virtual machine you can switch between C and J drive
J:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -PackageInstallLocation "J:\AosService\PackagesLocalDirectory"
Deploying a specific Reports through PowerShell
Now I want to deploy reports starting with AssetDep and TaxVatRegister , so I ran following command and in the output you can see only those reports get deployed. This trick is helpful in managed environment like UAT not prod when you have some issues with reports in those enviornments.
J:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -Module ApplicationSuite -ReportName AssetDep*,TaxVatRegister.Report
Deploying a single Report from Visual Studio
To deploy report From visual studio simply add report to your project, right click and choose Deploy report option . See image below for more details.
Comments
Post a Comment