Skip to main content

Ripple – Azure EA Integration

How to Connect Azure EA to Ripple

Written by Yo Fukuda
Updated today

Overview

This guide walks you through the steps to connect your Azure Enterprise Agreement (EA) cost data to Ripple.

By the end of this process, you will need to share the following information with Alphaus to enable Azure EA cost data to be reflected in Ripple:

  • Application (client) ID

  • Directory (tenant) ID

  • Client Secret


Step 1: Register an app in Microsoft Entra ID (Azure AD)

  1. Sign in to the EA tenant as an Azure AD Administrator

  2. In the Azure Portal, go to Microsoft Entra ID > App registrations > New registration

  3. Fill in the following fields:

    1. Name: e.g. ea-cost-management-api-client

    2. Supported account types: Select Single tenant for EA scenarios

    3. Redirect URI: Optional for client credentials flow — leave blank or enter a placeholders

  4. Click Register

  5. On the application overview screen, copy and save the following:

    1. Application (client) ID

    2. Directory (tenant) ID

Notes: These values are used for application authentication.


Step 2: Create a Client Secret (or Certificate) for the Application

  1. In the same application, go to Certificates & secrets

  2. Under Client secrets, choose New client secret

  3. Set a description and an expiration period, then click Add

  4. Immediately copy and save the Value of the newly created Client Secret

Important Notes The Client Secret value will not be displayed again after you leave this page.

After completing this step, you will have the following API credentials required for the OAuth 2.0 client credential flow:

  • Tenant ID

  • Client ID

  • Client Secret


Step 3: Verify EA Association and Admin Role

  1. Confirm your EA enrolment is linked to this Azure AD tenant

  2. Sign in using one of the following roles:

    • Enterprise Administrator or

    • Account Owner (depending on how EA is delegated)

  3. For partner-managed EA:

  4. For direct EA management:

You will need permission to grant access to Cost Management data for the EA enrolment.

How to Verify:

  1. In the Azure Portal, go to Cost Management + Billing > Billing scopes

  2. Confirm that the EA enrollment / billing account is listed under this tenant

You should see your EA enrollment / billing account under this tenant.

Important Notes If the EA enrollment does not appear under Cost Management + Billing, you may not have the appropriate role or may be signed in to the wrong tenant.


Step 4: Grant the Service Principal Access to the Billing (EA) Scope

📖 References:

Granting permissions to the service principal consists of two parts:

  • Granting access to Cost Management data

  • Setting the appropriate access scope (Enrolment / Billing account / Subscription / Resource group)

4.1. Assign billing / Cost Management roles

  1. In the Azure portal, go to Cost Management + Billing

  2. If multiple billing scopes are available, select the appropriate scope from Billing scopes based on the cost data you want to retrieve:

    • EA Enrollment

    • Billing Account

    • Billing Profile / Invoice Section

  3. Open Access Control (IAM) or the equivalent access management screen for the selected scope

  4. Click Add role assignment and assign the following roles to the application at the Billing account scope:

    • Cost Management Reader — for viewing cost data

    • EnrolmentReader — for viewing data across enrolment, department, and account scopes

    • Billing Reader — for viewing subscription and billing data

  5. Under Members > User, group, or service principal > search for the application by name, select it, and click Save

4.2. Grant Access at the Azure Resource Scope (if required)

If you need to retrieve costs at the subscription or resource group level:

  1. Open the relevant to Subscriptions (or a specific Resource group / Management group)

  2. Click Access control (IAM)

  3. Click Add role assignment

  4. Select Cost Management Reader or Reader

  5. Assign it to the same service principal and click Save


Need More Help?

If any errors occur during the process or if you have any questions, please reach out to us:

Did this answer your question?