D365 FO: Different ways to deploy SSRS Reports

 There are two ways to deploy the SSRS reports in D365 for finance and operation.

The first choice would be to deploy the report directly from Visual Studio.

  1. Open the Build menu, click Deploy. Alternatively, in Solution Explorer, right-click the report project and then click Deploy.
  2. In Solution Explorer, right-click the report and then click Deploy

Lastly, we can deploy the reports using PowerShell.

Open Windows PowerShell in Admin mode and execute the below commands as per requirement.

  1. For deploying all SSRS reports
    K:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -PackageInstallLocation “K:\AosService\PackagesLocalDirectory”
  2. For deploying the specific report
    K:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -Module ApplicationSuite -ReportName <ReportName> -PackageInstallLocation “K:\AosService\PackagesLocalDirectory”
    (Replace <ReportName> with required report name such as RetailLabel.Report or *Retail* – this will deploy all reports containing ‘Retail’ in report name).
ForExample:- K:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -Module AVAExtensions -ReportName AVAProdReport.Report -PackageInstallLocation “K:\AosService\PackagesLocalDirectory”

Comments

Popular posts from this blog

Customization on Sales invoice Report in D365 F&O

75) COC - Create a coc of the table modified method

46) D365 FO: SHAREPOINT FILE UPLOAD USING X++