Table of Contents |
---|
...
Log in to the Azure portal using a user with Admin agent role
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 (Account in any organizational directory), 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.
...
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.
...
Before 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.
For CSP accounts, the main tenant should add the pricing credentials in the following format:
...
This means you should enter the text "csp" csp#
, the Directory (tenant) ID, Application (client) ID, access token, and refresh token as a single string and separate each element with a '#
' number/hash character.
The customer tenants do not need to add pricing credentials. The platform will use the CSP credentials for the customer tenants in the hierarchyTo activate compute and billing for the CSP customer, create an app in the customer’s active directory and add the credentials to the customer enterprise.
If your customers will use billing only, then you can enter the subscription and tenant details only. See Add credentials of Azure reseller customers for billing only.
For the billing dashboard, add the access token and refresh token to the configuration. See see Display Azure billing data.