Automating Intune Primary User Assignments with PowerShell
Summary
If you've worked with Intune long enough, you've probably had that moment: you open
the portal, click into a device, and instantly notice the primary user is wrong.
It happens usually at the
intunelabs.hashnode.dev4 min read