Send-MgUserMail Archives - Practical 365 Practical Office 365 News, Tips, and Tutorials Fri, 29 Sep 2023 08:59:48 +0000 en-US hourly 1 https://wordpress.org/?v=6.3.2 https://practical365.com/wp-content/uploads/2022/06/favicon.png Send-MgUserMail Archives - Practical 365 32 32 Using an Azure Automation Runbook to Remove Teams Chat Threads https://practical365.com/delete-teams-chats-azure/ https://practical365.com/delete-teams-chats-azure/#comments Mon, 25 Sep 2023 10:00:00 +0000 https://practical365.com/?p=59195 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.

The post Using an Azure Automation Runbook to Remove Teams Chat Threads appeared first on Practical 365.

]]>
https://practical365.com/delete-teams-chats-azure/feed/ 7
The Many Ways to Send Email via the Microsoft Graph https://practical365.com/send-email-powershell-graph/ https://practical365.com/send-email-powershell-graph/#comments Tue, 01 Nov 2022 10:00:00 +0000 https://practical365.com/?p=57352 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.

The post The Many Ways to Send Email via the Microsoft Graph appeared first on Practical 365.

]]>
https://practical365.com/send-email-powershell-graph/feed/ 4