Close Menu
Peter Klapwijk – In The Cloud 24-7Peter Klapwijk – In The Cloud 24-7
    Facebook X (Twitter) Instagram
    Peter Klapwijk – In The Cloud 24-7Peter Klapwijk – In The Cloud 24-7
    • Home
    • Intune
    • Windows
      • Modern Workplace
    • macOS
    • Android
    • iOS
    • Automation
      • Logic Apps
      • Intune Monitoring
      • GitHub
    • Security
      • Passwordless
      • Security
    • Speaking
    • About me
    Peter Klapwijk – In The Cloud 24-7Peter Klapwijk – In The Cloud 24-7
    Home»Automation»How to monitor your Microsoft Intune tenant with Logic Apps
    Automation

    How to monitor your Microsoft Intune tenant with Logic Apps

    Peter KlapwijkBy Peter KlapwijkSeptember 16, 2022Updated:February 14, 20257 Mins Read

    I have been working with Microsoft Intune for about 6 years now and have seen it involved from the Silverlight portal to the current Microsoft Endpoint Manager admin center which we have today. A lot has changed, new features are released every month and the product becomes better and better.

    But a feature that I still miss is some sort of monitoring of the Intune environment with notifications. Off course, all the information is available in the Intune portal itself, but I’m not continuously having a look at the service health blade. Or having a look at the auditing data of Intune to see if somebody changed one of the production policies.

    So, for some of the Intune parts I’d like to monitor and receive a notification of, I’ve built my own monitoring and notification solution. As all this information is available via Microsoft Graph, there are several ways to pull this data from Graph and process it further. As I’m not a scripting guru, I decided to use Microsoft Logic Apps for my solutions.

    With a Logic Apps HTTP action, I can pull the data from Microsoft Graph on a recurring base, process the information to my needs, and send a notification to a Microsoft Teams channel for example, or create a CSV report and send it to my mailbox.

    On this website, I shared several different Intune monitoring solutions in the “Intune Monitoring series”, which I briefly share in this article to give you a quick overview of the possibilities you can easily create yourself.

    • Get your Windows Autopilot deployment events in a Teams channel with Logic Apps (Part 1+Part 2)
    • Get Intune (or other Microsoft 365) Service Health messages in a Teams channel
    • Get notified on Intune Configuration profile changes
    • Monitor security baselines in Endpoint Security
    • Autopilot Profile Assignment Monitoring
    • MEM Assignment monitoring to keep your tenant cleaned up
    • Get notified on expiring Intune LOB apps
    • Create a Windows Driver update approval report with Logic Apps

    Get your Windows Autopilot deployment events in a Teams channel with Logic Apps

    One of the first Logic Apps flows I built was one to receive notifications once an hour, of the Autopilot enrollments. At my employer we already received such kinds of notifications in Teams when a machine finished the imaging process with SCCM, I wanted to investigate if something like that was also possible for Autopilot enrollments.

    We have the Autopilot deployments tab in the monitor section available (in preview) in the Intune portal, so at least the data is available. With a Teams webhook, it is possible to send a message of every successful or failed deployment to a Teams channel.

    If you’re interested in the solution, the blog post can be found here.

    Get Intune Service Health messages in a Teams channel

    I would also like to receive service health messages related to Intune in my Teams app. I know this information can be easily sent via email, but I’d like to receive this in Teams. Again, I built a flow in Logic Apps, to pull the service health messages via Microsoft Graph (at the beginning via the Office 365 management API, which is now deprecated) and sent the messages to a Teams channel.

    This solution could also be used to receive all Microsoft 365 service health messages, or you can filter out any other service. The full article on this topic can be found here.

    Get notified on Intune Configuration profile changes

    You have configured your configuration profiles, compliance policies etc. in Microsoft Intune and after a lot of testing, piloting, and even more testing you are now live in production! Time to celebrate!

    But now that the environment is in production, a change in one of your production profiles might have a (big) impact on the user experience and maybe a policy change might even need approval by the Change Advisory Board.

    Policy changes can be found in the audit logs, but you might want to receive a notification when a production profile is changed.

    In this blog post I wrote, I show a flow that runs every hour and sends a Teams message of every profile change which is done in the previous hour.

    Another option would be to run the flow on a daily or weekly basis and create a CSV report which you receive via email.

    Monitor security baselines in Endpoint Security

    In Intune, we have several security baselines available. If you are using these security baselines, it is important to keep track of new versions of the baselines. If a new version is available, you want to review the (new/ changed) baseline settings and apply these to your devices. But out of the box, there is no notification for this.

    Besides that, if you want to keep your environment clean up, you might also want to get notified when you gave baseline profiles that are not assigned.

    Again, Logic Apps and Microsoft Graph are to the rescue as you can read in this post.

    MEM Assignment monitoring to keep your tenant cleaned up

    I don’t know what your Intune (lab) tenant looks like, but at least my lab tenants become a bit messy. I would like to receive a report occasionally with an overview of all the items in Intune which are not assigned anymore and might get cleaned up. After reviewing the listed configuration items, I can decide whether to delete the items or not.

    The flow which I created and shared in this post, pules almost every item which is found in Intune, besides the unassigned applications. To grab all other items, besides the apps, via Graph the flow already gets a bit large. So, a flow to monitor the unassigned apps will be a separate one (in the future ?).

    This flow can be found here.

    Autopilot Profile Assignment Monitoring

    This is a flow that I created after a question that was asked in the Modern Endpoint Management LinkedIn group.

    This guy wanted to get notified on Windows Autopilot registrations that do not have a deployment profile assigned, so he is sure during enrollment of a device always a profile is assigned.

    Ok, no problem. I created a simple flow that grabs the Windows Autopilot device identities from MS Graph and determines the value of the Assignment status. If this is not assigned, a message is sent via a Teams webhook.

    The blog post is found here.

    Create a Windows Driver update approval report with Logic Apps

    In this blog post, I describe a Logic Apps flow that creates an Excel overview of all the Windows Drivers that need to be reviewed in Intune. The Excel sheet is send via e-mail, that functions as reminder to review the new published drivers.

    This is related to the feature to manage Windows drivers and firmware with Microsoft Intune.

    The blog post is found here.

    Wrap up

    Currently, these are all the Intune monitoring Logic Apps with notifications I created to keep an eye on the Intune environment. But probably more will follow.

    To create one of these yourself, just follow all the steps in the blog post. You will learn how to create these flows and all the necessary actions to create the flow.

    But I also shared the flows on my GitHub repository, for easy deployment most with Bicep files (and the others will follow).

    In case you start using a (user-assigned) Managed Identity instead of an App Registration for authentication to MS Graph, read this article on how to create such an identity.

    Let me know what you think of the solutions and if you think something is missing from the list of items to monitor, let me know in the comments here or under one of the articles!

    Intune Intune Monitoring Logic Apps MEM MEMMonitoring Power Automate
    Share. Facebook Twitter LinkedIn Email WhatsApp
    Peter Klapwijk
    • Website
    • X (Twitter)
    • LinkedIn

    Peter is a Security (Intune) MVP since 2020 and is working as Modern Workplace Engineer at Wortell in The Netherlands. He has more than 15 years of experience in IT, with a strong focus on Microsoft technologies like Microsoft Intune, Windows, and (low-code) automation.

    Related Posts

    MEM Monitoring: Monitor Security baselines in Endpoint Security

    August 16, 2022

    Create an application-based Azure AD group with Logic Apps

    May 9, 2022

    Export Endpoint Analytics Proactive remediation data with Logic Apps

    April 19, 2021
    Add A Comment
    Leave A Reply Cancel Reply

    Peter Klapwijk

    Hi! Welcome to my blog post.
    I hope you enjoy reading my articles.

    Hit the About Me button to get in contact with me or leave a comment.

    Awards
    Sponsor
    Latest Posts

    Managing Windows 365 Link devices with Intune

    October 24, 2025

    Hard drive and partitions are not shown while installing Windows

    October 14, 2025

    Intune compliance for Windows 365 Cloud PCs

    September 12, 2025

    Intune connector for Active Directory configuration error

    August 29, 2025
    follow me
    • Twitter 4.8K
    • LinkedIn 6.1K
    • YouTube
    • Bluesky 1.5K
    Tags
    Administrative Templates Android Automation Autopilot Azure Azure AD Browser Conditional Access Edge EMS Exchange Online Feitian FIDO2 Flow Graph Graph API Identity Management Intune Intune Monitoring iOS KIOSK Logic Apps macOS MEM MEMMonitoring Microsoft 365 Microsoft Defender Microsoft Edge Microsoft Endpoint Manager Modern Workplace Office 365 OneDrive for Business Outlook Passwordless PowerApps Power Automate Security SharePoint Online Windows Windows 10 Windows10 Windows 11 Windows 365 Windows Autopilot Windows Update
    Awards
    Sponsor
    Follow me on Twitter
    Tweets by inthecloud_247
    Tags
    Administrative Templates Android Automation Autopilot Azure Azure AD Browser Conditional Access Edge EMS Exchange Online Feitian FIDO2 Flow Graph Graph API Identity Management Intune Intune Monitoring iOS KIOSK Logic Apps macOS MEM MEMMonitoring Microsoft 365 Microsoft Defender Microsoft Edge Microsoft Endpoint Manager Modern Workplace Office 365 OneDrive for Business Outlook Passwordless PowerApps Power Automate Security SharePoint Online Windows Windows 10 Windows10 Windows 11 Windows 365 Windows Autopilot Windows Update
    Archives
    Peter Klapwijk

    Hi! Welcome to my blog post.
    I hope you enjoy reading my articles.

    Hit the About Me button to get in contact with me or leave a comment.

    Copy right

    This information is provided “AS IS” with no warranties, confers no rights and is not supported by the authors, or In The Cloud 24-7.

     

    Copyright © 2025 by In The Cloud 24-7/ Peter Klapwijk. All rights reserved, No part of the information on this web site may be reproduced or posted in any form or by any means without the prior written permission of the publisher.

    Shorthand; Don’t pass off my work as yours, it’s not nice.

    Recent Comments
    • Luis on Application installation issues; Download pending
    • AndrewWak on Issues syncing SharePoint Online libraries with OneDrive for Mac
    • Peter Klapwijk on Deploy Microsoft Defender updates in deployment rings
    • Magnus on Deploy Microsoft Defender updates in deployment rings
    • Gertjan Jongeneel on Add an Azure AD group to the local administrators group with Microsoft Intune
    most popular

    Application installation issues; Download pending

    October 1, 2024

    How to change the Windows 11 language with Intune

    November 11, 2022

    Restrict which users can logon into a Windows 10 device with Microsoft Intune

    April 11, 2020

    How I solved a strange Kerberos issue

    December 12, 2024
    Recent Comments
    • Luis on Application installation issues; Download pending
    • AndrewWak on Issues syncing SharePoint Online libraries with OneDrive for Mac
    • Peter Klapwijk on Deploy Microsoft Defender updates in deployment rings
    • Magnus on Deploy Microsoft Defender updates in deployment rings
    • Gertjan Jongeneel on Add an Azure AD group to the local administrators group with Microsoft Intune
    Copy right

    This information is provided “AS IS” with no warranties, confers no rights and is not supported by the authors, or In The Cloud 24-7.

    Copyright © 2023 by In The Cloud 24-7/ Peter Klapwijk. All rights reserved. No part of the information on this web site may be reproduced or posted in any form or by any means without the prior written permission of the publisher.

    Shorthand: Don’t pass off my work as yours, it’s not nice.

    Peter Klapwijk – In The Cloud 24-7
    X (Twitter) LinkedIn YouTube RSS Bluesky
    © 2025 ThemeSphere. Designed by ThemeSphere.

    Type above and press Enter to search. Press Esc to cancel.

    Manage Cookie Consent
    To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
    Functional Always active
    The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
    Preferences
    The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
    Statistics
    The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
    Marketing
    The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
    Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
    View preferences
    {title} {title} {title}