AIMS develops and hosts the Azure Logic Apps Agent in a full SaaS way. So to configure Logic Apps in the AIMS Platform you need to provide information on how to connect to where the Logic Apps are hosted, the way to do this in Azure is by using the Azure AD and create an Application which will have the required access to the Logic App. The following steps describe how this can be achieved:


1. Login to the AIMS Environment where you want to configure the Logic App and navigate to the settings/Agents.



2. Click Connect Agent and Select Logic Apps in the pop up screen.



3. In the Azure Portal ( https://portal.azure.com ) perform the next steps to gather the required information:

    3.1 You need an App registration to allow AIMS to monitor your Logic App.

        3.1.1 Open App registrations in the Azure Portal.

        3.1.2 Click New application registration.

        3.1.3 Type any valid name.

        3.1.4 Select 'Web app/API' in Application type.

        3.1.5 Specify any URL as Sign-on URL.

        3.1.6 Click Create.

        3.1.7 Select the application you've created, copy its Application ID value and paste it into the Application ID in AIMS.


 

    3.2 On the application created in step 3.1 we need to create an access key:

        3.2.1 Open Settings -> Keys in the application.

        3.2.2 Type anything in Key description.

        3.2.3 Select 'Never expires' in Duration.

        3.2.4 Click Save. A value will appear under Value.

        3.2.5 Copy the key value and paste it into the Application Key field in AIMS



    3.3 We need to provide permissions to Logic App we want to provide access in the created Application:

        3.3.1 Open the Logic App you want to monitor in the Azure Portal.

        3.3.2 Open Access control (IAM) of the Logic App.

        3.3.3 Click Add.

        3.3.4 Select 'Owner' in Role.

        3.3.5 Select the application you created earlier in Select.

        3.3.6 Click Save.



        3.3.7 Open Properties of the Logic App.

        3.3.8 Copy the Resource ID value and paste it into the Resource ID field in AIMS.

        3.3.9 Copy the Subscription ID value and paste it into the Subscription ID field in AIMS.



    3.4 We need the Directory ID from the Azure AD securing the Logic App:

        3.4.1 Open Azure Active Directory in the Azure Portal.

        3.4.2 Open Properties.

        3.4.3 Copy the Directory ID value and paste it into the Directory ID field in AIMS.


4. Insert a System Name - Choose a name for how the Logic App will be shown in AIMS topology.

5. Click Create.


After this you can go into the Topology section of AIMS and see the newly added Logic App, metadata and metrics will be collected straight away.