how to monitor enterprise application in entra id using azure monitor

Kranthi Allam 0 Reputation points
2024-07-24T18:33:10.63+00:00

we have lot of enterprise application in entra id we have to monitor every time for cert expiry . I want to set up alert monitor for these event in azure monitor . how we can set up azure monitor for enterprise application (app registration ) events like Cert,secert that will expire in specific time . And i want to set alert for these event and it has to trigger SLACK channel . How we can integrate this .

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,315 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,080 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sedat SALMAN 13,985 Reputation points MVP
    2024-07-25T04:32:27.9666667+00:00

    here is step by step approach for you

    • Leverage the Microsoft Graph API to fetch certificate information for your enterprise applications.
    • Create an Azure Function (or Logic App) that periodically calls the Microsoft Graph API to retrieve certificate information.
      • You may need to loop through the applications to check for expiry dates.
    • Send the expiration data as custom logs to a Log Analytics workspace.
    • In your Log Analytics workspace, create Kusto queries to filter the custom logs based on certificate expiration dates.
    • Set up alerts in Azure Monitor that trigger when a certificate is approaching its expiration date.
    • Use an action group in Azure Monitor to send notifications to your Slack channel when an alert is triggered.

    for slack we have the following options and documents

    https://learn.microsoft.com/en-us/connectors/slack/

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.