web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :

Deploy Reports in Dynamics 365 for operations

Sukrut Parab Profile Picture Sukrut Parab 71,710 Moderator

Hi Everyone,

Wanted to share quick notes  about deploying SSRS reports in dynamics 365 for operations.

Deploying all reports Using PowerShell

All reports can be deployed using following commands . To run command open PowerShell as administrator  and run following commands. Depending in path in your virtual machine you can switch between C: and J: drive.

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

 

Deploying a specific Reports through PowerShell

Now I want to deploy reports starting with AssetDep and TaxVatRegister , so I ran following command and in the output you can see only those reports get deployed. This trick is helpful in managed environment like UAT not prod when you have some issues with reports in those enviornments.

J:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -Module ApplicationSuite -ReportName AssetDep*,TaxVatRegister.Report

 Powershell.JPG

 

Deploying a single Report from Visual Studio

To deploy report From visual studio simply add report to your project, right click and choose Deploy report option . See image below for more details.

 DeployReport.JPG

Comments

*This post is locked for comments

  • ehramirez Profile Picture ehramirez
    Posted at
    K:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -Module ApplicationSuite -ReportName smm* -PackageInstallLocation "K:\AosService\PackagesLocalDirectory"
  • Suchitra Profile Picture Suchitra
    Posted at

    Hi,

    Wanted to add to this post. The actual command that works (in this case for a single report)is:

    J:>AosService>PackagesLocalDirectory>Plugins>AxReportVmRoleStartupTask>.\DeployAllReportsToSsrs.ps1 -PackageInstallLocation "J:\AosService\PackagesLocalDirectory" -Module ApplicationSuite –ReportName .Report