To obtain details of your Azure subscription, do the following steps. - Log in to the Azure portal
- In the Home view, under Azure services, click Subscriptions. Or in the search box in the top menu bar, enter Subscriptions. Then select Subscriptions
Click on your subscription Info |
---|
| If the subscription does not display, check that you have selected the correct directory. Click on the directory name in the top right corner. From here you can switch directory |
Save the Subscription ID to enter in the Abiquo credentials. If you purchased the subscription directly from Azure, you can also save the Offer ID for the pricing credentials.
Create an ARM application using Azure PortalAbiquo uses the ARM application ID to access the ARM API and compute features. To create an ARM application using the Azure Portal and obtain details of the application, do these steps. - Log in to the Azure portal
- In the Home view, under Azure services, click Azure Active Directory. Or in the search box, enter Azure Active Directory. Select Azure Active Directory
- On the left, click App registrations
- Click New registration
To register the application, enter a Name, select the Supported account types, and enter a URL. If you know the URI of the partner consent service, enter it now. Or you can enter any URL and edit the application and change this value later. Click Register
Save the Application (client) ID and the Directory (tenant) ID, because you will need to configure them in Abiquo. Then click Certificates & secrets To configure the password for the application, click New client secret, which will open the Add a client secret section. Enter a Description and an Expiry duration, then click Add
The Azure portal will display the application password ONCE ONLY. You must use this password in Abiquo, so make sure to save it, because Azure will not display it again.
Go to the Subscriptions menu, select the subscription you want to associate the application with, and add a new permission for it with these steps. Select Access control (IAM) Click Add - Click Add role assignment
In the dialog, select the Contributor role, and in the Select box, enter the name of the application. Then click Save
Go to the Subscriptions menu again and select Resource providers Search for the Microsoft.Compute provider and click Register to add it for the subscription if it is not already added Search for the Microsoft.Network provider and click Register to add it for the subscription if it is not already added
As Azure now requires multi-factor authentication for CSP credentials, you must authorize the use of your credentials in the multi-cloud platform to obtain your access and refresh tokens for use in pricing credentials. The refresh tokens will expire if you do not use them during a 90-day period. To create your own server to grant consent for the use of your Azure credentials, follow the instructions in the Azure documentation. For general instructions, see https://docs.microsoft.com/en-us/partner-center/develop/partner-center-authentication#app--user-authentication and for Java instructions: https://docs.microsoft.com/en-us/partner-center/develop/partner-center-authentication#java-appuser-authentication. To complete the configuration: - Log in to the Azure portal
- Edit your Azure application
- In the Redirect URI, enter the URL of the partner consent service.
Include Page |
---|
| Obtain Azure access and refresh tokens for pricing and billing |
---|
| Obtain Azure access and refresh tokens for pricing and billing |
---|
|
Add the Azure ARM compute credentials to AbiquoBefore you add credentials, an administrator must create at least one compatible public cloud region in Azure ARM, and allow your enterprise to access this region. Some regions may require separate credentials, for example regions in China, and you will need to obtain credentials and create these regions separately. See Create a public cloud region. To connect Abiquo to your Azure ARM account, add the Azure ARM credentials obtained in the above steps to Abiquo, with the following steps. - Log in to Abiquo
- Go to Users view
- Edit the enterprise and go to Credentials → Public
- Select the Azure ARM provider, and enter the credentials in the following format.
Add the Azure CSP Pricing and Billing credentials to AbiquoBefore you add credentials, your administrator must create at least one compatible public cloud region in Azure ARM, and allow your enterprise to access this region. Some regions may require separate credentials, for example regions in China, and you will need to obtain credentials and create these regions separately. See Create a public cloud region Standard accountsFor Azure, the format of the pricing credentials identity for standard Azure accounts is as follows. Identity Code Block |
---|
normal#subscription-id#app-id#tenant-id#offer-durable-id |
The text string "normal#" indicates a standard account. We recommend that you specify the "normal#" text string, even though it is the default option. The Offer-Durable-ID is the Offer ID from the Azure portal. See Display Azure billing data for billing dashboard instructions. - Credential: Enter the password for the Application
CSP accountsFor CSP accounts, the main tenant should add the pricing credentials in the following format: Code Block |
---|
csp#tenantId#clientId#accessToken#refreshToken |
The customer tenants do not need to add pricing credentials. The platform will use the CSP credentials for the customer tenants in the hierarchy. |