Wednesday, June 23, 2021

Different ways to deploy SSRS Reports in Dynamics 365 Finance and Operations

 Dear Friends,

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

  1. The first choice should be to deploy the report directly from Visual Studio
    • Open the Build menu, click Deploy. Alternatively, in Solution Explorer, right-click the report project and then click Deploy.
    • In Solution Explorer, right-click the report and then click Deploy
  2. Lastly, we can deploy the reports using PowerShell.
    • Open Windows PowerShell in Admin mode and execute the below commands as per requirement.
    • For deploying all SSRS reports
K:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -PackageInstallLocation “K:\AosService\PackagesLocalDirectory”
    • 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)
Happy DAXing....😊

No comments:

Post a Comment

Use Chain Of Command with Examples

 Dear Friends Here is an example of using Chain of Command for form datasource methods. [ExtensionOf(formDataSourceStr(<<Form Name>...