Creating an External Service for Accessing Microsoft Graph APIs

Creating the Azure AD Application

Step 1: Create an Azure AD Application
  1. Log in to Azure Portal

👉 Go to Azure AD - App Registrations.

  1. Create a new application
  2. Click on “New registration”.
  3. Name: Give a name to the application (e.g., `MTRMonitoringAPI`).
  4. Account types: Select “Accounts in this organizational directory only”.
  5. Redirect URI: Leave empty if not used.
  6. Click on “Register”.
Step 2: Retrieve Application Information
  1. Client ID: Copy the “Application (client) ID”.
  2. Tenant ID: Copy the “Directory (tenant) ID”.

Step 3: Create a Client Secret
  1. Go to “Certificates & secrets” (left menu).
  2. Create a new secret:
    1. Click on “New client secret”.
    2. Give it a name and choose an expiration period.
    3. Click on “Add”.
  3. Copy the value immediately, as it will no longer be visible afterward.

Step 4: Assign Microsoft Graph Permissions
  1. Go to “API Permissions”.
  2. Click on “Add a permission”.
  3. Select Microsoft Graph.
  4. Choose “Application permissions”.
  5. Add the necessary permissions:
    1. `TeamworkDevice.Read.All`
    2. `TeamworkDevice.ReadWrite.All`
  6. Click on “Add”.
  7. Return to “API Permissions” and click “Grant admin consent for the organization”.

Creating the External Service

Creating the External Service

  • In Zebrix Control, go to Configuration / External Services.
  • Add a service of type Ms Graph.
  • Fill in all the required fields.

Back to top