
If you are connecting your calendar via Other Calendars and encountering any issues, this guide will help you understand the key requirements and configurations needed for a successful setup.
Sembly and other external calendar services can integrate with Microsoft Exchange Server 2019 using Exchange Web Services (EWS). This article explains how EWS works in this context and walks you through the configuration steps needed to ensure secure, reliable access.
Exchange 2019 has EWS enabled by default, but you should confirm:
Open Exchange Management Shell (EMS).
Run the command:
Get-WebServicesVirtualDirectory | Format-List Name,Server,InternalUrl,ExternalUrlMake sure InternalUrl and ExternalUrl are set correctly.
ExternalUrl is required if the service connects from outside your network.
If your EWS URL needs updating for external access:
Set-WebServicesVirtualDirectory -Identity "EWS (Default Web Site)" -ExternalUrl https://mail.yourdomain.com/EWS/Exchange.asmxReplace https://mail.yourdomain.com with your actual Exchange external domain.
Verify connectivity:
Test-WebServicesConnectivity -ClientAccessServer <YourServerName> -Service EWSMost external services require a dedicated account:
Create a user account in Active Directory.
Assign ApplicationImpersonation if the service needs access to multiple mailboxes:
New-ManagementRoleAssignment -Name:impersonationAssignmentName -Role:ApplicationImpersonation -User:serviceAccountReplace serviceAccount with your service account name.
If the service accesses a specific mailbox:
Add-MailboxPermission -Identity [email protected] -User serviceAccount -AccessRights FullAccessSome integrations still use Basic Authentication; Microsoft recommends OAuth 2.0:
Check current EWS authentication:
Get-WebServicesVirtualDirectory | Format-List Name,Server,BasicAuthentication,WindowsAuthenticationEnable Basic Authentication (if necessary):
Set-WebServicesVirtualDirectory -Identity "EWS (Default Web Site)" -BasicAuthentication $trueFor production, use OAuth 2.0 for better security.
The external service will typically need:
EWS URL: https://mail.yourdomain.com/EWS/Exchange.asmx
Username & password: service account credentials
Domain: Active Directory domain
Optional: Impersonation for multiple mailboxes
Ensure port 443 is open for HTTPS traffic from the external service.
Use a valid SSL certificate that matches your external domain.
For modern, secure integration:
Register your application in Azure AD (for Hybrid/Office 365) or ADFS (on-prem).
Grant EWS.AccessAsUser.All permissions.
Configure the service with Client ID, Tenant ID, and Secret.
If issues occur, try:
Restarting Exchange services;
Resetting OWA virtual directories;
Installing the latest Cumulative Update (CU).