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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Error in Publish-AXReport

(0) ShareShare
ReportReport
Posted on by

Hello. I'm hopping you can help me. I have installed your module and I'm trying to use the Publish-AxReport command in a script I have built. For some strange reason after restoring a replacement Database to SQL for AX, then setting a report server and trying to deploy the reports I get the attached error and the script stops. However If I reboot all the AOS machines and run the command again it continues past the error and will keep deploying the reports. Any ideas? Restarting the SSRS service and AOS services don't help resolve the issue.

DeployReportsError.PNG

Thanks,

Josh

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    239,632 Most Valuable Professional on at

    This question has been moved from DynamicsAxCommunity PowerShell module - Sync DB, because it's neither about DB synchronization nor the DynamicsAxCommunity module (Publish-AXReport is shipped by Microsoft).

  • Suggested answer
    Tommy Skaue Profile Picture
    Microsoft Employee on at

    This may just be a hunch, but try open the report that fails to deploy in Visual Studio, build it there and try deploy. It might be the report itself has invalid dependencies. 

  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    Make sure that you are not doing any code changes on your AOS and your CIL has been successfully compiled on a Staging/Build/Release environment that lands in your Production AX system. After a new code release once the AOS instances have been started, check that which AX AOS instance is being used by the AX Configuration on your SSRS instance. You should refresh the WCF configuration in your AX Client configuration tool, then save the refreshed AXC in the folder explained here, then restart the SSRS instance:

    technet.microsoft.com/.../hh389774.aspx

    After that log on to the AOS that your AXC is pointing at, and verify that the activated standard AX Application Integration Framework Inbound ports are green, and not showing any red crosses. Since the publish-report command uses AIF ports, a stopped or broken AIF port is the likely cause of failure.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 24

#2
Michel ROY Profile Picture

Michel ROY 14

#3
Jagadabi Profile Picture

Jagadabi 6

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans