Applies to: Cloud & Self-Hosted
Audience: Site Administrators
Time: Approximately 30 minutes
This guide shows site administrators how to connect Axero to Microsoft Outlook for two-way calendar sync. After setup, users can connect their Outlook account from My Calendar to sync events between the two.
The setup takes approximately 30 minutes. It needs a system administrator with the right permissions in both Axero and Microsoft Entra ID (Microsoft's identity and access service).
Before you start, make sure you have:
https://your-site.com
/oauth2/outlook/callback
https://your-site.com/oauth2/outlook/callback
Important: The Redirect URI must use HTTPS and match your Axero URL exactly, including path and casing. Do not include a trailing slash or space.
Important: Store the client secret securely and treat it as a sensitive credential. Record the expiration date in your team calendar and set a reminder to rotate the secret at least two weeks before it expires. See Rotating Client Secrets for renewal steps.
contacts.read
OutlookApiAuthorizationScopes
Checkpoint: Before continuing, confirm you have all three values from your Entra app registration: the Application (client) ID, the Directory (tenant) ID, and the client secret value. All API permissions should show green checkmarks under the Status column.
OutlookApiClientID
OutlookApiClientSecret
calendars.readwrite contacts.read openid offline_access profile email
OutlookApiBaseUrl
https://graph.microsoft.com/v1.0
https://outlook.office.com/api/v2.0
SAMLTenantID
UseSAMLTenantIDForOutlook
true
false
Note: SAML single sign-on (SSO) configuration also uses the SAMLTenantID property name. When UseSAMLTenantIDForOutlook is enabled, the same property is the Outlook tenant identifier too.
Important: If you change the account type after users have already connected, they'll need to disconnect and reconnect their Outlook calendar.
If you selected Multiple Entra ID tenants in Step 1, an administrator in each external tenant must grant admin consent before their users can connect. That can be a Global Administrator, Cloud Application Administrator, or Application Administrator.
your_client_id
https://login.microsoftonline.com/organizations/adminconsent?client_id=your_client_id
Important: If users in an external tenant get errors after admin consent, ask that tenant's administrator to reset the permission state. The administrator goes to Enterprise apps in their Entra admin center, deletes the app entry, and re-grants consent using the URL above.
When the configuration is done, check that the integration works:
If the connection fails or events do not sync, see the Troubleshooting section below.
Your Outlook calendar sync integration is fully configured. Users can now connect their Outlook account by following the Outlook Calendar Sync User Setup guide. For additional calendar integration options, see Connect Email to Calendar.
Tip: Most integration issues come from an incorrect redirect URI or missing admin consent, so check those first.
"Default Outlook account has not been setup"
This error means the site has no Default Outlook Email connected. Once the integration is switched on, Axero won't create an event for anyone who hasn't synced a personal calendar until that site-level mailbox is set. That's why the error appears for every user at once. To fix it for the whole site, connect the mailbox as Default Outlook Email. The setting is at Control Panel > System > General Settings > Email Settings, under Additional email settings. The last step of Step 2 above walks through it. A user can also clear the error for themselves alone by connecting their own Outlook account from My Calendar (Outlook Calendar Sync User Setup). That's a workaround, not the fix.
Users see an AADSTS error when connecting their Outlook account
An AADSTS error is a Microsoft sign-in error code, and it usually points to a permissions or configuration issue. Go to Entra ID > App registrations in the Entra admin center and check that admin consent was granted for every permission from step 1.3:
"Application with identifier [id] was not found in the directory" (AADSTS700016)
The OutlookApiClientID system property has the wrong value. Check that it matches the Application (client) ID from the app's Overview page in Entra, not the Secret ID from Certificates & secrets.
"Error connecting your account" or 403 Forbidden errors in the exception log (multi-tenant)
The permissions may be slow to reach the other tenant, or blocked on the way. Ask the external tenant's administrator to go to Enterprise apps in their Entra admin center and delete the app entry. They then re-grant consent with the steps in Step 3: Grant Admin Consent for External Tenants. Also check that the user has Outlook on the web, Exchange Web Services, and Authenticated SMTP enabled. Those settings are in the Microsoft 365 Admin Center under Users > Active Users > [User] > Mail > Manage email apps.
Multi-tenant consent request routes to the wrong tenant
If a user's consent request goes to a different tenant than expected, the user may be signed in to multiple Microsoft accounts. Have them sign out of all Microsoft accounts in their browser, sign in with only the account they mean to use, and try connecting again.
Users cannot see the person icon above My Calendar
Check that Enable calendar sync from 3rd party systems is set to Yes in Control Panel > System > General Settings > Advanced Settings. If the setting changed recently, go to System > Advanced System Utilities and select Restart Site.
Sync stops working after a period of time
The client secret may have expired. Generate a new secret in the Entra admin center and update the OutlookApiClientSecret system property in Axero. See Rotating Client Secrets for steps that renew it without interrupting sync.
A client secret expires at the end of the period chosen when it was created. To rotate a secret (replace it with a new one) without interrupting the service:
Users who are already connected don't need to reconnect their Outlook calendar after a secret rotation.
To fully remove the Outlook calendar sync integration:
Important: Removing the integration disconnects all users from their Outlook calendar sync, and they no longer see synced events. Tell affected users before you start.
Next Steps: Now that the administrator setup is complete, share the user setup instructions with your team: Outlook Calendar Sync User Setup
If you encounter an issue not covered here, or if a step could be clearer, let us know through a Support Case.
is requesting access to a wiki that you have locked: https://my.axerosolutions.com/spaces/5/axero-documentation/wiki/view/26794/outlook-calendar-sync-administrator-setup
Your session has expired. You are being logged out.