Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

...

  1. Log in to the Azure portal using a user with Admin agent role

  2. In the Home view, under Azure services, click Azure Active Directory. Or in the search box, enter Azure  Azure Active DirectorySelect Azure Active Directory.
    Image Removed

    Select Azure Active DirectoryImage Added


  3. On the left, click App registrations

  4. Click New registration.

    Under App registrations, click New registrationImage Modified
  5. 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.

    Register the applicationImage Modified
  6. Save the Application (client) ID and the Directory (tenant) ID, because you will need to configure them in Abiquo. Then click Certificates & secrets.

     Save the Application ID and Directory ID and go to Certificates and secretsImage Modified
  7. 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.
    Image Removed

    Add a client secretImage Added

    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.
    Image Removed

    Obtain the App passwordImage Added

...

Assign permissions to the App

...

For each of the permissions:

  1. Click + Add

  2. Click the (tick) Grant for … button

...

Category

...

  1. ... button

    1. Azure Service Management

...

    1. : user_impersonation

      Microsoft Graph

...

    1. : Application.ReadWrite.All

...

    1. , RoleManagement.ReadWrite.Directory

      Microsoft Partner

...

    1. : user_impersonation

      Microsoft Partner Center

...

    1. : user_impersonation

  1. After you add the permissions, and grant them for your account, the center of the screen should look as follows.

...

  1. Azure CSP API permissions for AppImage Added
  2. Add the application’s service principal to the Admin agents group in the CSP Partner’s Azure AD Active directory.

    You can search for

...

  1. Microsoft Partner

...

  1. and

...

  1. Microsoft Partner

...

  1. Center using their application

...

  1. IDs, which

...

  1. are 4990cffe-04e8-4e8b-808a-1175604b879f

...

  1. and

...

  1. fa3d9a0c-3fb0-42cc-9193-

...

  1. 47c7ecd2edbd respectively, in the

...

  1. APIs my organization

...

  1. owns section.

Configure authorization for the use of Azure ARM credentials in the multi-cloud platform

...

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.

...

Add the Azure CSP pricing and billing credentials to Abiquo

Before you add credentials, your begin:

  1. Your administrator must create at least one compatible public cloud region in Azure ARM

...

  1. They must allow your enterprise to access this region.

  2. 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 To add pricing and billing credentials for CSP accounts, in :

  1. Edit the main tenant,

...

  1. and go to CredentialsPricing

  2. Add the pricing credentials in the following format:

    Code Block
    csp#dir-id#app-id#accessToken#refreshToken

...

  1. So enter the text 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).

...

  1. Add billing enterprise properties in the reseller enterprise. The default values are as follows:

    1. azurecompute-arm_discount = 0

    2. azurecompute-arm_currency_code = USD

    3. billing.azure.country_code = US

    azurecompute-arm_price_factor = 1 (deprecated in Abiquo 6.1). For Abiquo 6.1+, go
    1. For more details, see Display Azure billing data.

  2. Go to PricingPrice factors and create a price factor factors for the reseller enterprise. See Manage price factors.

...

To activate compute and billing for a CSP customer, create :

  1. Create an app in the customer’s Active Directory

...

  1. Add the Azure ARM compute credentials to Abiquo for 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.

When customers have billing credentials, the billing data should display on the dashboard, see Display Azure billing data .