Planning your Intune/Autopilot Migration

Moving to a fully managed Intune/Autopilot/Entra ID setup is not an overnight task, it needs careful planning and migration, no-one is expecting you to wipe every device and instantly move to Autopilot, that simply isn’t realistic for larger organisations. That’s not to say give up now and don’t bother, especially with Windows 10 EOL looming … Read more

Microsoft Intune PowerShell app reg and scripts EOL

If you have ever used the original GitHub selection of PowerShell Intune Samples from Microsoft at the URL below, it will have included a hard-coded application registration (multi-tenant) which will be removed from the Microsoft tenant on 1st April and at that point your scripts will stop working. https://github.com/microsoftgraph/powershell-intune-samples How do I know if I … Read more

Getting started with Graph and Azure Automation

Whilst I have many scripts which run in Azure runbooks (some are designed to do so), I’ve never actually covered how to setup your first automation account to use with Graph so now is the time to sort it! Pre-requisites Creating an account Adding modules Creating an app reg Authenticating with secret Authenticating with certificate … Read more

Automating Intune corporate device identifiers

If you deal with Teams Rooms devices, you will no doubt have come across device identifiers as a way of specifying certain devices to enroll as corporate rather than personal. This post won’t cover what they are or how to manually add them as that is well covered on the Microsoft site: https://learn.microsoft.com/en-us/mem/intune/enrollment/corporate-identifiers-add Instead we … Read more

Winget PowerShell module

I’ve been using Winget for a while now and whilst it’s fantastic, the command line interface sometimes wasn’t ideal, especially as I tend to live in PowerShell and like to be able to manipulate the output a bit. For my winget scripts, I have been using some functions put together for an old Microsoft event … Read more

Intune Newsletter – 17th November 2023

Welcome to the post-Ignite newsletter. I hope all of you who managed to attend in person had a great time! Community Content Video Content Microsoft Content Ignite News Community Content We start this week with a guide on how to further secure your Android devices using Defender for Android from Niklas Rast Empowering Android Enterprise … Read more

Creating a custom Winget Repo

Winget is an excellent tool, but in some organizations you may not want to use the community repo (although all apps are checked), or you may want to host your own internal apps, but deploy and update via Winget. One option is to simply use a custom manifest which I have covered here The more … Read more

Enumerating the logged on user when running as system with Azure AD/Entra joined devices

Sometimes when running scripts in the system context with Intune we need to query the local user, whether that is the registry, or the local drive (Requirements scripts, detection scripts where you can’t switch to current user are a good example) Using the environment variables won’t work at the system level as it will just … Read more