Introduction
Proactive remediations in Endpoint analytics will help your organization to fix common issues automatically. Stuff that you know are broken or reoccur can be automated and your helpdesk and Admins will save time. It can also be used for monitoring in your environment, and in this blog post I will show you how to monitor your windows clients are licensed. This can save you some time when Microsoft Audit visit.

Prerequisites
https://docs.microsoft.com/en-us/mem/analytics/proactive-remediations#bkmk_prereq
Licensing
https://docs.microsoft.com/en-us/mem/analytics/proactive-remediations#licensing
Permissions
https://docs.microsoft.com/en-us/mem/analytics/proactive-remediations#permissions
Example how to monitor Windows is activated
Go to https://endpoint.microsoft.com/
Reports -> Endpoint analytics (Preview) -> Proactive remediations
Create Script Package

Add text that document itself

Add script
Can be downloaded from here
If you wonder where the values came from, check out this site

Leave out the remediation script unless you like to activate devices that turns out not to be licensed.

Assign a group to apply remediation to

Using a test group to start with where the only member is myself

Create
Now sit back and relax. From now and the next 24 hours you will see info from the script.
Other script resources ready to copy and paste to your environment
https://docs.microsoft.com/en-us/mem/analytics/powershell-scripts
Summary
Proactive remediations in Endpoint analytics can be used as reporting and not only for fixing broken stuff.



Happy testing!