Friday 17 March 2023

Deploy SSRS reports through command line in D365 FO

Deployment of reports in D365 FO can be done using Visual studio. But there is also another way through which we can deploy report faster.

We can use the Windows Powershell in the environment to deploy the reports faster and easier. Below are the steps to deploy the reports using Windows Powershell in D365 FO 


1. Open Windows Powershell as Administrator

2. Use the below command to navigate to the folder

  • CD K:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask
3. Use the below command to deploy the reports.
  • All Reports. 
    • DeployAllReportsToSSRS.ps1 -PackageInstallLocation “K:\AosService\PackagesLocalDirectory”
  • Specific Reports
    • DeployAllReportsToSSRS.ps1 -Module ApplicationSuite -ReportName AssetDep*,TaxVatRegister.Report -PackageInstallLocation “K:\AosService\PackagesLocalDirectory”

No comments:

Post a Comment