The Azure onboarding process for EA accounts consists of two main parts:
- Managing your API keys to enable API data access
- Connect your Azure account in the Anodot app
- Create an application in Anodot
Part 1 : Managing your API keys to enable API data access
IMPORTANT: Only users with the Owners role can perform the following steps in the Azure portal to enable API data access.
-
Navigate to the Azure portal and log in.
-
Navigate to Cost Management + Billing.
-
Click on Billing scopes from the navigation menu and then select the billing account that you want to work with.
-
Click on Usage + Charges from the navigation menu.
-
Click Manage API Access Keys to open the Manage API Access Keys dialog.
* Image sourced from the learn.microsoft.com knowledge base.
In this dialog, you'll do the following:-
View start and end dates for access keys (see the screenshots in the following procedures).
Generate and view primary and secondary access keys
-
Sign in to the Azure portal as an Enterprise administrator.
-
Navigate to Cost Management + Billing.
-
Navigate to Billing scopes from the navigation menu and then select the billing account that you want to work with.
-
In the navigation menu, select Usage + Charges.
-
Click Manage API Access Keys and then click Generate to generate the key.
-
Click the expand symbol and then click Copy to get the API access key for immediate use.
* Image sourced from the learn.microsoft.com knowledge base.
Revoke and regenerate access keys
-
Repeat steps 1 - 5 in Generate and view primary and secondary access keys.
-
To revoke a key, click the expand symbol and then click Revoke.
-
To regenerate a key, click the expand symbol and then click Regenerate.
Allow API access to non-administrators
If you want to give the API access keys to people who aren't enterprise administrators in your enrollment, perform the following steps. The steps below give API access to key-holders so they can view cost and pricing information in usage reports.
-
Sign in to the Azure portal.
-
Navigate to Cost Management + Billing.
-
Click Policies from the navigation menu.
-
Select On under the DEPARTMENT ADMINS CAN VIEW CHARGES section and then click Save.
-
Select On under the ACCOUNT OWNERS CAN VIEW CHARGES section and then click Save.
* Image sourced from the learn.microsoft.com knowledge base.
Retrieving the enrollment ID from the Azure portal
Note that the enrollment ID is a unique identifier for your Azure Enterprise Agreement (EA) enrollment. It is required for accessing Azure Cost Management and other EA-related services.
-
Sign in to the Azure Enterprise portal.
-
Click on Manage from the navigation menu.
-
Click the Enrollment tab, and then locate the "Enrollment Number" in the list of enrollment details.
-
Copy the "Enrollment Number" to retrieve the enrollment ID.
Alternatively, you can also find the enrollment ID by following these steps:
-
Sign in to the Azure portal.
-
Navigate to Azure Active Directory.
-
In the refreshed left navigation menu, click App Registrations. Then click All Applications.
-
Locate the application named "Microsoft Azure Enterprise".
-
Click on the application to view its details. The enrollment ID is listed under the Properties section.
Pass-keys in the API
You need to pass the API key for each call for authentication and authorization. Pass the following property to HTTP headers:
Part 2 : Connect your Azure account to the Anodot app
This procedure describes how to provide Anodot with the relevant information to establish a secure connection.
- Login to Anodot Cloud Cost.
- Click on your user email and navigate to the Account page.
- On the account menu navigate to the Cloud Account page and click on the Microsoft Azure icon
- Read the first page and click Let's Start.
- Select EA, and then click Next.
- Enter the following values that you located in Part 1.
- Click Save.
After completing this step, you will be able to see your data in Anodot within 24 hours.
Part 3 : Create an application in Anodot
The following steps will allow Anodot to receive data at the resource level and provide you with recommendations:
Azure side
-
Navigate to Azure Active Directory > App Registrations
-
Click on "Microsoft Azure Enterprise"
-
Copy the values of “Directory ID” + “Application ID” - you will need to insert them later when integrating with Anodot
-
Navigate to Certificates & Secrets and then click on New Client Secret
-
When creating the new client secret, select the Expires = 730 days option
-
Navigate to Certificates & Secrets and copy the Value of the client secret you just created and save it to one side - you will need to insert it later when integrating with Anodot
Anodot side
- Login to Anodot Cloud Cost
- Click on your user email and navigate to the Account page
- From the account menu, navigate to the App Registration page and click on REGISTER A NEW APPLICATION
- Enter all the values you saved from the previous explanation, and click Save
Upon completing these steps, the account will run (automatically every day), the application will be connected (you will see a green circle under the status), and you will start seeing recommendations.