Azure Client Authorization Configuration¶
The Script Market supports collecting cloud resources/cloud monitoring metrics through Azure App Registration and reporting them to TrueWatch. This document explains how to complete the collector authorization configuration.
Create an App Registration in Azure Portal¶
- In the
Microsoft Entra ID
page navigation bar, findApp registrations
and clickNew registration
. - Enter the application name as required, set
Supported account types
tothis organizational directory only
, and clickRegister
.
Authorize the Application¶
- Find the subscription that needs to be monitored, click
Access control (IAM)
, and selectAdd role assignment
. - Under the
Role
Tab, search forMonitoring Reader
and select it. - Under the
Members
Tab, clickSelect members
, search for the application name created above in the pop-up, select it, and clickSelect
. - Click
Review + assign
to complete the authorization.
Tip
Repeat this operation for other subscriptions that need to be monitored, or you can directly authorize the application in the management group (Management groups), so that the application will automatically have permissions for all subscriptions under the management group.
Create a Secret for the Application¶
- Under
App registrations
, find the application created above, clickMange
>Certificates & secrets
. - Select
Client secret
and click+ New client secret
, customize theDescription
, fill inExpired
as needed, and clickAdd
. - Copy the value of the secret (Azure Client Secret Value) for later use.
Script Market Collector Configuration¶
The parameters required for installing the Azure collector in the Script Market are as follows:
Azure Tenant ID
: Tenant IDAzure Client ID
: Application Registration Client IDAzure Client Secret Value
: Client Secret Value (mentioned above, needs to be copied for later use)
Among them, Azure Tenant ID
and Azure Client ID
can be found on the overview page of the application: