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
@@ -113,6 +113,14 @@ Finally, the last command uses the Set-CsExternalAccessPolicy cmdlet to create a
113
113
If you do not call the Set-CsExternalAccessPolicy cmdlet, then the virtual policy will disappear as soon as you end your Windows PowerShell session or delete the variable $x.
114
114
Should that happen, an external access policy with the Identity RedmondAccessPolicy will never be created.
115
115
116
+
### -------------------------- Example 5 ------------------------
In this example, we create an ExternalAccessPolicy named "GranularFederationExample" that allows communication with specific external domains, namely `example1.com` and `example2.com`. The federation policy is set to restrict communication to only these allowed domains. After that, we still have to enable the `CustomizeFederation` setting in the TenantFederationConfiguration to allow the federation settings as defined in the ExternalAccessPolicy to work.
123
+
116
124
## PARAMETERS
117
125
118
126
### -Identity
@@ -171,6 +179,53 @@ Accept pipeline input: False
171
179
Accept wildcard characters: False
172
180
```
173
181
182
+
### -CommunicationWithExternalOrgs
183
+
Indicates how the users get assigned by this policy can communicate with the external orgs. There are 5 options:
184
+
* OrganizationDefault: the users of this policy will follow the federation settings defined in TenantFederationConfiguration
185
+
* AllowAllExternalDomains: the users are open to communicate with all domains
186
+
* AllowSpecificExternalDomains: the users can only communicate with the users of the domains defined in `AllowedExternalDomains`
187
+
* BlockSpecificExternalDomains: only users from the domains defined in `BlockedExternalDomains` are blocked from communicating with the users of this policy
188
+
* BlockAllExternalDomains: the users are not able to communicate with any external domains
189
+
```yaml
190
+
Type: String
191
+
Parameter Sets: (All)
192
+
Aliases:
193
+
Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
194
+
Required: False
195
+
Position: Named
196
+
Default value: OrganizationDefault
197
+
Accept pipeline input: False
198
+
Accept wildcard characters: False
199
+
```
200
+
201
+
### -AllowedExternalDomains
202
+
Indicates the domains that are allowed to communicate with the users of this policy. This is referenced only when `CommunicationWithExternalOrgs` is set to be `AllowSpecificExternalDomains`
203
+
```yaml
204
+
Type: List
205
+
Parameter Sets: (All)
206
+
Aliases:
207
+
Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
208
+
Required: False
209
+
Position: Named
210
+
Default value: None
211
+
Accept pipeline input: False
212
+
Accept wildcard characters: False
213
+
```
214
+
215
+
### -BlockedExternalDomains
216
+
Indicates the domains that are blocked from communicating with the users of this policy. This is referenced only when `CommunicationWithExternalOrgs` is set to be `BlockSpecificExternalDomains`
217
+
```yaml
218
+
Type: List
219
+
Parameter Sets: (All)
220
+
Aliases:
221
+
Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
222
+
Required: False
223
+
Position: Named
224
+
Default value: None
225
+
Accept pipeline input: False
226
+
Accept wildcard characters: False
227
+
```
228
+
174
229
### -EnableTeamsConsumerAccess
175
230
(Microsoft Teams Only) Indicates whether the user is allowed to communicate with people who have who are using Teams with an account that's not managed by an organization.
0 commit comments