Forum Discussion
Microsoft Teams PowerShell Module 7.6.0 is broken
that library is included in the bin\ folder of the same module
Did you remove the other old versions right?
Dear Andres, i have tried many troubleshooting's, like deinstall all Microsoft Graph and Teams Module and reinstall only latest Version. I can reproduce this Issue on different computers/servers with same result.
My latest idea was to execute the script with PowerShell 7 and there it runs. Also with older Teams Module, like 7.5.0 it works without any issue. Same error with latest 7.6.1 Preview Module
With Latest Version of Teams PowerShell Module (7.6.0), the File Version of Microsoft.IdentityModel.JsonWebTokens.dll is 8.3.0.51204, but the error mention Version 8.3.0.0 witch could not be loaded
Connect-MicrosoftTeams : Could not load file or assembly 'Microsoft.IdentityModel.JsonWebTokens, Version=
8.3.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
I do not know, what could be the root cause of the issue.
if it help, we can do a quick remote Troubelshooting Session by teams.
Many Thanks
ANDY