Tag: Send-MgUserMail

Latest Articles

Using an Azure Automation Runbook to Remove Teams Chat Threads

A previous article explains how to delete Teams chats using an interactive Microsoft Graph PowerShell SDK session. This article builds on that information and explains how to use an Azure Automation runbook to find and remove specified chat threads by scanning all user accounts. The results of the scan and any removed chat threads are emailed to a nominated address at the end of processing.

September 25, 2023

The Many Ways to Send Email via the Microsoft Graph

For those wanting to eliminate the SMTP AUTH protocol, Microsoft has three ways to send email using Graph APIs. This article looks at how to use the Send-MgUserMail cmdlet and compares it to the Send-MgUserMessage cmdlet (covered in depth in a previous article). Our conclusion is that you'll probably end up using Send0-MgUserMail because it's easier to use.

November 1, 2022