Enter the key words to find the related topics

How to deploy all AX2012 reports and D365 FO

For D365 FO

  • Through PowerShell 
  • Run PowerShell  as Administrator
Before running the below command check SQL Server Reporting Service is in Running state.

C:\AOSService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask> .\DeployAllReportsToSSRS.ps1 -PackageInstallLocation "c:\AosService\PackagesLocalDirectory"


For Single Report Deploy:

K:>AosService>PackagesLocalDirectory>Plugins>AxReportVmRoleStartupTask>.\DeployAllReportsToSsrs.ps1 -Module Application suite -ReportName customer.Report -PackageInstallLocation “K:\AosService\PackagesLocalDirectory”



There’re 3 different ways to deploy Dynamics AX2012 reports:
  • Through AOT
AOT > SSRS Reports > Reports > right click on report > Deploy Element
  • Through Visual Studio
Open the report project > Right click on the project or solution node > Deploy
  • Through PowerShell
Publish-AXReport -ReportName *


Through AOT

– Go to AOT > SSRS Reports > Reports > (right click on report) > Deploy Element

– Right click on the report node

– Click “Deploy Element”
Image(1)


Deploy AX2012 report through AOT


Through Visual Studio


– Open the report project

– Right click on the project or solution node

– Click “Deploy”
Image(2)


Deploy AX2012 report through Visual Studio

Through PowerShell


– Go to: Start > Administrative Tools > Microsoft Dynamics AX 2012 Management Shell

– Then enter Publish-AXReport -ReportName *

This will deploy all AX2012 reports into report server, you might want to do this after the initial installation as the report server doesn’t have all the report there yet. It takes about 20 minutes for me to deploy all the reports (that’s on my Hyper-V image, if run on better spec server, it could be much faster).

If you want to deploy a specific report, just replace the wildcard (*) with the report name.

Eg. Publish-AXReport -ReportName SalesInvoice

*It is the report name under AOT > SSRS Reports > Reports > SalesInvoice, not the project name under AOT > Visual Studio Projects > Dynamics AX Projects > SalesInvoiceReport
Image(3)
Publish-AXReport -ReportName * will deploy all report (use wildcard to deploy full set of report)
Image(4)
Report deployment in progress
Image(5)
Report deployment in progress
Image(6)
Report deployment in progress
Image(7)
Report deployment completed
Image(8)

REPORT THIS AD



No comments:

Post a Comment