Hi Folks,
I've a problem where users of Outlook on XenApp cannot configure an email profile. It just times out. I access the same XenApp server/user account from a Published Desktop or RDP the profile configures fine.
The Outlook Auto Configuration tool works identically in both scenarios except for the last step. On the Published Desktop I am prompted for domain credentials and then sent the Autodiscover XML file. However, over a XenApp session Auto Configuration never prompts for login details, although the log say differently, and the attempt fails.
I turned on Outlook logging and captured Autodiscover logs for both scenarios (identifying information is changed to NWTraders)
Log of Autodiscover failure over a XenApp session
11676 0x0073AF1C 02/05/15 13:13:07 Autodiscover to https://mail.nwtraders.com/autodiscover/autodiscover.xml starting 11676 0x0073B22A 02/05/15 13:13:08 GetLastError=0; httpStatus=401. 11676 0x0073B22A 02/05/15 13:13:08 AutoDiscover disabled auth schemes: 11676 0x0073B22A 02/05/15 13:13:08 <NONE> 11676 0x0073B22A 02/05/15 13:13:08 AutoDiscover supported auth schemes: 11676 0x0073B22A 02/05/15 13:13:08 Negotiate 11676 0x0073B22A 02/05/15 13:13:08 NTLM 11676 0x0073B22A 02/05/15 13:13:08 Basic 11676 0x0073B22A 02/05/15 13:13:08 AutoDiscover attempting Auto-Negotiate with Desktop Credentials. 11676 0x0073B22A 02/05/15 13:13:08 AutoDiscover USING pcreds->dwAuthScheme: 11676 0x0073B22A 02/05/15 13:13:08 Negotiate 11676 0x0073B258 02/05/15 13:13:08 GetLastError=0; httpStatus=401. 11676 0x0073B258 02/05/15 13:13:08 AutoDiscover attempting NTLM with Desktop Credentials. 11676 0x0073B258 02/05/15 13:13:08 AutoDiscover USING pcreds->dwAuthScheme: 11676 0x0073B258 02/05/15 13:13:08 NTLM 11676 0x0073B287 02/05/15 13:13:08 GetLastError=0; httpStatus=401. 11676 0x0073B287 02/05/15 13:13:08 AutoDiscover attempting supplied Credentials. 11676 0x0073B287 02/05/15 13:13:08 joe.smith@nwtraders.com 11676 0x0073B287 02/05/15 13:13:08 AutoDiscover USING pcreds->dwAuthScheme: 11676 0x0073B287 02/05/15 13:13:08 Negotiate 11676 0x0073C563 02/05/15 13:13:13 GetLastError=0; httpStatus=401. 11676 0x0073C563 02/05/15 13:13:13 AutoDiscover attempting Basic auth with the Supplied Credentials. 11676 0x0073C563 02/05/15 13:13:13 joe.smith@nwtraders.com 11676 0x0073C563 02/05/15 13:13:13 AutoDiscover USING pcreds->dwAuthScheme: 11676 0x0073C563 02/05/15 13:13:13 Basic 11676 0x0073CE7C 02/05/15 13:13:15 GetLastError=0; httpStatus=401. 11676 0x0073CE9B 02/05/15 13:13:15 AutoDiscover attempting AutoDiscover Credentials. 11676 0x0073CE9B 02/05/15 13:13:15 joe.smith@nwtraders.com 11676 0x0073CE9B 02/05/15 13:13:15 AutoDiscover USING pcreds->dwAuthScheme: 11676 0x0073CE9B 02/05/15 13:13:15 Negotiate 11676 0x0073D84F 02/05/15 13:13:17 GetLastError=0; httpStatus=401. 11676 0x0073D85F 02/05/15 13:13:17 AutoDiscover attempting AutoDiscover Credentials. 11676 0x0073D85F 02/05/15 13:13:17 joe.smith@nwtraders.com 11676 0x0073D86E 02/05/15 13:13:17 AutoDiscover USING pcreds->dwAuthScheme: 11676 0x0073D86E 02/05/15 13:13:17 Negotiate 11676 0x0073E204 02/05/15 13:13:20 GetLastError=0; httpStatus=401. 11676 0x0073E204 02/05/15 13:13:20 AutoDiscover prompting for Exchange credentials. 11676 0x0073E213 02/05/15 13:13:20 Autodiscover to https://mail.nwtraders.com/autodiscover/autodiscover.xml Failed (0x80040113) 11676 0x0073E213 02/05/15 13:13:20 AutoDiscover Warning: ExcludeHttpRedirect is ON. 11676 0x0073E213 02/05/15 13:13:20 AutoDiscover Warning: ExcludeSrvRecord is ON. 11676 0x0073E213 02/05/15 13:13:20 AUTODISCOVER GET SETTINGS END 11676 0x0073E213 02/05/15 13:13:20 -----------------------------
Log of Autodiscover success over Published Desktop (works same over RDP)
02/05/15 13:11:40 Autodiscover to https://mail.nwtraders.com/autodiscover/autodiscover.xml starting 12244
0x00725EBF 02/05/15 13:11:41
GetLastError=0; httpStatus=401. 12244
0x00725EBF 02/05/15 13:11:41
AutoDiscover disabled auth schemes: 12244
0x00725EBF 02/05/15 13:11:41
<NONE> 12244
0x00725EBF 02/05/15 13:11:41
AutoDiscover supported auth schemes: 12244
0x00725EBF 02/05/15 13:11:41
Negotiate 12244 0x00725EBF
02/05/15 13:11:41 NTLM 12244
0x00725EBF 02/05/15 13:11:41
Basic 12244 0x00725EBF
02/05/15 13:11:41 AutoDiscover attempting Auto-Negotiate with Desktop Credentials. 12244
0x00725EBF 02/05/15 13:11:41
AutoDiscover USING pcreds->dwAuthScheme: 12244
0x00725EBF 02/05/15 13:11:41
Negotiate 12244 0x00725EEE
02/05/15 13:11:41 GetLastError=0; httpStatus=401. 12244
0x00725EEE 02/05/15 13:11:41
AutoDiscover attempting NTLM with Desktop Credentials. 12244
0x00725EEE 02/05/15 13:11:41
AutoDiscover USING pcreds->dwAuthScheme: 12244
0x00725EEE 02/05/15 13:11:41
NTLM 12244 0x00725F1D
02/05/15 13:11:41 GetLastError=0; httpStatus=401. 12244
0x00725F2C 02/05/15 13:11:41
AutoDiscover attempting supplied Credentials. 12244
0x00725F2C 02/05/15 13:11:41
joe.smith@nwtraders.com 12244
0x00725F2C 02/05/15 13:11:41
AutoDiscover USING pcreds->dwAuthScheme: 12244
0x00725F2C 02/05/15 13:11:41
Negotiate 12244 0x0072719B
02/05/15 13:11:46 GetLastError=0; httpStatus=401. 12244
0x007271AB 02/05/15 13:11:46
AutoDiscover attempting Basic auth with the Supplied Credentials. 12244
0x007271AB 02/05/15 13:11:46
joe.smith@nwtraders.com 12244
0x007271AB 02/05/15 13:11:46
AutoDiscover USING pcreds->dwAuthScheme: 12244
0x007271AB 02/05/15 13:11:46
Basic 12244 0x00727AC3
02/05/15 13:11:48 GetLastError=0; httpStatus=401. 12244
0x00727AF2 02/05/15 13:11:48
AutoDiscover attempting AutoDiscover Credentials. 12244
0x00727AF2 02/05/15 13:11:48
joe.smith@nwtraders.com 12244
0x00727AF2 02/05/15 13:11:48
AutoDiscover USING pcreds->dwAuthScheme: 12244
0x00727AF2 02/05/15 13:11:48
Negotiate 12244 0x007285CF
02/05/15 13:11:51 GetLastError=0; httpStatus=401. 12244
0x007285EE 02/05/15 13:11:51
AutoDiscover attempting AutoDiscover Credentials. 12244
0x007285EE 02/05/15 13:11:51
joe.smith@nwtraders.com 12244
0x007285EE 02/05/15 13:11:51
AutoDiscover USING pcreds->dwAuthScheme: 12244
0x007285EE 02/05/15 13:11:51
Negotiate 12244 0x00728F93
02/05/15 13:11:53 GetLastError=0; httpStatus=401.12244
0x00728F93 02/05/15 13:11:53
AutoDiscover prompting for Exchange credentials. 12244
0x0072B25D 02/05/15 13:12:02
corpNWTraders\jsmith 12244
0x0072B25D 02/05/15 13:12:02
AutoDiscover USING pcreds->dwAuthScheme: 12244
0x0072B25D 02/05/15 13:12:02
Negotiate 12244 0x0072BB95
02/05/15 13:12:05 GetLastError=0; httpStatus=200. 12244
0x0072BB95 02/05/15 13:12:05
Autodiscover XML Received
12244 ---BEGIN XML---
I have the Autodiscover methods which use Active Directory turned off because the Exchange service is not on my domain or a Trusted domain. So we are relying on the HTTPS method only
11588 0x00404E76
02/05/15 12:17:01 AutoDiscover Warning: ExcludeScpLookup is ON.
11588 0x00404E76
02/05/15 12:17:01 AutoDiscover Warning: ExcludeHttpsRootDomain is ON.
11588 0x00404E76
02/05/15 12:17:01 AutoDiscover Warning: ExcludeHttpsAutoDiscoverDomain is ON.
Regards - Mic
- Edited by Micmaher 22 hours 1 minutes ago Tidy up log format