Connect Your Azure Account for Eco Analysis
You can connect your account to Eco to get estimated cost savings analysis.
If you have one of these account/agreement types, you can connect your account to Eco:
- Azure Enterprise Agreement (EA)
- Microsoft Customer Agreement (MCA)
- Microsoft Online Services Program (MOSP)/pay as you go (PAYG)
Cloud Solution Provider (CSP) users need to contact Support.
If you need assistance, read the FAQs. If needed, the Eco Azure team can help you to set up the registered application and transfer the application credentials.
Prerequisites
- Review read-only permissions required for the Eco Cost Specialist team.
- The Azure user must be a Global Administrator with elevated access and access to the management groups or subscriptions.
- The Azure user must be an Enterprise Administrator (EA) or Billing account owner (MCA).
- A Member Account only. The account cannot be a guest user account.
- A registered Spot account.
Connect Cloud Account
-
In the Spot console, click Eco > Microsoft Azure > Azure Billing Account.
-
Select the onboarding type:
-
Automated onboarding is the quicker option. The Microsoft Application Consent process allows Eco Azure to build the app registration on your behalf and use your credentials.
-
Manual onboarding lets you use higher security requirements when needed:
- Register an application in Microsoft Entra ID. Select Accounts in this organizational directly only, without a redirect URI.
- Create a new client secret.
noteSave the secret key because it won't be displayed again after you leave this page.
-
-
For EA only, assign the EnrollmentReader role to the registered application using a Microsoft API.
Sample header input and body of API call
Header Inputs:
billingAccountName: <enrollment id>
billingRoleAssignmentName: 24f8edb6-1668-4659-b5e2-40bb5f3a7d7e
Example of body for API call:
{
"properties": {
"roleDefinitionId": "/providers/Microsoft.Billing/billingAccounts/<insert enrollment number>/billingRoleDefinitions/24f8edb6-1668-4659-b5e2-40bb5f3a7d7e",
"principalTenantId": "<insert Tenant ID>",
"principalId": "<insert Object Id of the service principle>"
}
} -
For MCA only, add the Billing Account Reader role to the registered application.
-
Assign the Cost Management Reader role to the registered application on the management groups or subscriptions you want to manage (the management groups/subscriptions you want Eco Azure to purchase reservations).
-
For PAYG only, assign the Reservation Reader role to the registered application.
- Go to the Reservations page > Role assignments > Add role assignment.
- Search for and select Reservation Reader, then click Next > Select Members.
- Search for and select the Eco Azure Registered application, then click Review + Assign.
-
In the Spot console, in the App Registration page, enter the Application ID, Tenant ID, Application Secret Value and Expiration date and click Connect.