Thursday, January 9, 2025

Deploy SSRS Reports using PowerShell in D365 FO

Deploying reports using PowerShell(Admin Mode) using below commands.


1) For deploying all SSRS reports

K:\AOSService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -PackageInstallLocation "K:\AosService\PackagesLocalDirectory"

2) For deploying all SSRS report in specific module

K:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -PackageInstallLocation "K:\AosService\PackagesLocalDirectory" -Module YourModuleName

In my case I have to deploy reports of FlexProperty module.

3) For deploying specific SSRS report

K:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -PackageInstallLocation "K:\AosService\PackagesLocalDirectory" -ReportName YourReportName.DesginTitle


K:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -PackageInstallLocation "K:\AosService\PackagesLocalDirectory" -ReportName Test.Report

Capturing Infolog messages in D365FO using X++.

      Capturing info log messages in D365FO. We can get it in multiple ways.      Way 1.        public static str getError() {     SysInfol...