Forum Discussion

kpsingh's avatar
kpsingh
Copper Contributor
Jul 09, 2020

Why Teams desktop client does not auto-login using ADFS?

On a domain bound machine, while opening MS Teams it does not auto-login user and shows following prompt:

 

  • Tried to SSO to MS Excel and it worked on same machine and did not prompt for credentials
  • Windows 10 has been updated to latest version 2004
  • LiborTomes's avatar
    LiborTomes
    Copper Contributor

    kpsingh Hello,

    in my case this was helpful. You have to set ADFS properties to support Edge Chromium. However I don't have SSO running so I have to type login credentials.


    AD FS on Windows 2016 and later:

     

    Set-AdfsProperties -WIASupportedUserAgents @("MSIE 6.0", "MSIE 7.0; Windows NT", "MSIE 8.0", "MSIE 9.0", "MSIE 10.0; Windows NT 6", "Windows NT 6.3; Trident/7.0", "Windows NT 6.3; Win64; x64; Trident/7.0", "Windows NT 6.3; WOW64; Trident/7.0", "Windows NT 6.2; Trident/7.0", "Windows NT 6.2; Win64; x64; Trident/7.0", "Windows NT 6.2; WOW64; Trident/7.0", "Windows NT 6.1; Trident/7.0", "Windows NT 6.1; Win64; x64; Trident/7.0", "Windows NT 6.1; WOW64; Trident/7.0", "MSIPC", "Windows Rights Management Client", "Edg/*")

     

     

     

    AD FS on Windows 2012 and earlier:

     

    Set-AdfsProperties -WIASupportedUserAgents @("MSIE 6.0", "MSIE 7.0; Windows NT", "MSIE 8.0", "MSIE 9.0", "MSIE 10.0; Windows NT 6", "Windows NT 6.3; Trident/7.0", "Windows NT 6.3; Win64; x64; Trident/7.0", "Windows NT 6.3; WOW64; Trident/7.0", "Windows NT 6.2; Trident/7.0", "Windows NT 6.2; Win64; x64; Trident/7.0", "Windows NT 6.2; WOW64; Trident/7.0", "Windows NT 6.1; Trident/7.0", "Windows NT 6.1; Win64; x64; Trident/7.0", "Windows NT 6.1; WOW64; Trident/7.0", "MSIPC", "Windows Rights Management Client", "Edg/79.0.309.43")

     

    More in this article https://docs.microsoft.com/en-us/windows-server/identity/ad-fs/operations/configure-ad-fs-browser-wia 

     

    Hope this helps I was stuck hours in checking SSO and AD FS.

    • Ben_Clark's avatar
      Ben_Clark
      Copper Contributor
      Thanks so much for finding this and returning to help us all. You have saved a my hair line
    • kpsingh's avatar
      kpsingh
      Copper Contributor

      ChristianBergstrom I followed this article as well. As they suggested, I have updated windows to latest version. Other than Teams, I'm able to auto-login to other MS Office apps such as Excel or Work etc.

      However, Teams gives me windows auth prompt while it should auto-login as well.

      • ChristianBergstrom's avatar
        ChristianBergstrom
        Silver Contributor

        kpsingh Hey, I'm just about to turn off my laptop. But this is a "basic authentication" prompt as far as I can tell and Teams uses modern authentication by default as well. Is this happening for all users? Please provide some additional tech details about the scenario and I will try to assist.

Resources