Giter Site home page Giter Site logo

Comments (14)

TCB13 avatar TCB13 commented on September 7, 2024 6

3rd party clients are advised to used Graph.microsoft.com. Behind the scene Graph would do the Autodiscover V2 to discover the protocol URL required to connect to the requested mailbox and then connect to it to get the requested content.

Yeah I've noticed that Microsoft probes my servers for the v2 protocol however they don't seem to pass the settings to Outlook after that... I think this is anti competitive behavior - making sure only O365 email works properly with Outlook.
Before someone says my v2 implementation is broken just consider for a second that it works just fine with older versions of Outlook but its broken with the newer versions that use microsoft's graph servers.

from email-autodiscover.

gronke avatar gronke commented on September 7, 2024 1

I've noticed that the latest Outlook 2016 from Office 365 uses a new auto configuration format
@TCB13 do you know if the client sends a user agent string or how we can differentiate which client is connecting?

Are there any ideas on supporting this newer JSON format as well? Thank you.
It invites for a conditional that differentiates which format to present.

Impossible to find any documentation :'(
Usually looking at other ISPs configuration is an appropriate way to gain such information.

from email-autodiscover.

Deepakbaghel99 avatar Deepakbaghel99 commented on September 7, 2024 1

Autodiscover.json is the new Autodiscover (Autodiscover V2) service that is used by Office 365 clients to discover the location of the mailbox to connect too.
3rd party clients are advised to used Graph.microsoft.com. Behind the scene Graph would do the Autodiscover V2 to discover the protocol URL required to connect to the requested mailbox and then connect to it to get the requested content.
https://channel9.msdn.com/Events/Ignite/2016/BRK3045 is the link to the Ignite talk talking (24.30 mins) about Autodiscover V2 in Graph context.

from email-autodiscover.

FoZo avatar FoZo commented on September 7, 2024 1

Hi,
it looks like the new otulook just don't support autodiscovery for non MS services.
After few days digging in the MS documentation I had found this:
https://docs.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-oxdscli/b79961b5-ff44-47bf-b136-b5613c45f18b#Appendix_A_36

from email-autodiscover.

Billyboylindien avatar Billyboylindien commented on September 7, 2024

Same on my side.
It use activesync protocol.
Impossible to find any documentation :'(
If someone have I take ;)

My searches:
https://github.com/mailcow/mailcow-dockerized/blob/master/data/web/autodiscover-json.php

from email-autodiscover.

TCB13 avatar TCB13 commented on September 7, 2024

@gronke I think the link by @Billyboylindien answers that question https://github.com/mailcow/mailcow-dockerized/blob/master/data/web/autodiscover-json.php

Looks like the Protocol field in the GET request can be either ActiveSync or AutodiscoverV1.

from email-autodiscover.

Gorjan-Relevantmobile avatar Gorjan-Relevantmobile commented on September 7, 2024

Hi Guys, could you please tell me if some one has implemented this?

from email-autodiscover.

TCB13 avatar TCB13 commented on September 7, 2024

I still can't get arond this. Outlook doesn't even seem to behave the same from domain to domain.

from email-autodiscover.

alphaguy4 avatar alphaguy4 commented on September 7, 2024

Can someone point me to a document or something ? I need to implement auto discovery for my native mobile app using graph i don't find any resource related to this.

from email-autodiscover.

alphaguy4 avatar alphaguy4 commented on September 7, 2024

Autodiscover.json is the new Autodiscover (Autodiscover V2) service that is used by Office 365 clients to discover the location of the mailbox to connect too.
3rd party clients are advised to used Graph.microsoft.com. Behind the scene Graph would do the Autodiscover V2 to discover the protocol URL required to connect to the requested mailbox and then connect to it to get the requested content.
https://channel9.msdn.com/Events/Ignite/2016/BRK3045 is the link to the Ignite talk talking (24.30 mins) about Autodiscover V2 in Graph context.

@Deepakbaghel99 How we can use graph ? graph will require the auth tokens right ? which api of graph we need to call ?

from email-autodiscover.

chris001 avatar chris001 commented on September 7, 2024

I'm surprised and don't believe MS is still acting anti competitive in 2020. Example, they recently integrated linux VMs into windows server (afaik)! I bet this AutodiscoverV2 is caused by human error of missing documentation on how to use their Graph API and it should appear soon, as long we ask MS for it, and/or search in MS Tech Net for it.

from email-autodiscover.

Trimilur avatar Trimilur commented on September 7, 2024

Are there any news here? I am also unable to get autodiscover with imap working in outlook with o365.

from email-autodiscover.

christophsanz avatar christophsanz commented on September 7, 2024

I am having the same issue. It is weird how if you use the old "Mail (Microsoft Outlook) (32-Bit)" via the Control Panel everything works... this is just frustrating.
Why is automatic email configuration still that hard in 2021, why does not everyone use RFC 6186 ??

from email-autodiscover.

m3nu avatar m3nu commented on September 7, 2024

There is also a registry flag that can change the default dialog in Outlook back to the “advanced version”.

from email-autodiscover.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.