r/PowerShell • u/CallMeNoodler • Jul 15 '26
Question EwsAllowedAppIDs... why no work?
So Microsoft is retiring Exchange Web Services because it's ancient and insecure. They're turning it off on all tenants in October, while giving us the option to turn it back on, and it's going away permanently in October 2027.
Realizing that tons of third parties still rely on it, Microsoft, according to their documentation, is allowing us to enable it for the time being, but restrict it to only certain Entra App IDs. According to their documentation (example 7 here: https://learn.microsoft.com/en-us/powershell/module/exchangepowershell/set-organizationconfig?view=exchange-ps ), the command looks like this:
Set-OrganizationConfig -EwsEnabled $true -EwsAllowedAppIDs "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee,11111111-2222-3333-4444-555555555555"
Cool, cool, great. I've inventoried my environment, and I got all the app IDs. I updated my ExchangeOnlineManagement module, ran the command, and... EwsAllowedAppIDs is not a valid parameter:
Set-OrganizationConfig : A parameter cannot be found that matches parameter name 'EwsAllowedAppIDs'.
Uh... ok. So I do some more digging, and it looks like this parameter is part of a phased rollout?... does anyone have any idea to find out when it might hit my tenant? Has it already and am I doing something wrong?
Has anyone actually gotten this to work?
Thanks in advance for any help.
2
u/BlackV Jul 15 '26 edited Jul 15 '26
To ask the obvious have you updated to the latest module?
Edit: Looks like that has not been updated to include that parameter yet
And relevant pim roles
1 further check, does
EwsEnabledneed to be set to$truebeforeEwsAllowedAppIDsis available ?2
u/mr_shevchenko_ Aug 11 '26
Late to this, but for anyone landing here from a search: it isn't your module, and there's nothing to fix locally.
The write path is gated by rollout. The Exchange team's post for the feature says every tenant can see the parameter on Get-OrganizationConfig, but can't set the list until the rollout reaches that tenant. So Get- works and Set- claims the parameter doesn't exist, and both are correct at the same time. That's exactly what makes it read like a module problem.
u/charleswj is right that it's server side. Updating ExchangeOnlineManagement won't move you into the rollout.
Two things worth knowing before the day it lands.
Reading the value needs an explicit switch, or the property isn't returned at all:
Microsoft says that's deliberate, for performance - the list is only fetched if you ask for it.
And the write is full replacement. There are no add/remove verbs, so it's read the current list, compute the new full set, write the whole thing back. Anything you leave out is dropped silently, no error. The servers also cache the list for up to 24 hours, so testing right after a write tells you very little.
One correction on the dates, since it changes how much runway you have: phased disablement starts October 2026 and full disablement is April 2027, not October 2027.
https://techcommunity.microsoft.com/blog/exchange/introducing-ewsallowedappids-preparing-for-the-final-phase-of-ews-retirement/4529471
https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/deprecation-of-ews-exchange-online
3
u/purplemonkeymad Jul 15 '26
No idea, i don't think they have said. However they have said that they will auto-populate it in September, so I would think "by then."
1
u/JBy Jul 21 '26
I created an allowlist today, populated it with everything from the EWS usage report.
Unfortunately, we found that many first party apps are still using EWS and some third party apps were not in the EWS report. so had to rollback. We have decided to wait for September to implement.
exchangeonlinemanagement 3.10.0
PS 7.5.4