Autoreply MS teams powershell script
Tito Chen
0
Reputation points
Hello there!
I'm looking for an autoreply script in PowerShell for my MS Teams user. Does anyone know any script?
I tried the following script, but it got me this error:
Get-MgUserChat : Authentication needed, call Connect-MgGraph.
No C:\projetos\teste.ps1:18 caractere:1
+ $privateChats = Get-MgUserChat -PageSize 50
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-MgUserChat_List1], AuthenticationException
+ FullyQualifiedErrorId : Microsoft.Graph.PowerShell.Cmdlets.GetMgUserChat_List1
Windows for business | Windows Server | User experience | PowerShell
Sign in to answer