1. Knowledge Base
  2. Control Monitor
  3. Device Discovery Integrations

Connecting Azure VM Discovery integration

Azure uses Service Principals for API access. Follow these steps:

  1. Register an App in Azure AD:
    • Go to the Azure PortalAzure Active DirectoryApp registrationsNew Registration.
    • Give it a name (e.g., "PreludeSCMAzureVM"), select Accounts in this organizational directory only, and register.
  2. Create a Client Secret:
    • In your app, go to Certificates & secretsClient secretsNew client secret.
    • Copy the generated Value (this is your client secret).
  3. Get Subscription ID & Tenant ID:
    • Go to Azure Subscriptions and copy your Subscription ID.
    • Go to Azure Active DirectoryOverview and copy your Tenant ID.
  4. Assign Permissions to the Service Principal:
    • Go to Subscriptions → Select your subscription → Access Control (IAM)Add Role Assignment.
    • Assign Reader role to the App you created.