My project (targets .NET 3.5) is all about outlook add-in.
Exchange Environment: Exchange Server 2019 installed in windows server 2019.
Outlook Environment: Outlook 2019 32 bit on win 10 pro
To test, I have created console app target to .NET 3.5 as below and got error - Autodiscover couldn't be located. But if i target console app to .NET 4.5, it works surprisingly. Please see the trace below.
I want my project .net3.5 fo work without upgrading to .net4.5.
ServicePointManager.ServerCertificateValidationCallback = IsCertificateValid;
var timeZones = TimeZoneInfo.GetSystemTimeZones();
var localTimeZone = TimeZoneInfo.Local;
var timeZone = timeZones.FirstOrDefault(x => x.StandardName == localTimeZone.StandardName) ?? localTimeZone;
var service = new ExchangeService(ExchangeVersion.Exchange2007_SP1, timeZone)
{
UseDefaultCredentials = true,
Timeout = int.MaxValue
};
service.AutodiscoverUrl(emailAddress, url => true);
// check that we can actually access something via the service
Folder.Bind(service, WellKnownFolderName.Contacts);
**Trace of app target to .NET 3.5:**
<Trace Tag="AutodiscoverConfiguration" Tid="1" Time="2019-07-21 14:36:17Z">
Starting SCP lookup for domainName='bds2019.lab', root path=''
</Trace>
<Trace Tag="AutodiscoverConfiguration" Tid="1" Time="2019-07-21 14:36:17Z">
Searching for SCP entries in LDAP://CN=Configuration,DC=bds2019,DC=lab
</Trace>
<Trace Tag="AutodiscoverConfiguration" Tid="1" Time="2019-07-21 14:36:17Z">
Scanning for SCP pointers Domain=bds2019.lab
</Trace>
<Trace Tag="AutodiscoverConfiguration" Tid="1" Time="2019-07-21 14:36:18Z">
No SCP pointers found for 'Domain=bds2019.lab' in configPath='CN=Configuration,DC=bds2019,DC=lab'
</Trace>
<Trace Tag="AutodiscoverConfiguration" Tid="1" Time="2019-07-21 14:36:18Z">
Scanning for SCP urls for the current computer Site=Default-First-Site-Name
</Trace>
<Trace Tag="AutodiscoverConfiguration" Tid="1" Time="2019-07-21 14:36:18Z">
Adding (prio 1) 'https://bdswin19ex19.bds2019.lab/Autodiscover/Autodiscover.xml' for the 'Site=Default-First-Site-Name' from 'LDAP://CN=bdswin19ex19,CN=Autodiscover,CN=Protocols,CN=bdswin19ex19,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=bds2019,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=bds2019,DC=lab' to the top of the list (exact match)
</Trace>
<Trace Tag="AutodiscoverConfiguration" Tid="1" Time="2019-07-21 14:36:18Z">
Trying to call Autodiscover for bdsadministrator@bds2019.lab on https://bdswin19ex19.bds2019.lab/Autodiscover/Autodiscover.xml.
</Trace>
<Trace Tag="AutodiscoverRequestHttpHeaders" Tid="1" Time="2019-07-21 14:36:18Z">
POST /Autodiscover/Autodiscover.xml HTTP/1.1
Content-Type: text/xml; charset=utf-8
Accept: text/xml
User-Agent: ExchangeServicesClient/15.00.0913.015
</Trace>
<Trace Tag="AutodiscoverRequest" Tid="1" Time="2019-07-21 14:36:18Z" Version="15.00.0913.015">
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/requestschema/2006">
<Request>
<EMailAddress>bdsadministrator@bds2019.lab</EMailAddress>
<AcceptableResponseSchema>http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a</AcceptableResponseSchema>
</Request>
</Autodiscover>
</Trace>
<Trace Tag="AutodiscoverConfiguration" Tid="1" Time="2019-07-21 14:36:18Z">
failed: WebException (The underlying connection was closed: An unexpected error occurred on a send.)
</Trace>
<Trace Tag="AutodiscoverConfiguration" Tid="1" Time="2019-07-21 14:36:18Z">
Trying to call Autodiscover for bdsadministrator@bds2019.lab on https://bds2019.lab/autodiscover/autodiscover.xml.
</Trace>
<Trace Tag="AutodiscoverRequestHttpHeaders" Tid="1" Time="2019-07-21 14:36:18Z">
POST /autodiscover/autodiscover.xml HTTP/1.1
Content-Type: text/xml; charset=utf-8
Accept: text/xml
User-Agent: ExchangeServicesClient/15.00.0913.015
</Trace>
<Trace Tag="AutodiscoverRequest" Tid="1" Time="2019-07-21 14:36:18Z" Version="15.00.0913.015">
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/requestschema/2006">
<Request>
<EMailAddress>bdsadministrator@bds2019.lab</EMailAddress>
<AcceptableResponseSchema>http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a</AcceptableResponseSchema>
</Request>
</Autodiscover>
</Trace>
<Trace Tag="AutodiscoverConfiguration" Tid="1" Time="2019-07-21 14:36:18Z">
failed: WebException (The underlying connection was closed: An unexpected error occurred on a send.)
</Trace>
<Trace Tag="AutodiscoverConfiguration" Tid="1" Time="2019-07-21 14:36:18Z">
Trying to call Autodiscover for bdsadministrator@bds2019.lab on https://autodiscover.bds2019.lab/autodiscover/autodiscover.xml.
</Trace>
<Trace Tag="AutodiscoverRequestHttpHeaders" Tid="1" Time="2019-07-21 14:36:18Z">
POST /autodiscover/autodiscover.xml HTTP/1.1
Content-Type: text/xml; charset=utf-8
Accept: text/xml
User-Agent: ExchangeServicesClient/15.00.0913.015
</Trace>
<Trace Tag="AutodiscoverRequest" Tid="1" Time="2019-07-21 14:36:18Z" Version="15.00.0913.015">
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/requestschema/2006">
<Request>
<EMailAddress>bdsadministrator@bds2019.lab</EMailAddress>
<AcceptableResponseSchema>http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a</AcceptableResponseSchema>
</Request>
</Autodiscover>
</Trace>
<Trace Tag="AutodiscoverConfiguration" Tid="1" Time="2019-07-21 14:36:18Z">
failed: WebException (The underlying connection was closed: An unexpected error occurred on a send.)
</Trace>
<Trace Tag="AutodiscoverConfiguration" Tid="1" Time="2019-07-21 14:36:18Z">
Trying to get Autodiscover redirection URL from http://autodiscover.bds2019.lab/autodiscover/autodiscover.xml.
</Trace>
<Trace Tag="AutodiscoverConfiguration" Tid="1" Time="2019-07-21 14:36:18Z">
Request error: The remote server returned an error: (403) Forbidden.
</Trace>
<Trace Tag="AutodiscoverConfiguration" Tid="1" Time="2019-07-21 14:36:18Z">
No Autodiscover redirection URL was returned.
</Trace>
<Trace Tag="AutodiscoverConfiguration" Tid="1" Time="2019-07-21 14:36:18Z">
Trying to get Autodiscover host from DNS SRV record for bds2019.lab.
</Trace>
<Trace Tag="AutodiscoverConfiguration" Tid="1" Time="2019-07-21 14:36:18Z">
DnsQuery returned error error 'DNS name does not exist' error code 0x0000232B.
</Trace>
<Trace Tag="AutodiscoverConfiguration" Tid="1" Time="2019-07-21 14:36:18Z">
No appropriate SRV record was found.
</Trace>
<Trace Tag="AutodiscoverConfiguration" Tid="1" Time="2019-07-21 14:36:18Z">
No matching Autodiscover DNS SRV records were found.
</Trace>
Unhandled Exception: Microsoft.Exchange.WebServices.Data.AutodiscoverLocalException: The Autodiscover service couldn't be located.
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.GetLegacyUserSettings[TSettings](String emailAddress)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings(String emailAddress, List`1 requestedSettings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.GetUserSettings(String userSmtpAddress, UserSettingName[] userSettingNames)
at Microsoft.Exchange.WebServices.Data.ExchangeService.GetAutodiscoverUrl(String emailAddress, ExchangeVersion requestedServerVersion, AutodiscoverRedirectionUrlValidationCallback validateRedirectionUrlCallback)
at Microsoft.Exchange.WebServices.Data.ExchangeService.AutodiscoverUrl(String emailAddress, AutodiscoverRedirectionUrlValidationCallback validateRedirectionUrlCallback)
at EWSApp.Program.Main(String[] args) in C:\Users\U6071059\Documents\Visual Studio 2015\Projects\EWSApp\EWSApp\Program.cs:line 26
**Trace of app targetted to .NET 4.5:**
<Trace Tag="AutodiscoverConfiguration" Tid="1" Time="2019-07-23 07:23:09Z">
Starting SCP lookup for domainName='bds2019.lab', root path='
</Trace>
<Trace Tag="AutodiscoverConfiguration" Tid="1" Time="2019-07-23 07:23:10Z">
Searching for SCP entries in LDAP://CN=Configuration,DC=bds2019,DC=lab
</Trace>
<Trace Tag="AutodiscoverConfiguration" Tid="1" Time="2019-07-23 07:23:10Z">
Scanning for SCP pointers Domain=bds2019.lab
</Trace>
<Trace Tag="AutodiscoverConfiguration" Tid="1" Time="2019-07-23 07:23:11Z">
No SCP pointers found for 'Domain=bds2019.lab' in configPath='CN=Configuration,DC=bds2019,DC=lab'
</Trace>
<Trace Tag="AutodiscoverConfiguration" Tid="1" Time="2019-07-23 07:23:11Z">
Scanning for SCP urls for the current computer Site=Default-First-Site-Name
</Trace>
<Trace Tag="AutodiscoverConfiguration" Tid="1" Time="2019-07-23 07:23:11Z">
Adding (prio 1) 'https://bdswin19ex19.bds2019.lab/EWS/Exchange.asmx' for the 'Site=Default-First-Site-Name' from 'LDAP://CN=bdswin19ex19,CN=Autodiscover,CN=Protocols,CN=bdswin19ex19,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=bds2019,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=bds2019,DC=lab' to the top of the list (exact match)
</Trace>
<Trace Tag="AutodiscoverConfiguration" Tid="1" Time="2019-07-23 07:23:11Z">
Trying to call Autodiscover for bdsadministrator@bds2019.lab on https://bdswin19ex19.bds2019.lab/EWS/Exchange.asmx.
</Trace>
<Trace Tag="AutodiscoverRequestHttpHeaders" Tid="1" Time="2019-07-23 07:23:11Z">
POST /EWS/Exchange.asmx HTTP/1.1
Content-Type: text/xml; charset=utf-8
Accept: text/xml
User-Agent: ExchangeServicesClient/14.02.0051.000
</Trace>
<Trace Tag="AutodiscoverRequest" Tid="1" Time="2019-07-23 07:23:12Z" Version="14.02.0051.000">
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/requestschema/2006">
<Request>
<EMailAddress>bdsadministrator@bds2019.lab</EMailAddress>
<AcceptableResponseSchema>http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a</AcceptableResponseSchema>
</Request>
</Autodiscover>
</Trace>
<Trace Tag="AutodiscoverResponseHttpHeaders" Tid="1" Time="2019-07-23 07:23:15Z">
400 Bad Request
request-id: 6942516f-93de-428e-9f6a-6746c9c35d0d
X-CalculatedBETarget: bdswin19ex19.bds2019.lab
X-DiagInfo: bdswin19ex19
X-BEServer: bdswin19ex19
Cache-Control: private
Set-Cookie: exchangecookie=28f2e0bd44134f73a696981097e05601; expires=Thu, 23-Jul-2020 07:23:14 GMT; path=/; HttpOnly,X-BackEndCookie=S-1-5-21-3882569489-2727334570-3171349044-500=u56Lnp2ejJqBysnLx5vKmczSm8rOndLLmced0p3GyMvSns2cncvIzcbLz5mbgYHNz87G0s/H0s3Nq8/Ixc3Mxc7KgZ2bjM3PzsbRk56dgc8=; expires=Thu, 22-Aug-2019 07:23:15 GMT; path=/EWS; secure; HttpOnly
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
WWW-Authenticate: Negotiate oRswGaADCgEAoxIEEAEAAADskw/x1nwXIgAAAAA=
Persistent-Auth: true
X-Powered-By: ASP.NET
X-FEServer: bdswin19ex19
Date: Tue, 23 Jul 2019 07:23:14 GMT
Content-Length: 0
</Trace>
<Trace Tag="AutodiscoverConfiguration" Tid="1" Time="2019-07-23 07:23:15Z">
failed: WebException (The remote server returned an error: (400) Bad Request.)
</Trace>
<Trace Tag="AutodiscoverConfiguration" Tid="1" Time="2019-07-23 07:23:15Z">
Trying to call Autodiscover for bdsadministrator@bds2019.lab on https://bds2019.lab/autodiscover/autodiscover.xml.
</Trace>
<Trace Tag="AutodiscoverRequestHttpHeaders" Tid="1" Time="2019-07-23 07:23:15Z">
POST /autodiscover/autodiscover.xml HTTP/1.1
Content-Type: text/xml; charset=utf-8
Accept: text/xml
User-Agent: ExchangeServicesClient/14.02.0051.000
</Trace>
<Trace Tag="AutodiscoverRequest" Tid="1" Time="2019-07-23 07:23:15Z" Version="14.02.0051.000">
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/requestschema/2006">
<Request>
<EMailAddress>bdsadministrator@bds2019.lab</EMailAddress>
<AcceptableResponseSchema>http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a</AcceptableResponseSchema>
</Request>
</Autodiscover>
</Trace>
<Trace Tag="AutodiscoverResponseHttpHeaders" Tid="1" Time="2019-07-23 07:23:18Z">
200 OK
request-id: 556c00a1-7cba-4331-ad45-e26ae0e25f35
X-CalculatedBETarget: bdswin19ex19.bds2019.lab
X-DiagInfo: bdswin19ex19
X-BEServer: bdswin19ex19
Persistent-Auth: true
X-FEServer: bdswin19ex19
Content-Length: 4323
Cache-Control: private
Content-Type: text/xml; charset=utf-8
Date: Tue, 23 Jul 2019 07:23:18 GMT
Set-Cookie: X-BackEndCookie=S-1-5-21-3882569489-2727334570-3171349044-500=u56Lnp2ejJqBysnLx5vKmczSm8rOndLLmced0p3GyMvSns2cncvIzcbLz5mbgYHNz87G0s/H0s3Nq8/Ixc3Mxc7HgZ2bjM3PzsbRk56dgc8=; expires=Thu, 22-Aug-2019 07:23:18 GMT; path=/autodiscover; secure; HttpOnly
Server: Microsoft-IIS/10.0
WWW-Authenticate: Negotiate oRswGaADCgEAoxIEEAEAAABmEvZiGND+MgAAAAA=
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
</Trace>
<Trace Tag="AutodiscoverResponse" Tid="1" Time="2019-07-23 07:23:19Z" Version="14.02.0051.000">
<?xml version="1.0" encoding="utf-8"?>
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
<Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a">
<User>
<DisplayName>bdsadministrator</DisplayName>
<LegacyDN>/o=bds2019/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=f7b5e65feced47ceb3bed59b6d3ba0b2-bdsadministrator</LegacyDN>
<AutoDiscoverSMTPAddress>bdsadministrator@bds2019.lab</AutoDiscoverSMTPAddress>
<DeploymentId>56e7b6a0-90d8-480b-986a-a592e4bfa8bf</DeploymentId>
</User>
<Account>
<AccountType>email</AccountType>
<Action>settings</Action>
<MicrosoftOnline>False</MicrosoftOnline>
<Protocol>
<Type>EXCH</Type>
<Server>390a3f7a-f716-4968-b8df-7a71a45f0d5e@bds2019.lab</Server>
<ServerDN>/o=bds2019/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=390a3f7a-f716-4968-b8df-7a71a45f0d5e@bds2019.lab</ServerDN>
<ServerVersion>73C2818D</ServerVersion>
<MdbDN>/o=bds2019/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=390a3f7a-f716-4968-b8df-7a71a45f0d5e@bds2019.lab/cn=Microsoft Private MDB</MdbDN>
<PublicFolderServer>bdswin19ex19.bds2019.lab</PublicFolderServer>
<AD>bdswin19ex19.bds2019.lab</AD>
<ASUrl>https://bdswin19ex19.bds2019.lab/EWS/Exchange.asmx</ASUrl>
<EwsUrl>https://bdswin19ex19.bds2019.lab/EWS/Exchange.asmx</EwsUrl>
<EmwsUrl>https://bdswin19ex19.bds2019.lab/EWS/Exchange.asmx</EmwsUrl>
<EcpUrl>https://bdswin19ex19.bds2019.lab/owa/</EcpUrl>
<EcpUrl-um>?path=/options/callanswering</EcpUrl-um>
<EcpUrl-aggr>?path=/options/connectedaccounts</EcpUrl-aggr>
<EcpUrl-mt>options/ecp/PersonalSettings/DeliveryReport.aspx?rfr=olk&exsvurl=1&IsOWA=<IsOWA>&MsgID=<MsgID>&Mbx=<Mbx>&realm=bds2019.lab</EcpUrl-mt>
<EcpUrl-ret>?path=/options/retentionpolicies</EcpUrl-ret>
<EcpUrl-sms>?path=/options/textmessaging</EcpUrl-sms>
<EcpUrl-photo>?path=/options/myaccount/action/photo</EcpUrl-photo>
<EcpUrl-tm>options/ecp/?rfr=olk&ftr=TeamMailbox&exsvurl=1&realm=bds2019.lab</EcpUrl-tm>
<EcpUrl-tmCreating>options/ecp/?rfr=olk&ftr=TeamMailboxCreating&SPUrl=<SPUrl>&Title=<Title>&SPTMAppUrl=<SPTMAppUrl>&exsvurl=1&realm=bds2019.lab</EcpUrl-tmCreating>
<EcpUrl-tmEditing>options/ecp/?rfr=olk&ftr=TeamMailboxEditing&Id=<Id>&exsvurl=1&realm=bds2019.lab</EcpUrl-tmEditing>
<EcpUrl-extinstall>?path=/options/manageapps</EcpUrl-extinstall>
<OOFUrl>https://bdswin19ex19.bds2019.lab/EWS/Exchange.asmx</OOFUrl>
<UMUrl>https://bdswin19ex19.bds2019.lab/EWS/UM2007Legacy.asmx</UMUrl>
<OABUrl>https://bdswin19ex19.bds2019.lab/OAB/ee5fce8f-efe8-4e3c-a1e1-3f10a3a9b69b/</OABUrl>
<ServerExclusiveConnect>off</ServerExclusiveConnect>
</Protocol>
<Protocol>
<Type>EXPR</Type>
<Server>bdswin19ex19.bds2019.lab</Server>
<SSL>On</SSL>
<AuthPackage>Ntlm</AuthPackage>
<ASUrl>https://bdswin19ex19.bds2019.lab/ews/exchange.asmx</ASUrl>
<EwsUrl>https://bdswin19ex19.bds2019.lab/ews/exchange.asmx</EwsUrl>
<EmwsUrl>https://bdswin19ex19.bds2019.lab/ews/exchange.asmx</EmwsUrl>
<OOFUrl>https://bdswin19ex19.bds2019.lab/ews/exchange.asmx</OOFUrl>
<UMUrl>https://bdswin19ex19.bds2019.lab/ews/UM2007Legacy.asmx</UMUrl>
<ServerExclusiveConnect>on</ServerExclusiveConnect>
<EwsPartnerUrl>https://bdswin19ex19.bds2019.lab/ews/exchange.asmx</EwsPartnerUrl>
<GroupingInformation>Default-First-Site-Name</GroupingInformation>
</Protocol>
<Protocol>
<Type>WEB</Type>
<Internal>
<OWAUrl AuthenticationMethod="Basic, Fba">https://bdswin19ex19.bds2019.lab/owa/</OWAUrl>
<Protocol>
<Type>EXCH</Type>
<ASUrl>https://bdswin19ex19.bds2019.lab/EWS/Exchange.asmx</ASUrl>
</Protocol>
</Internal>
</Protocol>
</Account>
</Response>
</Autodiscover>
</Trace>
<Trace Tag="EwsRequestHttpHeaders" Tid="1" Time="2019-07-23 07:23:22Z">
POST /ews/exchange.asmx HTTP/1.1
Content-Type: text/xml; charset=utf-8
Accept: text/xml
User-Agent: ExchangeServicesClient/14.02.0051.000
Accept-Encoding: gzip,deflate
</Trace>
<Trace Tag="EwsRequest" Tid="1" Time="2019-07-23 07:23:22Z" Version="14.02.0051.000">
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<t:RequestServerVersion Version="Exchange2007_SP1" />
<t:TimeZoneContext>
<t:TimeZoneDefinition Id="UTC" />
</t:TimeZoneContext>
</soap:Header>
<soap:Body>
<m:GetFolder>
<m:FolderShape>
<t:BaseShape>AllProperties</t:BaseShape>
</m:FolderShape>
<m:FolderIds>
<t:DistinguishedFolderId Id="contacts" />
</m:FolderIds>
</m:GetFolder>
</soap:Body>
</soap:Envelope>
</Trace>
<Trace Tag="EwsResponseHttpHeaders" Tid="1" Time="2019-07-23 07:23:25Z">
200 OK
Transfer-Encoding: chunked
request-id: 9acb88dd-26b9-47ee-a508-5432214d1b50
X-CalculatedBETarget: bdswin19ex19.bds2019.lab
X-DiagInfo: bdswin19ex19
X-BEServer: bdswin19ex19
Cache-Control: private
Content-Type: text/xml; charset=utf-8
Set-Cookie: exchangecookie=f5215965d72746f7874a28498e9ecf15; expires=Thu, 23-Jul-2020 07:23:24 GMT; path=/; HttpOnly,X-BackEndCookie=S-1-5-21-3882569489-2727334570-3171349044-500=u56Lnp2ejJqBysnLx5vKmczSm8rOndLLmced0p3GyMvSns2cncvIzcbLz5mbgYHNz87G0s/H0s3Nq8/Ixc3Mxc3LgZ2bjM3PzsbRk56dgc8=; expires=Thu, 22-Aug-2019 07:23:24 GMT; path=/ews; secure; HttpOnly
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
WWW-Authenticate: Negotiate oRswGaADCgEAoxIEEAEAAACy3Phefuj7AQAAAAA=
Persistent-Auth: true
X-Powered-By: ASP.NET
X-FEServer: bdswin19ex19
Date: Tue, 23 Jul 2019 07:23:24 GMT
</Trace>
<Trace Tag="EwsResponse" Tid="1" Time="2019-07-23 07:23:25Z" Version="14.02.0051.000">
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header>
<h:ServerVersionInfo MajorVersion="15" MinorVersion="2" MajorBuildNumber="397" MinorBuildNumber="3" Version="V2017_07_11" xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
</s:Header>
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<m:GetFolderResponse xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
<m:ResponseMessages>
<m:GetFolderResponseMessage ResponseClass="Success">
<m:ResponseCode>NoError</m:ResponseCode>
<m:Folders>
<t:ContactsFolder>
<t:FolderId Id="AQMkADM5MGEzZjdhLWY3MTYtNDk2OC1iOGRmLTdhNzFhNDVmMGQ1ZQAuAAADqZ0LHwLRLUm5pqYAewVE5SYBAP9gh7UJTSZOmbDwrEmXJCcAAAIBDgAAAA==" ChangeKey="AwAAABQAAADPyvPrervtQ7iviFwC9D+CAAAUDQ==" />
<t:ParentFolderId Id="AQMkADM5MGEzZjdhLWY3MTYtNDk2OC1iOGRmLTdhNzFhNDVmMGQ1ZQAuAAADqZ0LHwLRLUm5pqYAewVE5SYBAP9gh7UJTSZOmbDwrEmXJCcAAAIBCAAAAA==" ChangeKey="AQAAAA==" />
<t:FolderClass>IPF.Contact</t:FolderClass>
<t:DisplayName>Contacts</t:DisplayName>
<t:TotalCount>0</t:TotalCount>
<t:ChildFolderCount>7</t:ChildFolderCount>
<t:EffectiveRights>
<t:CreateAssociated>true</t:CreateAssociated>
<t:CreateContents>true</t:CreateContents>
<t:CreateHierarchy>true</t:CreateHierarchy>
<t:Delete>true</t:Delete>
<t:Modify>true</t:Modify>
<t:Read>true</t:Read>
</t:EffectiveRights>
<t:PermissionSet>
<t:Permissions>
<t:Permission>
<t:UserId>
<t:DistinguishedUser>Default</t:DistinguishedUser>
</t:UserId>
<t:CanCreateItems>false</t:CanCreateItems>
<t:CanCreateSubFolders>false</t:CanCreateSubFolders>
<t:IsFolderOwner>false</t:IsFolderOwner>
<t:IsFolderVisible>false</t:IsFolderVisible>
<t:IsFolderContact>false</t:IsFolderContact>
<t:EditItems>None</t:EditItems>
<t:DeleteItems>None</t:DeleteItems>
<t:ReadItems>None</t:ReadItems>
<t:PermissionLevel>None</t:PermissionLevel>
</t:Permission>
<t:Permission>
<t:UserId>
<t:DistinguishedUser>Anonymous</t:DistinguishedUser>
</t:UserId>
<t:CanCreateItems>false</t:CanCreateItems>
<t:CanCreateSubFolders>false</t:CanCreateSubFolders>
<t:IsFolderOwner>false</t:IsFolderOwner>
<t:IsFolderVisible>false</t:IsFolderVisible>
<t:IsFolderContact>false</t:IsFolderContact>
<t:EditItems>None</t:EditItems>
<t:DeleteItems>None</t:DeleteItems>
<t:ReadItems>None</t:ReadItems>
<t:PermissionLevel>None</t:PermissionLevel>
</t:Permission>
</t:Permissions>
</t:PermissionSet>
</t:ContactsFolder>
</m:Folders>
</m:GetFolderResponseMessage>
</m:ResponseMessages>
</m:GetFolderResponse>
</s:Body>
</s:Envelope>
</Trace>
<Trace Tag="EwsRequestHttpHeaders" Tid="1" Time="2019-07-23 07:23:26Z">
POST /ews/exchange.asmx HTTP/1.1
Content-Type: text/xml; charset=utf-8
Accept: text/xml
User-Agent: ExchangeServicesClient/14.02.0051.000
Accept-Encoding: gzip,deflate
</Trace>
<Trace Tag="EwsRequest" Tid="1" Time="2019-07-23 07:23:26Z" Version="14.02.0051.000">
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<t:RequestServerVersion Version="Exchange2007_SP1" />
<t:TimeZoneContext>
<t:TimeZoneDefinition Id="UTC" />
</t:TimeZoneContext>
</soap:Header>
<soap:Body>
<m:FindFolder Traversal="Shallow">
<m:FolderShape>
<t:BaseShape>AllProperties</t:BaseShape>
</m:FolderShape>
<m:IndexedPageFolderView MaxEntriesReturned="10" Offset="0" BasePoint="Beginning" />
<m:ParentFolderIds>
<t:DistinguishedFolderId Id="msgfolderroot" />
</m:ParentFolderIds>
</m:FindFolder>
</soap:Body>
</soap:Envelope>
</Trace>
<Trace Tag="EwsResponseHttpHeaders" Tid="1" Time="2019-07-23 07:23:29Z">
200 OK
Transfer-Encoding: chunked
request-id: 99c12594-d8e4-4d34-9807-12303b22b138
X-CalculatedBETarget: bdswin19ex19.bds2019.lab
X-DiagInfo: bdswin19ex19
X-BEServer: bdswin19ex19
Cache-Control: private
Content-Type: text/xml; charset=utf-8
Set-Cookie: exchangecookie=f5215965d72746f7874a28498e9ecf15; path=/,X-BackEndCookie=S-1-5-21-3882569489-2727334570-3171349044-500=u56Lnp2ejJqBysnLx5vKmczSm8rOndLLmced0p3GyMvSns2cncvIzcbLz5mbgYHNz87G0s/H0s3Nq8/Ixc3Mxc3HgZ2bjM3PzsbRk56dgc8=; expires=Thu, 22-Aug-2019 07:23:28 GMT; path=/ews; secure; HttpOnly
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
WWW-Authenticate: Negotiate oRswGaADCgEAoxIEEAEAAAC6/tQ5uaj44QAAAAA=
Persistent-Auth: true
X-Powered-By: ASP.NET
X-FEServer: bdswin19ex19
Date: Tue, 23 Jul 2019 07:23:28 GMT
</Trace>
<Trace Tag="EwsResponse" Tid="1" Time="2019-07-23 07:23:29Z" Version="14.02.0051.000">
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header>
<h:ServerVersionInfo MajorVersion="15" MinorVersion="2" MajorBuildNumber="397" MinorBuildNumber="3" Version="V2017_07_11" xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
</s:Header>
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<m:FindFolderResponse xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
<m:ResponseMessages>
<m:FindFolderResponseMessage ResponseClass="Success">
<m:ResponseCode>NoError</m:ResponseCode>
<m:RootFolder IndexedPagingOffset="10" TotalItemsInView="18" IncludesLastItemInRange="false">
<t:Folders>
<t:CalendarFolder>
<t:FolderId Id="AQMkADM5MGEzZjdhLWY3MTYtNDk2OC1iOGRmLTdhNzFhNDVmMGQ1ZQAuAAADqZ0LHwLRLUm5pqYAewVE5SYBAP9gh7UJTSZOmbDwrEmXJCcAAAIBDQAAAA==" ChangeKey="AgAAABQAAADPyvPrervtQ7iviFwC9D+CAAAEKQ==" />
<t:ParentFolderId Id="AQMkADM5MGEzZjdhLWY3MTYtNDk2OC1iOGRmLTdhNzFhNDVmMGQ1ZQAuAAADqZ0LHwLRLUm5pqYAewVE5SYBAP9gh7UJTSZOmbDwrEmXJCcAAAIBCAAAAA==" ChangeKey="AQAAAA==" />
<t:FolderClass>IPF.Appointment</t:FolderClass>
<t:DisplayName>Calendar</t:DisplayName>
<t:TotalCount>0</t:TotalCount>
<t:ChildFolderCount>1</t:ChildFolderCount>
<t:EffectiveRights>
<t:CreateAssociated>true</t:CreateAssociated>
<t:CreateContents>true</t:CreateContents>
<t:CreateHierarchy>true</t:CreateHierarchy>
<t:Delete>true</t:Delete>
<t:Modify>true</t:Modify>
<t:Read>true</t:Read>
</t:EffectiveRights>
</t:CalendarFolder>
<t:ContactsFolder>
<t:FolderId Id="AQMkADM5MGEzZjdhLWY3MTYtNDk2OC1iOGRmLTdhNzFhNDVmMGQ1ZQAuAAADqZ0LHwLRLUm5pqYAewVE5SYBAP9gh7UJTSZOmbDwrEmXJCcAAAIBDgAAAA==" ChangeKey="AwAAABQAAADPyvPrervtQ7iviFwC9D+CAAAUDQ==" />
<t:ParentFolderId Id="AQMkADM5MGEzZjdhLWY3MTYtNDk2OC1iOGRmLTdhNzFhNDVmMGQ1ZQAuAAADqZ0LHwLRLUm5pqYAewVE5SYBAP9gh7UJTSZOmbDwrEmXJCcAAAIBCAAAAA==" ChangeKey="AQAAAA==" />
<t:FolderClass>IPF.Contact</t:FolderClass>
<t:DisplayName>Contacts</t:DisplayName>
<t:TotalCount>0</t:TotalCount>
<t:ChildFolderCount>7</t:ChildFolderCount>
<t:EffectiveRights>
<t:CreateAssociated>true</t:CreateAssociated>
<t:CreateContents>true</t:CreateContents>
<t:CreateHierarchy>true</t:CreateHierarchy>
<t:Delete>true</t:Delete>
<t:Modify>true</t:Modify>
<t:Read>true</t:Read>
</t:EffectiveRights>
</t:ContactsFolder>
<t:Folder>
<t:FolderId Id="AQMkADM5MGEzZjdhLWY3MTYtNDk2OC1iOGRmLTdhNzFhNDVmMGQ1ZQAuAAADqZ0LHwLRLUm5pqYAewVE5SYBAP9gh7UJTSZOmbDwrEmXJCcAAAIBIgAAAA==" ChangeKey="AQAAABQAAADPyvPrervtQ7iviFwC9D+CAAAEIQ==" />
<t:ParentFolderId Id="AQMkADM5MGEzZjdhLWY3MTYtNDk2OC1iOGRmLTdhNzFhNDVmMGQ1ZQAuAAADqZ0LHwLRLUm5pqYAewVE5SYBAP9gh7UJTSZOmbDwrEmXJCcAAAIBCAAAAA==" ChangeKey="AQAAAA==" />
User contributions licensed under CC BY-SA 3.0