Forum Discussion

Vincent_B's avatar
Vincent_B
Copper Contributor
Mar 24, 2025

Users keep having to log in when opening Outlook

Hello,

 

We set up an Azure virtual desktop server for one of our clients.
We configured fslogix profiles and enabled roaming on them.

When a user has more than 1 email account added to their Outlook, they keep having to log in with their account whenever they log in to the server. There are no issues with the users that only have 1 account added.

When they open another M365 program first (Word/Excel), there is no issue most of the time.
Since it takes the right account to log in to Outlook app then.
Issue is when they start Outlook first.

We're not sure if this is something AVD related or if it's an issue with fslogix.

Any idea how we could fix this?

 

Kind regards.

  • Vincent_B's avatar
    Vincent_B
    Copper Contributor

    Hello,

     

    Thank you for the answer.

    We did all of the above already.

    We made a startup script that opens and closes Word but often users open their Outlook before the script gets executed.

  • Please try to locate the issue by below:

     

    1. Enable Shared Computer Activation (SCA)

    • Ensure that Shared Computer Activation is enabled for Microsoft 365 apps. This is crucial for multi-user environments like AVD.
    • You can enable it via Group Policy or by setting the following registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration
    SharedComputerLicensing = 1
    

    2. Check FSLogix Profile Configuration

    • Verify that FSLogix is correctly configured to roam all necessary Outlook data, including credentials and settings.
    • Ensure that the ProfileType is set to VHD or VHDX and that the profile container is properly mounted during login.
    • Check the redirections.xml file to ensure that no critical Outlook folders (e.g., %LocalAppData%\Microsoft\Outlook) are excluded from roaming.

    3. Enable Modern Authentication

    • Confirm that Modern Authentication is enabled for your Microsoft 365 tenant. This ensures seamless single sign-on (SSO) for users with multiple accounts.
    • You can check this in the Microsoft 365 Admin Center under Settings > Org Settings > Modern Authentication.

    4. Credential Manager Cleanup

    • Sometimes, cached credentials in the Windows Credential Manager can cause conflicts. Clear any old or duplicate credentials related to Outlook or Microsoft 365.

    5. Adjust Outlook Startup Behavior

    • Since the issue occurs when Outlook is opened first, consider setting a policy to delay Outlook startup until other Microsoft 365 apps (like Word or Excel) have initialized. This can help ensure the correct account is authenticated.

    6. Update FSLogix and AVD Components

    • Ensure that you are using the latest versions of FSLogix and AVD components. Microsoft frequently releases updates to address compatibility and performance issues.

Resources