Jul 08 2022 07:47 AM
Hi,
We're encountering this error when we do Connect-MicrosoftTeams using access tokens.
Here's our scenario:
Given:
Steps:
We're not entirely sure but our guess was due to missing UPN claims from the Graph/Teams tokens. If we do the same steps above with a user from within our tenant, then it would complete properly. It only happens when we use a guest user with admin privileges.
Any ideas or suggestions would be greatly appreciated!
Cheers,
Jason
Jul 11 2022 01:13 AM
Jul 13 2022 05:09 AM
@jasonbrl - Could you please try out with the following command-
Connect-MicrosoftTeams -AccessTokens @($graphtoken, $teamstoken) -AccountId User@company.com
Jul 14 2022 06:41 AM
Jul 15 2022 04:27 AM
Hi @Sayali-MSFT , thanks for the suggestion. However when I tried the command, I was getting this error
Jul 19 2022 12:09 AM
Jul 21 2022 03:47 AM
Jul 22 2022 05:39 AM
Jul 25 2022 12:16 AM