Microsoft Graph
A Simple Script for M365 Licenses
You need to juggle M365 Licenses, but you need to see who has them first? It seems simple, it is,…
Set-MgUserLicense Not Working
You have used this command many times before but Set-MgUserLicense Not Working? Why? There could be many reasons why but…
Disable Per User MFA With MS Graph
You may not know this, but if you don’t Disable Per User MFA for your users before you start enforcing…
Use Get-PublicFolderItemStatistics for Notifications
You can Use Get-PublicFolderItemStatistics for Notifications to your advantage if you are an M365 administrator. Especially if you are in…
How to Send HTML Mail In PowerShell
To Send HTML Mail email in PowerShell requires you to use Microsoft Graph. Send Mail is now depreciated and you…
The Correct Way To Send Mail In PowerShell
Are you still using Send-MailMessage to Send Mail In PowerShell? You need to stop. The command needs SMTPAuth enabled for…
Trapping Errors in MS Graph
I was tasked with automating how Outlook contacts are written to a users profile using Microsoft Graph. I wrote about…
Prepopulating Outlook Contacts with the Graph API…Another Way
I had a project at work where I needed to streamline uploading contacts from a public folder to a user’s…
