Send notification when added to Team through PowerShell
When adding a user to a team using the Add-TeamUser cmdlet in Powershell, this does not send a notification to the user that they have been added to the team like when received when adding from the Teams GUI. Can standard Teams add notification emails be sent when doing this? We have many users when added in bulk not necessarily being made aware that they have been added to the team.
Benoit Fournier commented
We need a parameter to control the email sending
Tony French commented
We have the same, with a-lot of Guest accounts being added to a team via a script. Via the Teams Gui it sends a nice welcome to teams xyz and a download to Teams client if you need it.
With the powershell, Add-TeamUser it is not possible to send this same welcome message as the Gui.
Maybe a -SendInvitationMessage parameter like the one available in New-AzureADMSInvitation?