Currently developing an MS Teams Application with an embedded iFrame in the Personal Tab. MS Graph API is being used to retrieve information or set Teams meetings, so it would require for a Teams user to give User Consent. The current case is that the Authentication in the Azure Portal - App Registration was set to Multiple Tenant, so I followed the authentication pattern shown on this tutorial: Sign in users and call the Microsoft Graph API from a JavaScript single-page app (SPA) using auth code flow.
The issue then was that the pop-up doesn't show up in the MS Teams Desktop. It, however, works on MS Teams browser version. The question now is how can I make use of the pop-up authentication for an MS Teams application when using it in an MS Teams Desktop?