Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix NowHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
FREEDOM251

Freedom251 › Blog › EWS

What EwsAllowedAppIDs Does in Exchange Online and Who Needs to Configure It

By Freedom251 Team · · 4 min read

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

EwsAllowedAppIDs is an Exchange Online organization-level allow list for application IDs that make direct Exchange Web Services (EWS) SOAP requests. It only takes effect when EwsEnabled is $true; it does not grant OAuth permissions, and it does not control Microsoft Graph. The Exchange Online administrator configures the tenant-wide setting, while owners of EWS integrations must identify the correct application IDs.

Microsoft’s EWS retirement guidance says it changed EwsEnabled from $null to $false on October 1, 2026, for tenants that had not opted in. Since that date has passed, check the tenant’s current configuration rather than assuming EWS is enabled.

As an Amazon Associate I earn from qualifying purchases.

What EwsAllowedAppIDs controls

EwsAllowedAppIDs is a parameter of Exchange Online’s Set-OrganizationConfig cmdlet. It accepts one or more Microsoft Entra application IDs (GUIDs) and restricts which applications can make direct EWS SOAP connections when EWS is enabled. Microsoft documents the behavior in its Set-OrganizationConfig reference.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Organization setting Effect on EWS Effect of EwsAllowedAppIDs
EwsEnabled = $true EWS is enabled, subject to applicable access controls. Only application IDs on the configured list are allowed; other app IDs are blocked.
EwsEnabled = $false EWS is blocked for the organization. The list cannot override the block.
EwsEnabled = $null Behavior must be assessed against the tenant’s current retirement-related configuration. Under the cmdlet reference’s documented behavior, the app-ID parameter has no effect.

Setting EwsAllowedAppIDs to $null removes the app-ID restriction. That does not enable EWS: EwsEnabled and other applicable policies still determine whether requests can connect.

Who should configure it

Exchange Online tenant administrators

The Exchange Online administrator should review and configure this organization-wide setting when the tenant still needs EWS and wants to restrict it to approved applications. Because it applies across the organization, changing the list can affect integrations used by multiple teams or services.

EWS integration owners and identity administrators

Owners of each integration should identify and validate the application ID it actually uses, then provide it to the Exchange administrator. Allowing an ID is not the same as registering an application in Entra or granting it permission to access EWS. Microsoft’s OAuth guidance for EWS applications describes registration and the delegated or application permissions needed, depending on whether a user is present or the application runs as a background service.

Mailbox administrators

Organization-level controls are not the only EWS settings to check. Microsoft documents mailbox-level controls through Get-CASMailbox and Set-CASMailbox, alongside organization-level settings managed with Get-OrganizationConfig and Set-OrganizationConfig. An organization-level EwsEnabled block can prevent EWS across the tenant regardless of mailbox overrides. See Microsoft’s EWS access-control guidance.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How to set and verify the application-ID list

  1. Check the current organization settings. In Exchange Online PowerShell, run Get-OrganizationConfig and inspect EwsEnabled. To retrieve the configured app-ID policy, use Get-OrganizationConfig -RetrieveEwsOperationAccessPolicy and inspect EwsAllowedAppIDs. Microsoft documents this retrieval switch; do not assume an ordinary output always includes the property.
  2. Confirm the required IDs with integration owners. Verify each Entra application ID against the application that makes the EWS request. Do not assume that a display name, client secret, or permission grant is a substitute for the ID.
  3. Preserve required entries, then apply the full intended list. The parameter takes comma-separated IDs. For example: Set-OrganizationConfig -EwsAllowedAppIDs "<app-guid-1>,<app-guid-2>". Treat this as the organization’s complete intended allow list: read the existing value first so a change does not accidentally remove another team’s required application.
  4. Verify the resulting policy. Run Get-OrganizationConfig -RetrieveEwsOperationAccessPolicy again and confirm the IDs, then verify EwsEnabled separately.
  5. Remove the ID restriction only if intended. To clear the restriction, run Set-OrganizationConfig -EwsAllowedAppIDs $null. This removes the app-ID filter; it does not turn EWS on or bypass other controls.

How it differs from Graph and other EWS controls

It does not allow or block Microsoft Graph

EwsAllowedAppIDs applies to direct EWS SOAP connections. Microsoft explicitly states it does not affect Microsoft Graph API requests or the REST endpoint in the cmdlet reference. It is therefore not a general Microsoft 365 API allow list.

Application IDs and user-agent rules are separate checks

EwsApplicationAccessPolicy with EwsAllowList or EwsBlockList evaluates user-agent strings, not Entra application IDs. When both an application-ID policy and a user-agent policy are present, Microsoft’s access-control guidance says both must permit the connection. An allowed app ID alone does not guarantee access if a user-agent allow list also blocks the request.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Special case: Skype for Business Server hybrid

Microsoft’s EWS retirement preparation guidance for Skype for Business Server hybrid describes a scenario-specific EWS continuity requirement: enable tenant EWS and allow both the deployment’s Skype for Business Server app ID and the Skype desktop client app ID. The guidance identifies the desktop client ID as d3590ed6-52b3-4102-aeff-aad2292ab01c. To identify the server app ID, it gives this command:

Get-CsOAuthConfiguration | Format-List ServiceName

Microsoft’s guidance said administrators needed to make the configuration by the end of August 2026 for calls to continue through phased disablement. It also identifies a later migration from EWS to Microsoft Graph before permanent EWS retirement, including an April 1, 2027 deadline for a Skype for Business Server update. These dates apply to that documented hybrid scenario; use the current Microsoft guidance for the deployment and check the tenant’s actual settings.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What to check when an EWS app is blocked

  • Confirm the API path. This allow list concerns direct EWS SOAP access, not Graph API or REST calls.
  • Check EwsEnabled. If it is $false, no application ID on the list can enable EWS.
  • Check the configured app ID. Retrieve the organization policy with -RetrieveEwsOperationAccessPolicy and compare it with the ID the integration actually uses.
  • Check other access controls. A user-agent policy or mailbox-level setting may also affect the connection.
  • Check OAuth separately. The allow list does not register an Entra application or grant delegated or application permissions.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

EWSExchange OnlineMicrosoft 365Microsoft Entra IDPowerShell

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.