You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/exchange-web-services/how-to-control-access-to-ews-in-exchange.md
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
---
2
2
title: "Control access to EWS in Exchange"
3
3
manager: sethgros
4
-
ms.date: 09/17/2015
4
+
ms.date: 04/07/2025
5
5
ms.audience: Developer
6
6
ms.assetid: 61e29e54-e3e5-404a-84c0-93b61a25ca58
7
7
description: "Find out how to control access to EWS for users, applications, or the entire organization."
8
-
localization_priority: Priority
8
+
ms.localizationpriority: high
9
9
---
10
10
11
11
# Control access to EWS in Exchange
@@ -19,10 +19,10 @@ Whether you are using the EWS Managed API, or EWS directly, in your application,
19
19
20
20
You can use the following Exchange Management Shell cmdlets to view the current access configuration and set EWS access controls:
21
21
22
-
-[Get-CASMailbox](https://technet.microsoft.com/library/bb124754.aspx) - Shows you what parameters are set for a particular mailbox.
23
-
-[Set-CASMailbox](https://technet.microsoft.com/library/bb125264.aspx) - Sets parameters for a particular mailbox.
24
-
-[Get-OrganizationConfig](https://technet.microsoft.com/library/aa997571.aspx) - Shows you the parameters for the entire organization.
25
-
-[Set-OrganizationConfig](https://technet.microsoft.com/library/aa997443.aspx) - Sets the parameters for the entire organization.
22
+
-[Get-CASMailbox](/powershell/module/exchange/get-casmailbox) - Shows you what parameters are set for a particular mailbox.
23
+
-[Set-CASMailbox](/powershell/module/exchange/set-casmailbox) - Sets parameters for a particular mailbox.
24
+
-[Get-OrganizationConfig](/powershell/module/exchange/get-organizationconfig) - Shows you the parameters for the entire organization.
25
+
-[Set-OrganizationConfig](/powershell/module/exchange/set-organizationconfig) - Sets the parameters for the entire organization.
26
26
27
27
<aname="bk_Examples"> </a>
28
28
@@ -38,7 +38,7 @@ Let's take a look at a few scenarios that show you how you can control access to
38
38
|Allow a list of client applications to use EWS. |`Set-OrganizationConfig -EwsApplicationAccessPolicy:EnforceAllowList -EwsAllowList:"OWA/*"`<br/><br/>This allows specific applications to use EWS. In this example, any application that has a user agent string that starts with "OWA/" is allowed access. |
39
39
|Allow all client applications to use EWS except those that are specifically blocked. |`Set-OrganizationConfig -EwsApplicationAccessPolicy:EnforceBlockList -EwsBlockList:"OWA/*"`<br/> <br/>This example only blocks applications from using EWS that have a user agent string that starts with "OWA/". |
40
40
|Allow all client applications to use EWS. |`Set-OrganizationConfig -EwsApplicationAccessPolicy:EnforceBlockList` <br/><br/> Because no BlockList is specified, all applications can use EWS. |
41
-
|Block the entire organization from using EWS. |`Set-OrganizationConfig -EwsEnabled:$false`|
41
+
|Block the entire organization from using EWS. |`Set-OrganizationConfig -EwsEnabled:$false`<br/><br/> **Important**: Disabling EWS in the organization also disables per-user EWS overrides. |
42
42
|Allow the entire organization to use EWS. |`Set-OrganizationConfig -EwsEnabled:$true`|
43
43
|Block an individual mailbox from using EWS. |`Set-CASMailbox -Identity [email protected] -EwsEnabled:$false`|
44
44
|Allow an individual mailbox to use EWS. |`Set-CASMailbox -Identity [email protected] -EwsEnabled:$true`|
@@ -47,5 +47,5 @@ Let's take a look at a few scenarios that show you how you can control access to
47
47
48
48
-[Setting up your EWS application](setting-up-your-ews-application.md)
49
49
-[Controlling client application access to EWS in Exchange](controlling-client-application-access-to-ews-in-exchange.md)
50
-
-[Exchange Server PowerShell (Exchange Management Shell)](/powershell/exchange/exchange-server/exchange-management-shell?view=exchange-ps)
0 commit comments