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
az ad sp create-for-rbac --display-name "<APP_NAME>" --years=2 -o table
<APP_NAME>
: AD app name of your choiceAfter 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.
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
Click on Azure Provider
Click on Connect manually
Click on Connect Billing Account
Enter the details which you have captured above.
Click on connect & done.
If one of the providers is onboarded, follow the steps below to onboard additional providers.
Navigate to Menu > Admin > Public Clouds > +Account.
Click on Azure Provider & Click on Manual tab
Enter the details which you have captured above.
Click Connect
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.
Go to the Menu option and Click Cost.
Data will display immediately after successful ingestion.
<<Previous ---------------------------------------------------------------------------------------------------------- Next>>