- Print
- DarkLight
Azure Monitor is a scalable cloud service that processes and stores large amounts of data, although Azure Monitor can monitor resources that are on-premises and in other clouds.
Setup and Configure
Azure Log Monitor Analytics API requires the OAuth 2.0 integration. To set up that integration, start by registering the application in Microsoft Entra ID (Admin role on Azure portal is required to perform the following actions).
You will need to provision read API permissions for Log Analytics.
Now that your app is registered and has permissions to use the API, grant your app access to your Log Analytics workspace. From the Home page of the Azure portal, search for Log Analytics Workspace and select your workspace.
From your Log Analytics workspace overview page, select Access control (IAM). Select Add role assignment.
Select the Reader role and then select Members.
On the Members tab, choose Select members. Enter the name of your app in the Select box. Select your app and choose Select. Select Review + assign.