Help Monitor Azure Resources with Custom App

Authenticate and Monitor Azure Resources with Custom App

Azure resources can be discovered and monitored by Site24x7 in two ways:
>> Monitor resources with the Site24x7 App.
>> Monitor resources by creating a custom application in the Microsoft Azure portal and assign the necessary permissions to the custom app to enable Site24x7 to proceed with resource discovery and monitoring.

The custom app creation involves three major parts:

Part 1: Creating an Azure Active Directory Application

  1. Log in to the Microsoft Azure portal and navigate to the Azure Active Directory section.
    Creating an Azure Active Directory Application Step 01
  2. Click on App Registrations > + New registration
    Creating an Azure Active Directory Application Step 02
  3. In the Register an application page, provide the Name of the application, select the Supported account types, and specify the Redirect URI.
    • Name: Provide a unique name for identification purposes. Example: Site24x7 Azure App
    • Supported account types: Select Accounts in any organizational directory.
    • Redirect URI: Select Web from the drop-down and mention any valid URL (for example: https://localhost:8080).
      Click Register.
    Creating an Azure Active Directory Application Step 03

Once the application is registered in the Azure portal, you will be taken to a new blade with information about the application. Copy the Application (client) ID and save it for later use.
Creating an Azure Active Directory Application Step 04

Go to Subscriptions > click on the subscription that you wish to monitor > Access Control (IAM) > + Add role assignment. In the Add role assignment page, select the Role as Contributor/Reader, select Azure AD user, group, or service principle for the option Assign Access to, and Select the custom application that you have created from the drop-down. Save the changes.
Providing the Necessary Permissions to the Custom App

Part 2: Providing the Necessary Permissions to the Custom App

  1. Click on Certificates and secrets under Manage.
    Providing the Necessary Permissions to the Custom App
  2. Under Client secrets, click on + New client secret
    Providing the Necessary Permissions to the Custom App
  3. In the Add a client secret window, provide a Description, select Expires as Never, and click Add
    Providing the Necessary Permissions to the Custom App
  4. Copy the value that appears and save it for later use. This value would disappear after a while. So, copy and paste the value as soon as you save it. 
    Providing the Necessary Permissions to the Custom App
  5. Click on Azure Active Directory > Properties. Copy the Directory ID provided and save it for later use.
    Providing the Necessary Permissions to the Custom App

Part 3: Completing the Configuration in the Site24x7 Web Client

  1. Open the Site24x7 web client and go to the Authenticate with Custom App tab in the Add Azure Monitor (Azure > Add Azure Monitor) page.
  2. Paste the Application ID (obtained from Part 1 : Creating an Azure Active Directory Application) in the Client ID field; 
    the Directory ID (obtained from Part 2: Providing the Necessary Permissions to the Custom App) in the Tenant ID field; and
    the Value (obtained from Part 2: Providing the Necessary Permissions to the Custom App) in the Client Secret field.
  3. Click on Proceed with Resource Discovery. The resources will be discovered using the custom application registered in the Azure portal.

Related Articles

Was this document helpful?
Thanks for taking the time to share your feedback. We’ll use your feedback to improve our online help resources.

Help Monitor Azure Resources with Custom App