Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AutodiscoverUrl error #44

Open
daver77 opened this issue Nov 4, 2019 · 1 comment
Open

AutodiscoverUrl error #44

daver77 opened this issue Nov 4, 2019 · 1 comment

Comments

@daver77
Copy link

daver77 commented Nov 4, 2019

Hi,

I'm migrating a project from .NET Framwork to Core and am now using this package

Should this code work?

ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2007_SP1) { UseDefaultCredentials = true, ImpersonatedUserId = new ImpersonatedUserId(ConnectingIdType.SmtpAddress, emailAddress) }; service.AutodiscoverUrl(emailAddress);

I just get an error "The Autodiscover service couldn't be located."

The same code work in the .NET Framework version using the MS EWS API

@blakepell
Copy link

See my comment on this issue, it might provide you a path forward (you just have to find the URL that AutoDiscover would have found):

#46

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

No branches or pull requests

2 participants