Forum Discussion
kshabih
Apr 29, 2021Copper Contributor
MicrosoftTeams cmdlets not working with AccessToken
I am trying to run cmdlets from powershell module MicrosoftTeams (version 2.0.0) in a C# web application. I am using Authorization code flow and code from the answer provided in this post to acquire ...
kshabih
May 04, 2021Copper Contributor
et01267 No, I have not, but seems like a good idea. Are you able to find a solution yet?
et01267
May 04, 2021Brass Contributor
It seems that Microsoft has fixed (or reverted) whatever they broke, such that our config is now working after we switched back to the MicrosoftTeams 2.0 module and the same authentication method as you.
Note that there are a lot more threads around this issue:
https://microsoftteams.uservoice.com/forums/908686-bug-reports/suggestions/42946992-connect-microsoftteams
https://microsoftteams.uservoice.com/forums/908686-bug-reports/suggestions/42973929-microsoftteams-powershell-module-v2-0-0-get-csonli
https://techcommunity.microsoft.com/t5/microsoft-teams/microsoft-teams-powershell-module-v2-3-set-csuser-broken/m-p/2311166/highlight/false#M91536
Note that there are a lot more threads around this issue:
https://microsoftteams.uservoice.com/forums/908686-bug-reports/suggestions/42946992-connect-microsoftteams
https://microsoftteams.uservoice.com/forums/908686-bug-reports/suggestions/42973929-microsoftteams-powershell-module-v2-0-0-get-csonli
https://techcommunity.microsoft.com/t5/microsoft-teams/microsoft-teams-powershell-module-v2-3-set-csuser-broken/m-p/2311166/highlight/false#M91536