Azure AD
  • 19 Sep 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Azure AD

  • Dark
    Light

Article summary

Azure AD is an identity and access management solution from Microsoft that helps organizations secure and manage identities for hybrid and multicloud environments.

Integration Method: API

Tables: User Inventory

Azure Configuration

  1. Log on to Azure with a user account that has the Global Administrator role.

  2. Navigate to Microsoft Entra ID > App registrations > New registration. The “Register an application” page window appears.

  3. Enter the application's registration information:

    1. In the ‘Name’ section, enter a meaningful application name that will be displayed to users.

    2. For ‘Supported account types’, click the Accounts in any organizational directory option.

    3. Set the ‘Redirect URI’ to http://localhost.

    4. Click on Register to create the application.

  4. On the app “Overview” page, copy the ‘Application (client) ID’ and ‘Directory (tenant) ID’ for later use.

    Add Endpoint Access

    Once the application is created, appropriate permissions should be provided to get data. The appropriate permissions to the application are needed to configure these endpoints. The following section details how to configure and add permissions to the required endpoint.

    Endpoint needed for Azure AD

    Add Permissions

    To add permissions for the endpoint outlined above, from the Azure Active Directory portal:

  5. Select the application whose logs are to be accessed (generally, the application registered earlier on this page).

  6. Click API Permissions, and then click Add a Permission. The “Request API permissions” window appears.

  7. Click on Microsoft Graph.

  8. Click on Application Permissions.

  9. The following permissions need to be granted for the endpoint to function properly:

    Endpoints

    Permission

    /v1.0/users

    User.ReadBasic.All

    User.Read.All

    Directory.Read.All

    In the ‘Select permissions’ search bar, enter the permissions shown above, and check the box to include it. If you run into any problems, check out Microsoft's official documents.

  10. Click the Add permissions button after selecting all required permissions.

  11. On the “API permissions” page, click Grant Admin Consent for <tenant>.

  12. Click the Yes button on the consent confirmation. The required permissions are now added for the endpoints.

    Create the Client ID and Client Secret

    The final step in configuring the Graph API is creating a Client ID and Client Secret. To create these items, from the Azure Portal:

  13. Select the application created above.

  14. Click Certificates & secrets, and then Client Secrets.

  15. Click New client secret. The “Add a client secret” window appears.

  16. Enter a ‘Description’ for this client secret.

  17. Select the desired expiry period from the ‘Expires’ drop-list.

  18. Click Add.

  19. Copy the ‘Value’ field, which will be used to initialize the beat.


Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence