Validate AIF ports if they are running in AX

It may happen that AIF ports are failing due to an error, or they do not activate when the AX AOS instance gets started. There is a way to validate AIF ports if they are running correctly using a combination of X++ code and a PowerShell script that you may find below.

Add the following to the Global class collection and do a Full CIL:

And here is the PowerShell script to validate AIF ports. Please make sure you provide a comma-separated list for the AOS names, and a correct path where the Business Connector DLL could be found. Also you might want to provide credential details for the AX login if the user running the script does not have access.

validate AIF ports


DAXRunBase / 2016-08-17 / AX 2012
Tags: , , , ,


  1. Validate AIF ports if they are running in AX - Microsoft Dynamics AX Community
  2. Change AOT objects without AX client - DAXRunBase

Leave a Reply

Your email address will not be published / Required fields are marked *