Forum Discussion
fansari
Mar 22, 2025Copper Contributor
Evolution with business account (oauth2)
Recently domainFactory migrated mail to Microsoft 365 business accounts. I used to use the Evolution mail client (Fedora Linux, flatpak version) for mail. Unfortunately I am not able to login to my...
Kidd_Ip
Mar 25, 2025MVP
Please consider this:
- Check Evolution Version: Ensure you're using the latest version of Evolution and the evolution-ews plugin. Compatibility issues often arise with outdated versions.
- OAuth2 Configuration:
- In Evolution, go to Edit > Preferences > Mail Accounts.
- Select your account and ensure the authentication method is set to OAuth2.
- Verify that the server settings match Microsoft's requirements:
- Server Type: Exchange Web Services
- Host URL: https://outlook.office365.com/EWS/Exchange.asmx
- Azure AD Permissions: Sometimes, business accounts require specific permissions in Azure Active Directory. Ensure that your account has the necessary API permissions for email access.
fansari
Mar 29, 2025Copper Contributor
See above what I have tested so far.
Also when I check this URL (I fill in my tenant and application id here) I am asked to login (I can choose my organisation) but when I do this a blank white page appears without any confirmation or error message.
https://login.microsoftonline.com/<TENANT ID HERE>/oauth2/authorize?resource=https%3A%2F%2Foutlook.office.com&response_type=code&response_mode=query&prompt=admin_consent&client_id=<APPLICATION ID HERE>&redirect_uri=https%3A%2F%2Flogin.microsoftonline.com%2Fcommon%2Foauth2%2Fnativeclient