HPE Consumption Analytics Portal versions 4.1.0 to 4.1.2 included two collectors for Microsoft Azure, one named Microsoft Azure that collected by logging into the Microsoft Azure Enterprise Portal as a user, and a newer collector named Microsoft Azure (API) that collected via the Azure API. In November 2014 Microsoft made changes to the Microsoft Azure Enterprise Portal that prevented the older collector from working. If you are using a version of HPE Consumption Analytics Portal between 4.1.0 and 4.1.2, use the collector named Microsoft Azure (API).

HPE Consumption Analytics Portal version 4.1.3 removed the collector that logged into the Microsoft Azure Enterprise Portal as a user. The collector that used the Azure API to connect to your Microsoft Azure Enterprise Account was renamed as the Microsoft Azure collector. If you are using a version of HPE Consumption Analytics Portal between versions 4.1.3 and 4.2.9, use the collector named Microsoft Azure.

HPE Consumption Analytics Portal version 4.2.10 renamed the collector that connects to your Enterprise Account as the Microsoft Azure EA Billing collector, and added several new Azure collectors. If you are using HPE Consumption Analytics Portal version 4.2.10, use the new Microsoft Azure collectors, as described in Creating Microsoft Azure collections.

For more detailed information about collecting Microsoft Azure data, see the following topics:

Before you begin

HPE Consumption Analytics Portal supports only Azure accounts linked to an Enterprise Agreement, and which use a Microsoft Account (not an Organizational Account) to connect to Azure. Before you begin you must already have a Microsoft Azure Enterprise Agreement account set up.

Modify the Microsoft Azure data source named Azure1 to work with your Microsoft Azure account:

Navigate to Data > Setup > Sources.

Click the Azure1 data source.

In the Endpoint field, enter the URL for the Microsoft Azure Enterprise Portal, https://ea.azure.com.

In the Enrollment Number field, enter your Microsoft Enterprise Agreement enrollment ID. You can locate this at the top of the Microsoft Azure Enterprise Portal.

In the Access Key field, enter the string of characters (approximately 700 in number) used to authenticate access to the Microsoft Azure API. To obtain this key, on the Reports area of the Microsoft Azure Enterprise Portal go to Download Usage > API Access Key and see the value in the Primary Key field. Because the string is so long, you might find it easiest to copy and paste the string from the Microsoft Azure Enterprise Portal to the HPE Consumption Analytics Portal Access Key field. If you do this, note that double-clicking the string does not select all of the characters. To be sure you have selected all of the characters place your cursor in the Primary Key field and then press Ctrl-A.

Because keys expire (every 6 months by default), you will need to update your data source periodically. If data collection fails with an "HTTP/1.1 401 Unauthorized" error when connecting to the https://ea.azure.com endpoint, investigate whether you need to generate a new API key in the Microsoft Azure Enterprise Portal.

Click Save.

Create an Azure workbook:

Navigate to Data > Workbooks.

In the list of workbooks, right-click and select Add New Workbook.

Enter a Workbook Name and (optionally) a Workbook Description.

Check the Create Workbook from Template box, and then select the Microsoft Azure template.

Click OK. A new workbook opens, already containing the necessary collections and workflow.

Click Save to save the workbook.

Test your workbook:

In the Workbook ribbon, click Run. The Run Workbook dialog box opens.

In the Select Date field, enter the current date.

Select all of the collections and flows, and then click Run.

After the run finishes, click View Log at the bottom left of the dialog box to open the Monitoring window, where you can view the log for any specific collection or flow.

If your workbook test run did not complete successfully, or if it did not provide the data you need, edit the workbook and then run another test.

When you are done editing your workbook delete any test data loads:

Navigate to Data > Processing > Published Loads.

Select one or more entry rows and click Delete Load(s) at the top of the page.