Forum Discussion
PhoneMe007
Mar 24, 2021Brass Contributor
Authenticating with an access token Connect-MicrosoftTeams
Has anyone tried authenticating with an access token (using -AadAccessToken or -MsAccessToken)? The old version of New-CsOnlineSession had an -OAuthAccessToken param, which accepted a jwt with the PS ...
- Oct 15, 2021FYI - I raised a ticket, and it should be fixed by mid november.
Issue description:
Cannot properly run Connect-MicrosoftTeams -AccessTokens
Resolution Steps:
Escalated case with our engineering Team
Issue is known bug and currently being fixed
Expecting a fix to go out by NOV mid
PhonesNZ
May 19, 2021Copper Contributor
I am also finding that when connecting with access tokens the Get-CSOnlinePSTNGateway and anything that used to be connected via the new-csonlinesession no longer functions.
If you log in with Connect-MicrosoftTeams interactively then it will work, but this is undesirable for our automation requirements.
Module version 2.3.1
If you log in with Connect-MicrosoftTeams interactively then it will work, but this is undesirable for our automation requirements.
Module version 2.3.1
- Sridevi-MSFTMay 19, 2021
Microsoft
We have implemented a fix which will be available when the 3.0.0 version is released.- MattLadewigAug 26, 2021Copper Contributor
- HMSBennettJul 21, 2021Copper ContributorHas there been any update on when this fix will be released? In 3.0.0 version or sooner?
- syedafzalaliMay 21, 2021Copper ContributorMicrosoft retired SFB but did not support the -AadAccessToken. Is there any other way for now to deal with this situation?
- PhoneMe007May 21, 2021Brass ContributorMy understanding is that we'll need to wait for 3.x to see if this resolves the situation. From the released notes it sounds reasonably positive. Interesting that the release notes came ahead of delivery, when ordinarily they lag a few weeks behind. So perhaps this was reactive instead of proactive, based on the chatter....