Forum Discussion
Connect-MicrosoftTeams Errors
I think the problem is that you are trying to do both accountid and credentials.
have you tried only just to run
Connect-MicrosoftTeams
and are you running the 0.9.1 commands?
- Robbert van AndelFeb 07, 2018Brass Contributor
Yes, running version 0.9.1. I can do connect-microsoftteams and that works but I'm working on an unattended script, so leaving connect-microsoftteams with no credentials won't be an option.
- Robbert van AndelFeb 12, 2018Brass Contributor
I ended up opening a ticket with Microsoft. It turns out that my organization's Ping sign in system doesn't support SAML 2.0, which the Teams PowerShell API requires. We will need to upgrade to be able to do what I'm attempting to do.
- Bryan WellsFeb 14, 2018Copper Contributor
More specifically, can anyone confirm if the entire protocol needs to be SAML 2.0, or just the token? Since PowerShell seems to be using the WS-Trust flow for Teams, would changing the token to SAML 2.0 (it defaults to 1.0) be sufficient?