Android Outlook over IMAP is logging in from Microsoft servers


Question

Using Microsoft Outlook app for Android I could not add an Outlook-IMAP account on some Android tablet for some customer. However, it was no problem to add the same IMAP account to the GMail App, or some other mail Clients on the same tablet. Or to Thunderbird on Windows, even Outlook on Windows worked fine...


I wondered what the heck is going on. updated outlook on android, no change. So i setup an Test-Mail-Server and sniffed the network traffic. Turns out that my device was not talking to the Mail-Server but some Microsoft servers where... what?? got logins to my IMAP from 52.125.138.21 and 52.125.139.100. WHOIS... 52.125.0.0 - 52.127.255.255 -> Microsoft Corporation (MSFT)...


Why are they logging in to my IMAP Server with user and password... why is Andorid-Outlook telling my SECRET password to some servers @ Microsoft... and... do i have to assume they pass my credentials and all mails so some 3Letter agency? It's just stupid to transport all IMAP communication to MS and from there to the tablet.


So the question is: Is there any way to force Outlook on a Android tablet to directly communicate with the IMAP-Server? I set imap.myserver.ch:993 in the advanced settings... but this also leads to MS logging in and get all mails... still no traffic from tablet to IMAP-Server.


I'm useing Oultook Version 4.2025.3 (42025807) on a Galaxy Tab S6 Android Version 10


Answer

Looks like you have not read the the small print before using the

Microsoft Outlook app for Android.


Yes, what you have detected is the way the Outlook Android app works. Outlook is not an IMAP client, instead username and password are transmitted to a cloud server (named "Exchange Online") that saves these info and then logs into your mailbox, does what ever it is supposed to do in background and also allows your Outlook app to access your mailbox as well. See also the official documentation by Microsoft on that topic.


I assume access to IMAP folders is only for backward compatibility. The real target of Outlook app is accessing Outlook.com and cloud based Exchange servers. In this scenario the password is not stored on the Microsoft server, instead a generated token is used for user authentication towards the Exchange server. However all your mail, calendar and contact data still passes the Microsoft cloud servers.


BTW: This app and it's backend has not been developed by Microsoft. Instead Microsoft bought a company named "Acompli" and they are the creator of this system.


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes