Home

Error ADSTS50058: A silent sign-in request was sent but no user is signed in

%3CLINGO-SUB%20id%3D%22lingo-sub-664213%22%20slang%3D%22en-US%22%3EError%20ADSTS50058%3A%20A%20silent%20sign-in%20request%20was%20sent%20but%20no%20user%20is%20signed%20in%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-664213%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%20We%20have%20develope%20a%20custom%20web%20app%20published%20in%20Azure%20and%20integrate%20in%20Microsoft%20Teams.%20We%20have%20implemented%20SSO%20using%20ADAL.js.%3C%2FP%3E%3CP%3EIn%20Microsoft%20online%20run%20ok%2C%20but%20in%20Microsoft%20Teams%20Desktop%20always%20get%20the%20same%20error%3A%3C%2FP%3E%3CP%3E%22%3CSPAN%3EAADSTS50058%3A%20A%20silent%20sign-in%20request%20was%20sent%20but%20no%20user%20is%20signed%20in.%20The%20cookies%20used%20to%20represent%20the%20user's%20session%20were%20not%20sent%20in%20the%20request%20to%20Azure%20AD.%20This%20can%20happen%20if%20the%20user%20is%20using%20Internet%20Explorer%20or%20Edge%2C%20and%20the%20web%20app%20sending%20the%20silent%20sign-in%20request%20is%20in%20different%20IE%20security%20zone%20than%20the%20Azure%20AD%20endpoint%20(login.microsoftonline.com)%3C%2FSPAN%3E%22%3C%2FP%3E%3CP%3EIs%20there%20any%20limitation%20in%20Teams%20Desktop%20to%20use%20SSO%3F%3C%2FP%3E%3CP%3EThanks%20a%20lot!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-664213%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-716879%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20ADSTS50058%3A%20A%20silent%20sign-in%20request%20was%20sent%20but%20no%20user%20is%20signed%20in%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-716879%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F353592%22%20target%3D%22_blank%22%3E%40cristina1977%3C%2FA%3E%26nbsp%3B-%20Are%20you%20trying%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Fconcepts%2Fauthentication%2Fauth-silent-aad%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3ESilent%20authentication%3C%2FA%3E%20in%20Microsoft%20Teams%3F%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ESilent%20authentication%20in%20Azure%20Active%20Directory%20(Azure%20AD)%20is%20a%20simplified%20form%20of%20single%20sign-on%20(SSO).%20Its%20purpose%20it%20to%20minimize%20the%20number%20of%20times%20a%20user%20needs%20to%20enter%20login%20credentials%20while%20using%20your%20app.%20%3C%2FSPAN%3E%3CSPAN%3EUser%20need%20to%20Sign%20In%20at%20least%20once%20for%20Silent%20Auth%20to%20work.%20Please%20have%20a%20look%20at%26nbsp%3B%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FOfficeDev%2Fmicrosoft-teams-sample-auth-node%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Emicrosoft-teams-sample-auth-node%20sample.%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
cristina1977
Occasional Visitor

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?

Thanks a lot!

1 Reply

@cristina1977 - Are you trying Silent authentication in Microsoft Teams? 

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.