AIMS develops and hosts the Azure Agent in a full SaaS way. So to configure the Azure Agent in the AIMS Platform you need to provide information on how to connect to where the Azure Subscription with resources to be monitored 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 Resources. The following steps describe how this can be achieved:
1. Login to the AIMS Environment where you want to configure the Azure Agent and navigate to the settings/Agents.
2. Click Connect Agent and Select Azure Agent 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 Azure Resources.
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 Client 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 Client Secret field in AIMS
3.3 We need to provide permissions the Subscription we want to provide access in the created Application:
3.3.1 Open the Subscription you want to monitor in the Azure Portal.
3.3.2 Open Access control (IAM) of the Subscription.
3.3.3 Click Add.
3.3.4 Select 'Reader' in Role.
3.3.5 Select the application you created earlier in Select.
3.3.6 Click Save.
3.4 We need the Subscription ID from the Azure AD securing the Subscription:
4.1 Open the Subscription you want to monitor in the Azure Portal.
4.2 Open Properties.
4.3 Copy the Subscription ID value.
3.5 We need the Directory domain from the Azure AD securing the Subscription:
5.1 Open Azure Active Directory in the Azure Portal.
5.2 Open Custom Domain Names.
5.3 Copy the Directory Name in the primary domain.
4. Insert a System Name - Choose a name for how the Azure Agent will be shown in the Agents List.
5. Click Create.
After this you can go into the Topology section of AIMS and see the newly added Resource Groups, metadata and metrics will be collected straight away.