Search code examples
powershellmicrosoft-graph-apimicrosoft-teamsmicrosoft-graph-teams

Powershell Graph create Teams meeting/messages


I have been doing a fair amount of investigation into creating meetings in MS Teams, or just creating a post in a channel/chat. This MS documentation shows that only delegated permissions are able to post a message in Teams, while this documentation (which was linked to by this stackoverflow post) implies that creating a meeting is only available for Skype for Business, not Teams.

I am aware Power Automate does this and I have already gotten it to work, but we are looking into PowerShell alternatives due to the fact that we want to have more control over the data input for triggering the workflow.

Has anybody had success in creating long-term automated method for using Teams with PowerShell? The end goal is to have an automated messaging system that does not require a user to authenticate.


Solution

  • There is no other way to send a message without a user needing to login to their personal account.