Users may get the following error when trying to authenticate with Office 365 (image below).
A user will encounter this error if their Office 365 Admins have enabled advanced security settings within Azure Active Directory (Microsoft's cloud-based application access management) to restrict access to third party applications (like Aptly) at an Org level.
A Global Administrator with access to Azure AD can configure these settings to allow integration with Aptly.
1. Log into aad.portal.azure.com with Global Admin credentials to access the Azure Active Directory admin Center.
Clicking on the link will direct to the following window (since you're already logged in as an admin from Step 1, you will not be prompted to login again).
3. Click Accept, to authorize on behalf of all the Aptly users in your org.
After clicking Accept, you'll be directed to Aptly’s login page. Continue to Step 4 without logging in.
4. Confirm you see the Aptly app in Azure Active Directory, under Enterprise Applications:
5. Once you've authorized on behalf of your org's users, the users need to login to Aptly and sync their inbox.