MSAL vs. Microsoft Teams

Copper Contributor

As ADAL hasn't been touched in over two years now, I have migrated my application to MSAL. Sadly enough the Teams docs are still ADAL based. I have an application that is working fine outside Microsoft Teams. Once I embed it as an app inside Microsoft Teams, two things happen:

 

There seems to have been a lab demo with MSAL's acquireTokenSilent in it, but that probably worked because it was launched from the config screen (or elsewhere) and not from the tab.

 

So on what location would acquireTokenSilent work? Should we move it to such an authentication popup to get it to work (far less silent though).

 

 

6 Replies

@salvijansen 

MSAL doesn’t yet support the ability to authenticate in an iframed environment, which is how Teams tabs work. That’s why all of our examples use AAD v1 and ADAL. We have been working with the MSAL team to fix this though, but we do not have a firm ETA to share.

 

@Gousia_Begum , @salvijansen with the new MSAL 1.2.0 release it seems like Teams is now supported have any of you verified it or plan to in near future?

@Gousia_Begum Hi. just wanted to check in to see if anything recently changed. I am having some issues making ADAL work within a Teams Tab and most replies to issues I've seen are to use MSAL.

 

thanks

@shachar1 @Freddy Bang @salvijansen @Gousia_Begum 

Guys, Is there any recent update over this?

I am facing a similar issue with the Teams app while using MSAL.

Hi team, please update here if there is an update on this.
Thanks
Hello Team, is there any update for this? we have been working this.