You might have read it a few times… The Azure AD and MSOnline PowerShell modules are deprecated, and scripts that use Cmdlets from these modules should be updated to use Microsoft Graph Cmdlets. In this blog post, I will show you a script to scan for them and also which replacement Cmdlets you should use instead.
Category: Microsoft Graph
Using the EntraExporter PowerShell module
In the past, I used LDIFDE or CSVDE to export Active Directory information. For Entra ID, there's EntraExporter from Merill Fernando 🙂 In this blog post, I will show you how it works.
Query the required permissions of a Microsoft Graph cmdlet
Microsoft Graph can be difficult sometimes. There are loads of PowerShell Microsoft Graph Modules and cmdlets that require different permissions. In this blog post, I will show you how to query the permissions for a cmdlet, multiple cmdlets, or all cmdlets from a specific Microsoft Graph module.
Discovering the required Microsoft Graph Permissions using PowerShell or Graph Explorer
When using Microsoft Graph to connect to Azure, Intune, etc., you have to grant the correct permissions and use the proper (and safe 😉 ) scopes to connect. This blog post will show a few ways to gather that information.
Running Azure Cloud Shell locally using Docker
Azure Cloud Shell is a tool I use often and is easy to access from the Admin pages in Azure and 365. You can also use those tools in a local container and connect to it using the command line or Visual Studio Code. In this blog post, I will show you how to install everything and connect and use it locally.
Intune Autopilot report using Microsoft Graph
One of the best things about Microsoft Intune is Windows Autopilot. In this blog post, I will show you how to create a report of the current status of Windows Autopilot in your tenant.
PowerShell, Intune, and Microsoft Graph X-Ray
I used Microsoft Graph X-Ray as a tool for getting the PowerShell cmdlets needed for scripting specific actions in the Azure / Entra ID portal in the past. But you can also use it for Intune 🙂 In this blog post, I will show you how this works.
Retrieve Intune Device Primary User and all users ever logged on to that device
One of our customers wanted to know per device which the real Primary User was and the user logon date of every user that used that device. (They have some shared devices.) In this blog post, I will show you how to retrieve that information from Intune and export it.
Experts Live Netherlands 2023
This week the annual Dutch Experts Live meeting was there again in Den Bosch, I was there together with some of my colleagues from NEXXT, and this is my impression of the event 🙂
Using Send-MgUserMail as the Send-MailMessage replacement
I have often used the Send-MailMessage cmdlet to test Receive Connectors in Exchange or email reports in scheduled PowerShell scripts. When you try to use the Send-MailMessage cmdlet, it has been showing you this message for quite a while now: WARNING: The command 'Send-MailMessage' is obsolete. This cmdlet does not guarantee secure connections to SMTP servers. While no immediate replacement is available in PowerShell, we recommend you not use Send-MailMessage. See https://aka.ms/SendMailMessage for more information. In this blog post, I will show you the new way of sending emails using Send-MgUserMail.