Microsoft Graph Toolkit not working in desktop & browser versions of Teams

Copper Contributor

What do I need to do to get the toolkit to work as expected in both desktop and browser versions of Teams? We've followed the guidance and documented instructions on this page but the components we have added do not appear to be functioning at all. We are adding the code to an existing project that uses a channel tab rather than creating a new project and we aren't sure if that's the reason why it's not working for us. 

 

To summarise the issues:

    1. There is a difference in behaviour when Teams is run in the desktop app and when it is run in the browser;
    2. In the desktop app, the login popup window appears to be behaving as expected, but the login routine returns a failure and the user is never logged in to Graph API;
    3. In the web browser, the login popup window appears to be behaving as expected, and the <mgt-login> component shows the user’s real name after login.  However, the other components do not appear to work, and behave as they did when the user was not logged in.  The agenda component is not visible, the channel picker component cannot find any channels to display, and the person component shows a blank user icon and nothing else.

Anyone know what the problem could be?

0 Replies