Skip to content

Azure Cloud Billing

Collect Azure (Microsoft Cloud) cloud billing information

Configuration

Install Func

It is recommended to activate TrueWatch Integration - Extensions - DataFlux Func (Automata): All prerequisites are automatically installed. Please proceed with the script installation.

If you are deploying Func manually, refer to Manual Func Deployment

Activate Script

Note: Please prepare the required Azure app registration information in advance and assign the Monitoring Reader role to the app registration.

Automata Version Activation Script

  1. Log in to the TrueWatch console
  2. Click on the 【Integration】 menu and select 【Cloud Account Management】
  3. Click on 【Add Cloud Account】, select 【Azure】, and fill in the required information on the interface. If you have already configured the cloud account information before, you can skip this step.
  4. Click on 【Test】, and if the test is successful, click on 【Save】. If the test fails, please check if the relevant configuration information is correct and retest.
  5. In the 【Cloud Account Management】 list, you can see the added cloud account. Click on the corresponding cloud account to enter the details page.
  6. Click on the 【Integration】 button on the cloud account details page. In the Not Installed list, find Azure Cloud Billing, and click on the 【Install】 button. The installation interface will pop up for installation.

Manual Activation Script

  1. Log in to the Func console, click on 【Script Market】, and enter the TrueWatch script market. Search for integration_azure_billing_by_instance.

  2. Click on 【Install】, then enter the corresponding parameters: Azure Tenant ID, Azure Client ID, Azure Client Secret Value.

  3. Click on 【Deploy Startup Script】, the system will automatically create the Startup script set and configure the corresponding startup scripts.

  4. After activation, you can see the corresponding automatic trigger configuration in 「Management / Automatic Trigger Configuration」. Click on 【Execute】 to immediately execute it once without waiting for the scheduled time. Wait for a moment, and you can view the execution task records and corresponding logs.

Verification

  1. In 「Management / Automatic Trigger Configuration」, confirm if the corresponding task has the automatic trigger configuration. You can also check the corresponding task records and logs for any anomalies.
  2. In TrueWatch, check if the corresponding billing information exists in 「Cloud Billing / Billing Analysis」.