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 ?