Skip to main content
Skip table of contents

Azure Billing Account Manual CLI Onboarding

The steps below need to be executed in the Azure Cloud Shell. Please log in to the Azure portal and launch the Cloud Shell from the navigation bar.

To create Azure Active Directory (AAD) app, it is recommended to have the Owner role. Alternatively, you can have both the Contributor and User Access Administrator roles.

Step-1: Create AD Application

  • Execute the following command to create AD App

CODE
az ad sp create-for-rbac --display-name "<APP_NAME>" --years=2 -o table
  • <APP_NAME>: AD app name of your choice

  • After executing the command, capture the App id, Password(secret) & Tenant.

To assign permissions to the Azure Active Directory (AAD) app, it is recommended to have the Owner role. Alternatively, you can have both the Contributor and User Access Administrator roles.

Step-2: Assign permission to the app

If you are onboarding billing scope as billing, Follow the below steps for assigning permission to the app

a. Login to Azure console > Click on Menu > Cost Management + Billing > Access Control (IAM)

b. Click Add > Select the Billing account reader > Enter the app created in Step-1 above.

Follow this link to get detailed steps Step-2: Assign permissions to the app

If you are onboarding subscription scope as billing. Execute the following command to assign permission to the app.

CODE
az role assignment create --assignee "<APP_ID>" --role "Cost Management Reader" --scope /subscriptions/<SUBSCRIPTION_ID>
  • <APP-ID>: AD app id captured in Step-1

  • <SUBSCRIPTION_ID> : Your subscription id you wish to onboard

Step-3: Retrieve Account ID

Follow the steps to get the account id Step-3: Retrieve Account ID

Step-4: Submit Details in DigitalEx

Get the details Tenant ID, Client ID, Client Secret, Account ID.

Follow the below steps to onboard the billing account in DigitalEx.

If none of the providers is onboarded, follow the below steps.

If one of the providers is onboarded, follow the link Azure Connect Billing Account for Partner to onboard additional providers

  1. Click on Azure Provider

  2. Click on Connect manually

  1. Click on Connect Billing Account

  1. Enter the details which you have captured above.

  2. Click on connect & done.

If one of the providers is onboarded, follow the steps below to onboard additional providers.

  1. Navigate to Menu > Admin > Public Clouds > +Account.

  1. Click on Azure Provider & Click on Manual tab

  2. Enter the details which you have captured above.

  1. Click Connect

  2. The onboarded Billing Account will be displayed with the list of All linked Subscription accounts.

After adding a new account, it may take up to 30 minutes for the system to discover and process the data.

  1. Go to the Menu option and Click Cost.

  1. Data will display immediately after successful ingestion.

<<Previous ---------------------------------------------------------------------------------------------------------- Next>>

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.