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 ...
et01267
Apr 30, 2021Brass Contributor
kshabih This seems to be something that Microsoft broke within the last day. We are having the same issue. Have you opened a support case with Microsoft?
- kshabihMay 04, 2021Copper Contributoret01267 No, I have not, but seems like a good idea. Are you able to find a solution yet?
- et01267May 04, 2021Brass ContributorIt 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- kshabihMay 06, 2021Copper ContributorWould you mind letting me see the actual code that works for you?