Teams in Citrix asking for password every time

Andre Jochemsen 5 Reputation points
2023-02-21T08:08:11.7733333+00:00

Hi all,

One of our clients is working on a XenApp environment, based on Server 2016.

We created a new XenApp image based on Server 2019.

One of the most recent Teams Machine Wide installers has been installed. The ALLUSER=1 switch is used during installation.

At first test users had to logon to all Office products. After adding a reg key DisableAADWAM with value 1 this was solved. But Teams still asks for the password.

We use FSLogix Office profiles but have the "Save Teams data" option disabled. We also use Ivanti Workspace for profile management.

The following folders are saved by Ivanti in the Ivanti user profile:

  • C:\Users\username\AppData\Local\Microsoft\IdentityCache (%LocalAppData%\Microsoft\IdentityCache)
  • C:\Users\username\AppData\Roaming\Microsoft\Teams (%AppData%\Microsoft\Teams)

I also found this article mentioning alot more folders to be saved by the profile management solution. Also tried with saving those folders and registry keys, but Teams just keeps on asking for a password.

https://communities.vmware.com/t5/Dynamic-Environment-Manager/DEM-Teams-MFA-login-every-time/td-p/2310199/page/4

Credential manager is also emptied and also made sure no conditional access policy is fooling around with MFA requirements.

Does anyone know why Teams is behaving this way? And what to do?

Thanks!

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,134 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Kael Yao-MSFT 37,646 Reputation points Microsoft Vendor
    2023-02-22T01:32:02.6766667+00:00

    Hi @Andre Jochemsen

    Please follow these steps to see if it would help with this issue:

    1. Go to %appdata%\Microsoft\Teams
    2. Backup the current hooks.json file as best practice
    3. Edit, or create a new file call hooks.json and add the following line and save
      {
      "asyncAuthEnabledV2": false
      }
    4. Sign-out and fully restart Microsoft Teams

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.