32) How to manually deploy SSRS reports through Powershell in D365 FO
Many times we come across situations where even the standard reports in D365 FO does not work or open properly. These scenarios might be anything an On Premi Deployment or problem in SSRS services.
In those kind of scenarios we have to deploy the reports manually like we used to do in AX 2012 Release Implementations.
So here is a very basic and simple way of achieving the same through Windows Powershell.
We simply need to follow these steps :-
1) Open run prompt and type services.msc
2) Make sure IIS , Batch , DIXF , SSRS , MR services are running.
3) Open Windows Powershell as Administrator
4) Type the below command :-
K:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -PackageInstallLocation “K:\AosService\PackagesLocalDirectory”
To Deploy specific reports type the below command :-
K:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -Module ApplicationSuite -ReportName AssetDep*,TaxVatRegister.Report -PackageInstallLocation “K:\AosService\PackagesLocalDirectory”
Once done the SSRS Reports will start working fine.
In those kind of scenarios we have to deploy the reports manually like we used to do in AX 2012 Release Implementations.
So here is a very basic and simple way of achieving the same through Windows Powershell.
We simply need to follow these steps :-
1) Open run prompt and type services.msc
2) Make sure IIS , Batch , DIXF , SSRS , MR services are running.
3) Open Windows Powershell as Administrator
4) Type the below command :-
K:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -PackageInstallLocation “K:\AosService\PackagesLocalDirectory”
To Deploy specific reports type the below command :-
K:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -Module ApplicationSuite -ReportName AssetDep*,TaxVatRegister.Report -PackageInstallLocation “K:\AosService\PackagesLocalDirectory”
Once done the SSRS Reports will start working fine.
Comments
Post a Comment