Forum Discussion
LC-DP
Sep 27, 2022Copper Contributor
Connect-MicrosoftTeams with credential
Hello Community Members, We are currently using the `Connect-MicrosoftTeams -Credential ` to automate our powershell script that signs in with usename and password. We wonder if the basic authent...
LainRobertson
Sep 28, 2022Silver Contributor
Speaking to your question about direction first, Microsoft's been moving away from basic authentication across multiple fronts, including Exchange (as you've noted.)
If you look at the current "description" section from the Connect-MicrosoftTeams commandlet, you can infer from the "note:" that they are already in the early stages of migrating away from basic authentication, though clearly there's some distance to go given the caveats listed.
A quick search shows more Teams-centric caveats, reinforcing the idea this is very early days:
I think the intention to move away is fairly clear. It's just the timeframe that isn't.
Cheers,
Lain
Edited: Minor spelling correction.