Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Autodiscover Service couldn't be located with Modern Username and Password. #275

Open
alpha079 opened this issue Nov 10, 2021 · 0 comments

Comments

@alpha079
Copy link

We switched from Basic to Modern on tenant. Autodiscover could not be located for O365 and Exchange server
Inner exception:
08:39:06 Microsoft.Exchange.WebServices.Data.AutodiscoverLocalException: The Autodiscover service couldn't be located.
08:39:06 Source: Microsoft.Exchange.WebServices
08:39:06 StackTrace:
08:39:06 at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List1 redirectionEmailAddresses, Int32& currentHop) 08:39:06 at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List1 redirectionEmailAddresses, Int32& currentHop)
08:39:06 at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.GetLegacyUserSettings[TSettings](String emailAddress)
08:39:06 at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings(String emailAddress, List`1 requestedSettings)
08:39:06 at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.GetUserSettings(String userSmtpAddress, UserSettingName[] userSettingNames)
08:39:06 at Quest.AM.Autodiscover.EWSAutodiscover.ExecuteAutoDiscover(AutodiscoverService ewsService, String emailAddress, EWSAutodiscoverOptions options)
08:39:06 at Quest.AM.Autodiscover.EWSAutodiscover.DoAutodiscover(String emailAddress, String url, Boolean useScpLookup, NetworkCredential creds, String o365Provider, String connectionUri, EWSAutodiscoverOptions options, Int32 exchangeVersion, String overrideSettings, TimeSpan timeout)
08:39:06 at Quest.AM.Autodiscover.EWSAutodiscover.<>c__DisplayClass3_0.b__2()
08:39:06 at System.Threading.Tasks.Task.InnerInvoke()
08:39:06 at System.Threading.Tasks.Task.Execute()

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant