Forum Discussion
YannickHmog
May 28, 2025Copper Contributor
AVD - Sign-in issues with O365 applications
Hi everyone
Our AVDs are currently running on Windows 10 22H2 (Build 19045.5854) For some time now, our users have been experiencing issues signing in to certain Office 365 applications, especially OneDrive and Outlook.
For many users, the sign-in gets stuck in an endless loop. The affected AVD host then needs to be restarted for the sign-in to Outlook and OneDrive to work again.
In the event log, we often encounter the following error:
"A fatal error occurred while creating a TLS client credential. The internal error state is 10013."
Has anyone else experienced this issue or found a solution for it?
3 Replies
Sort By
- jlou65535Iron Contributor
Hello,
If the case is still ongoing, what is your FSLogix installed version ?
Did you already read that article about Microsoft Entra ID Authentication for applications ?https://learn.microsoft.com/en-us/fslogix/troubleshooting-known-issues#resolution-12
- hariskhurshidCopper Contributor
Hi YannickHmog
Kindly perform the below steps and check.
- Disabled or misconfigured TLS protocols (especially TLS 1.2).
- Corrupt SCHANNEL components (the Windows library responsible for TLS/SSL).
- Outdated or mismatched Office or Windows updates.
- Credential Manager corruption or cached login issues.
- Group Policy or registry restrictions affecting cryptographic protocols.
- TLS 1.2 is required for modern Microsoft 365 services.
- Update Windows and Office
- Ensure all AVD hosts have the latest cumulative updates for Windows 10 22H2. Some builds have known TLS bugs that are patched in later updates.
- Reset WinHTTP and Schannel Settings
- Clear Office Sign-in Cache / Credentials
- Lastly, Rebuild or Redeploy the Host Pool Image . If the issue persists, then let me know your current patch level and how Office is deployed.
Take this:
1. Enable TLS 1.2 & 1.3 in Windows Settings
-
- Open Internet Options (inetcpl.cpl in Run).
- Go to the Advanced tab.
- Ensure TLS 1.2 and TLS 1.3 are checked.
- Restart the AVD host.
2. Modify TLS Registry Settings
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client" /v "DisabledByDefault" /t REG_DWORD /d "0" /f reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client" /v "Enabled" /t REG_DWORD /d "1" /f
-
- Restart the AVD host after applying changes.
3. Check for Windows & Office Updates
-
- Ensure Windows 10 22H2 is fully updated.
- Update Office 365 apps via winget upgrade --all.
4. Verify Microsoft Entra ID Authentication
-
- If users are stuck in a sign-in loop, check Microsoft Entra ID conditional access policies.
- Ensure modern authentication is enabled for OneDrive & Outlook.
5. Reset OneDrive & Outlook Credentials
cmd /c "echo y | del %localappdata%\Microsoft\OneDrive\settings\Business1"
- Restart OneDrive and Outlook.
-