I'm developing an app integrating with Microsoft Teams. My app uses the microsoftTeams.authentication.authenticate(...) javascript function as described here. When calling this function, I specified my two callback functions for success and failure accordingly.
After my authentication workflow is completed, I call microsoft.authentication.notifySuccess(...). After that, the expected behavior is that my success callback function as registered earlier should be invoked. Similarly, in the case if I call microsoft.authentication.notifyFailure(...), my failure callback function as registered earlier should be invoked.
The issue is that when working with the desktop version of the Microsoft Teams app, somehow neither my success nor failure callback function got invoked.
Other information that may be helpful:
- There is no issue with my app working with the web browser version of Microsoft Teams app (teams.microsoft.com). The Microsoft Teams browser app properly invokes my registered success callback or failure callback functions.
- The version of the Teams desktop app is the most current one.
- OS Platform is Windows 10.