When you configure this integration, the Vantage service principal is granted enrollment reader permissions. The service principal does not have permissions—nor will it ever attempt—to make any changes to your infrastructure.
Create a new application registration
Generate a client secret
Obtain your billing account ID
Assign Enrollment Reader permission to the service principal
Add app registration credentials to Vantage
Step 1 - Create a New Application Registration
Step 2 - Generate a Client Secret
On the same page, next to the Client credentials field, click Add a certificate or secret. (You can also access the Certificates and secrets screen from the left navigation menu.)
The Add a client secret pane is displayed. For Description, enter a description, such as vantage-secret.

Click to view example image
Click to view example image

Step 3 - Obtain Your Billing Account ID
Step 4 - Assign Enrollment Reader Permission to the Service Principal
You need to have the billing account owner role permissions to assign enrollment reader permissions to the service principal. The below steps are based on the Azure documentation.
From the All applications list, select the vantage application you previously created.
Source: Microsoft
Click to view example image
Click to view example image
Source: MicrosoftUnder Properties, copy the Application ID and Object ID.
Source: Microsoft
Click to view example image
Click to view example image
Source: MicrosoftOpen the Role Assignments - Put article from the Microsoft documentation in a new tab.
Next to the Create or update a billing role assignment step, click Try It.
Source: Microsoft
Click to view example image
Click to view example image
Source: MicrosoftA login in screen is displayed on the right. Using your account credentials, log in to the tenant that you want to assign enrollment reader access.
An API request form is displayed. In the Parameters section add the following values:
billingAccountName: Add the billing account ID you obtained in step 3.billingRoleAssignmentName: Generate a unique GUID using the a GUID generator, as suggested by Microsoft.api-version: Use2019-10-01-preview.
Update placeholders in the Body as follows:
principalId: The Object ID you copied at the beginning of this section.principalTenantId: Your Directory (tenant) ID that you copied in step 1.roleDefinitionId: Replace<YOUR_BILLING_ACCOUNT_ID>with the Billing account id you copied in step 3.- Note that
24f8edb6-1668-4659-b5e2-40bb5f3a7d7eis the billing role definition ID for an EnrollmentReader.
Click to view example image
Source: Microsoft- Note that
Step 5 - Add App Registration Credentials to Vantage
Navigate to the Integrations page in the Vantage console, and add an Azure EA integration.
Add the following credentials:
- For Azure AD Tenant ID, add the Directory (tenant) ID you obtained in step 1.
- For Service Principal App ID, add the Application (client) ID you obtained in step 1.
- For Service Principal Password, add the client secret you obtained in step 2.
- For Billing Account Id, add the Billing Account Id you obtained in step 3.


