Deploy all the reports with single command

Deploying all SSRS reports in D365 F&O is typically required after environment refreshes, new environment setup, major upgrades, or when multiple reports are missing or outdated.

When do we deploy all reports in D365 F&O?

We generally deploy all reports when we need to ensure that the SSRS report server has the latest, complete set of report definitions from the environment.

#Execute this command in powershell to deploy all reports
K:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -Module SXAExtension -PackageInstallLocation “K:\AosService\PackagesLocalDirectory” 

1. After a fresh environment setup

When a new development environment, VM, or instance is provisioned, the SSRS server may not have all the report designs deployed.

2. After a major code upgrade or application update

Suppose you've upgraded the application or installed a new platform/application version.

  • Microsoft may have updated report designs.

  • Report datasets may have changed.

  • Parameters may have changed.

  • Report references may have changed.

3. After restoring, rebuilding, or refreshing a development environment

Suppose your development VM was rebuilt, or your environment was refreshed and its reporting configuration is no longer in the expected state.

Some reports may be missing from SSRS, outdated, or inconsistent with the packages installed in the environment.

4. When reports are missing or deployment is inconsistent

Imagine a user reports:

  • Several standard reports are missing.

  • Reports return errors because their deployed versions are outdated.

  • Recently updated report designs are not reflected in SSRS.

  • The report server is missing multiple report definitions.

5. After installing multiple modules or packages

For example, you have installed or updated multiple packages containing report objects:

  • Accounts receivable

  • Accounts payable

  • General ledger

  • Inventory management

  • Procurement and sourcing

More Dynamics 365 and X++ blogs