Open cgvalayev opened 2 years ago
Hi cgvalayev! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.
Best regards, Teams Platform
Hello @cgvalayev - Hope you are doing well!! Can you please try updating the Teams desktop client version and verify it once ?
Hey @ChetanSharma-msft, just tried updating to the latest version and restarting teams, unfortunately didn't help. Here are some more findings from our troubleshooting:
This issue seems to be similar to https://github.com/OfficeDev/microsoft-teams-library-js/issues/629, we are checking the status of the fix. we will get back to you.
The issue has a proposed fix in Electron 16 based Teams. ETA for Mac is end of August. The current estimate for rollout on Windows is end of September.
Ref : https://github.com/OfficeDev/microsoft-teams-library-js/issues/1181#issuecomment-1179288178
Given: We have a Teams application with a static tab which loads our web app. Our web app uses
@microsoft/teams-js
version^1.11.0
. Immediately when user enters the tab with our web app we trigger authentication with the following code:Our application domain is https://messenger.chatgenie.io
Authentication is implemented based on the documentation:
microsoftTeams.authentication.authenticate
redirects tohttps://messenger.chatgenie.io/auth-start
https://messenger.chatgenie.io/auth-end
https://messenger.chatgenie.io/auth-end
microsoftTeams.authentication.notifySuccess(key);
ormicrosoftTeams.authentication.notifyFailure('UnexpectedFailure');
PROBLEM: When Teams auth pop up opens it gets to Microsoft auth screen and then immediately closes with
CancelledByUser
error infailureCallback
It seems to work perfectly ok for all the web users and some desktop users. But more and more we are getting complaints from Teams desktop (so far on Windows) users for which this is happening.
One client said that if they open the tab in a new window, microsoft authentication works successfully. Then refresh original tab and it also authenticates.