Hi, We have develope a custom web app published in Azure and integrate in Microsoft Teams. We have implemented SSO using ADAL.js.
In Microsoft online run ok, but in Microsoft Teams Desktop always get the same error:
"AADSTS50058: A silent sign-in request was sent but no user is signed in. The cookies used to represent the user's session were not sent in the request to Azure AD. This can happen if the user is using Internet Explorer or Edge, and the web app sending the silent sign-in request is in different IE security zone than the Azure AD endpoint (login.microsoftonline.com)"
Is there any limitation in Teams Desktop to use SSO?
Silent authentication in Azure Active Directory (Azure AD) is a simplified form of single sign-on (SSO). Its purpose it to minimize the number of times a user needs to enter login credentials while using your app. User need to Sign In at least once for Silent Auth to work. Please have a look at microsoft-teams-sample-auth-node sample.