Category: Automation

  • Automatically set Intune Device Categories based on Inventory data

    Automatically set Intune Device Categories based on Inventory data

    Today I want to show you, how you can automatically set Intune Device Categories based on data already available in Intune / Entra, like Device Name, Device Model, Enrollment Profile Name, Join Type, etc. I found a few articles that will try to do similar, but most of what I found did not scale well…

  • Assign Device Tags in MDE using information from Intune and Entra ID

    Assign Device Tags in MDE using information from Intune and Entra ID

    Today I want to show you, how you can automatically assign Tags in Microsoft Defender for Endpoint based on information from Intune and Entra ID. The goal was to assign Tags containing the Company Name of the user from Entra ID of all Intune managed devices in MDE. If a device that had a Tag…

  • Entra ID Group for Intune Devices enrolled after a given date

    Entra ID Group for Intune Devices enrolled after a given date

    Today I want to show you a little script that allows you to dynamically populate a Entra ID group with Intune Devices that are enrolled after a given date. This can be useful in scenarios, where you want to rollout a new feature to newly enrolled devices, but not touch existing devices. Unfortunately, this is…

  • Convert AzureAD Registered “Personal” Devices to “Corporate”

    Convert AzureAD Registered “Personal” Devices to “Corporate”

    In our environment we had a lot AzureAD Registered Devices that were corporate owned, but couldn’t be AzureAD Joined or Hybrid AzureAD Joined due to some technical limitations One issue with this setup are the limitations that come with a device tagged as “Personal” in Intune like the missing App Inventory of these devices. But…

  • Automatically set Intune Primary User based on the logged on User

    Automatically set Intune Primary User based on the logged on User

    Searching for an easy solution to set the Intune Primary User automatically for a subset of devices? We have a simply solution for you. In our case we needed a solution to automatically set the Primary User for our Intune managed VDI. The VMs were all automatically AzureAD Joined via a Windows Configuration Designer PPKG,…

  • Set Intune Device ScopeTags based on User Locations

    Set Intune Device ScopeTags based on User Locations

    Want to use Scope Tags in Intune to allow different sites to only see their devices? I want to show you our solution to automatically tag devices based on the location of the “Enrolled by” User in Intune. We needed a solution for Windows / iOS and Android Devices to automatically assign Scope Tags based…