mirror of
https://github.com/gronke/email-autodiscover.git
synced 2026-04-25 06:15:58 +03:00
[GH-ISSUE #4] New JSON-based AutoDiscovery #1
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/email-autodiscover#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @TCB13 on GitHub (Apr 6, 2018).
Original GitHub issue: https://github.com/gronke/email-autodiscover/issues/4
Hello,
I've noticed that the latest Outlook 2016 from Office 365 uses a new auto configuration format, have a look at this from my Apache:
[06/Apr/2018:04:26:15 +0200] "GET /autodiscover/autodiscover.json?Email=user%40exampledomain.org&Protocol=ActiveSync&RedirectCount=1 HTTP/1.1" 404 4020 "-" "OutlookMobileCloudService-Autodetect/1.0.0"Are there any ideas on supporting this newer JSON format as well? Thank you.
@Billyboylindien commented on GitHub (Jul 25, 2018):
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
@gronke commented on GitHub (Jul 25, 2018):
@TCB13 commented on GitHub (Jul 25, 2018):
@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
Protocolfield in the GET request can be eitherActiveSyncorAutodiscoverV1.@Gorjan-Relevantmobile commented on GitHub (Sep 18, 2018):
Hi Guys, could you please tell me if some one has implemented this?
@Deepakbaghel99 commented on GitHub (Oct 16, 2018):
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.
@TCB13 commented on GitHub (Aug 19, 2019):
I still can't get arond this. Outlook doesn't even seem to behave the same from domain to domain.
@FoZo commented on GitHub (Aug 31, 2020):
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
@kartikayx commented on GitHub (Sep 28, 2020):
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.
@kartikayx commented on GitHub (Sep 30, 2020):
@Deepakbaghel99 How we can use graph ? graph will require the auth tokens right ? which api of graph we need to call ?
@TCB13 commented on GitHub (Sep 30, 2020):
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.
@chris001 commented on GitHub (Dec 23, 2020):
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.
@Trimilur commented on GitHub (Mar 26, 2021):
Are there any news here? I am also unable to get autodiscover with imap working in outlook with o365.
@christophsanz commented on GitHub (Mar 27, 2021):
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 ??
@m3nu commented on GitHub (Mar 28, 2021):
There is also a registry flag that can change the default dialog in Outlook back to the “advanced version”.