Azure EA Account
With the Azure EA integration, you allow the service principal to have access at the billing scope level.
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.
To integrate your Azure EA account with Vantage, follow the below steps:
Step 1: Create a New Application Registration
- From the main page of the Azure portal, search for and navigate to Microsoft Entra ID.
- In the left navigation, under Manage, select App registrations.
- Click + New registration.
Expand to view example image
- The Register an application screen is displayed. For Name, enter vantage.
- Leave all other settings as their defaults and click Register.
Expand to view example image
- The app details are displayed. Record the Application (client) ID and Directory (tenant) ID to use later.
Expand to view example image
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.)
- Click + New client secret.
- The Add a client secret pane is displayed. For Description, enter a description, such as vantage-secret.
Expand to view example image
- For Expires, select an expiration option for the secret.caution
If this secret expires, you will need to supply Vantage with a new secret before the expiration date.
- Click Add.
- The newly created secret is displayed. Copy the secret's Value to add to the Vantage console later. This value will be displayed only one time.
Step 3: Obtain Your Billing Account ID
- Navigate to Cost Management + Billing.
- On the left menu, click Billing scopes and select your EA Billing Account from the list.
- On the left menu, click Settings > Properties.
- Copy your Billing account id to later send to Vantage.
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.
Navigate to Microsoft Entra ID, then select Enterprise applications.
From the All applications list, select the vantage application you previously created.
Expand to view example image
Source: MicrosoftUnder Properties, copy the Application ID and Object ID.
Expand 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.
Expand 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
.
In the Body section, copy and paste the request body below.
{
"properties": {
"principalId": "<YOUR_OBJECT_ID>",
"principalTenantId": "<YOUR_TENANT_ID>",
"roleDefinitionId": "/providers/Microsoft.Billing/billingAccounts/<YOUR_BILLING_ACCOUNT_ID>/billingRoleDefinitions/24f8edb6-1668-4659-b5e2-40bb5f3a7d7e"
}
}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-40bb5f3a7d7e
is the billing role definition ID for an EnrollmentReader.
- Note that
Expand to view example image
Source: MicrosoftClick Run. You should see a
200 OK
response, indicating that the request was successful.tipIf you receive an error, see the Troubleshoot section of the Microsoft article these instructions were based on.
Step 5: Add App Registration Credentials to Vantage
- Navigate to the Integrations page in the Vantage console, and add an Azure integration.
- On the Azure integration page, click Add Credentials.
- Add the following credentials:
- Click Connect Account.
Vantage will begin importing your Azure costs.
Step 6: Send Your Billing Account ID to Vantage
Send the Billing account id you obtained in step 3 to support@vantage.sh to complete the configuration. Indicate that you have set up an Azure integration and that you are a customer on an EA agreement.
Next Steps: Workspace Access
See the Workspace Access section on the main Connecting Azure page for information on how to assign this integration to one or more workspaces.