Skip to content

Commit 5970dca

Browse files
Merge pull request #12733 from alejandramunozv/main
Remove ExternalAccessPolicy.EnabledPublicCloudAccess
2 parents f1085c5 + 7e5e1a6 commit 5970dca

File tree

4 files changed

+7
-109
lines changed

4 files changed

+7
-109
lines changed

skype/skype-ps/skype/New-CsExternalAccessPolicy.md

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ For information about external access in Microsoft Teams, see [Manage external a
2525

2626
```powershell
2727
New-CsExternalAccessPolicy [-Tenant <Guid>] [-Description <String>] [-EnableFederationAccess <Boolean>] [-EnableAcsFederationAccess <Boolean>]
28-
[-EnableXmppAccess <Boolean>] [-EnablePublicCloudAccess <Boolean>]
29-
[-EnablePublicCloudAudioVideoAccess <Boolean>] [-EnableTeamsConsumerAccess <Boolean>] [-EnableTeamsConsumerInbound <Boolean>] [-EnableOutsideAccess <Boolean>] [-Identity] <XdsIdentity>
28+
[-EnableXmppAccess <Boolean>] [-EnablePublicCloudAudioVideoAccess <Boolean>] [-EnableTeamsConsumerAccess <Boolean>] [-EnableTeamsConsumerInbound <Boolean>] [-EnableOutsideAccess <Boolean>] [-Identity] <XdsIdentity>
3029
[-InMemory] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
3130
3231
```
@@ -97,8 +96,6 @@ $x = New-CsExternalAccessPolicy -Identity RedmondAccessPolicy -InMemory
9796
9897
$x.EnableFederationAccess = $True
9998
100-
$x.EnablePublicCloudAccess = $True
101-
10299
$x.EnableOutsideAccess = $True
103100
104101
Set-CsExternalAccessPolicy -Instance $x
@@ -108,7 +105,7 @@ Example 4 demonstrates the use of the InMemory parameter; this parameter enables
108105
After it has been created, you can modify the in-memory-only instance, then use the Set-CsExternalAccessPolicy cmdlet to transform the virtual policy into a real external access policy.
109106

110107
To do this, the first command in the example uses the New-CsExternalAccessPolicy cmdlet and the InMemory parameter to create a virtual policy with the Identity RedmondAccessPolicy; this virtual policy is stored in a variable named $x.
111-
The next three commands are used to modify three properties of the virtual policy: EnableFederationAccess, EnablePublicCloudAccess, and the EnableOutsideAccess.
108+
The next three commands are used to modify two properties of the virtual policy: EnableFederationAccess and the EnableOutsideAccess.
112109
Finally, the last command uses the Set-CsExternalAccessPolicy cmdlet to create an actual per-user external access policy with the Identity RedmondAccessPolicy.
113110
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.
114111
Should that happen, an external access policy with the Identity RedmondAccessPolicy will never be created.
@@ -195,7 +192,7 @@ Accept wildcard characters: False
195192
```
196193
197194
### -EnableTeamsConsumerInbound
198-
(Microsoft Teams Only) Indicates whether the user is allowed to be discoverable by people who are using Teams with an account that's not managed by an organization. It also controls if people who have who are using Teams with an account that's not managed by an organization can start the communication with the user.
195+
(Microsoft Teams Only) Indicates whether the user is allowed to be discoverable by people who are using Teams with an account that's not managed by an organization. It also controls if people who are using Teams with an account that's not managed by an organization can start the communication with the user.
199196
200197
To enable just for a selected set of users, use the Set-CsExternalAccessPolicy cmdlet to update the global policy, setting the value to False. Then assign selected users a policy with federation enabled.
201198
@@ -250,24 +247,6 @@ Accept pipeline input: False
250247
Accept wildcard characters: False
251248
```
252249
253-
### -EnablePublicCloudAccess
254-
Indicates whether the user is allowed to communicate with people who have SIP accounts with a public Internet connectivity provider such as MSN.
255-
Read [Manage external access in Microsoft Teams](/microsoftteams/manage-external-access) to get more information about the effect of this parameter in Microsoft Teams.
256-
The default value is False.
257-
258-
```yaml
259-
Type: Boolean
260-
Parameter Sets: (All)
261-
Aliases:
262-
Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Online, Skype for Business Server 2015, Skype for Business Server 2019
263-
264-
Required: False
265-
Position: Named
266-
Default value: None
267-
Accept pipeline input: False
268-
Accept wildcard characters: False
269-
```
270-
271250
### -EnablePublicCloudAudioVideoAccess
272251
Indicates whether the user is allowed to conduct audio/video conversations with people who have SIP accounts with a public Internet connectivity provider such as MSN.
273252
When set to False, audio and video options in Skype for Business Server will be disabled any time a user is communicating with a public Internet connectivity contact.

skype/skype-ps/skype/Set-CsExternalAccessPolicy.md

Lines changed: 3 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,14 @@ This cmdlet was introduced in Lync Server 2010.
2222
### Identity (Default)
2323
```
2424
Set-CsExternalAccessPolicy [-Tenant <Guid>] [-Description <String>] [-EnableFederationAccess <Boolean>] [-EnableAcsFederationAccess <Boolean>]
25-
[-EnableXmppAccess <Boolean>] [-EnablePublicCloudAccess <Boolean>]
26-
[-EnablePublicCloudAudioVideoAccess <Boolean>] [-EnableTeamsConsumerAccess <Boolean>] [-EnableTeamsConsumerInbound <Boolean>] [-EnableOutsideAccess <Boolean>] [[-Identity] <XdsIdentity>]
25+
[-EnableXmppAccess <Boolean>] [-EnablePublicCloudAudioVideoAccess <Boolean>] [-EnableTeamsConsumerAccess <Boolean>] [-EnableTeamsConsumerInbound <Boolean>] [-EnableOutsideAccess <Boolean>] [[-Identity] <XdsIdentity>]
2726
[-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
2827
```
2928

3029
### Instance
3130
```
3231
Set-CsExternalAccessPolicy [-Tenant <Guid>] [-Description <String>] [-EnableFederationAccess <Boolean>] [-EnableAcsFederationAccess <Boolean>]
33-
[-EnableXmppAccess <Boolean>] [-EnablePublicCloudAccess <Boolean>]
32+
[-EnableXmppAccess <Boolean>]
3433
[-EnablePublicCloudAudioVideoAccess <Boolean>] [-EnableTeamsConsumerAccess <Boolean>] [-EnableTeamsConsumerInbound <Boolean>] [-EnableOutsideAccess <Boolean>] [-Instance <PSObject>]
3534
[-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
3635
```
@@ -87,23 +86,12 @@ Get-CsExternalAccessPolicy -Filter tag:* | Set-CsExternalAccessPolicy -EnableFed
8786
```
8887

8988
Example 3 enables federation access for all the external access policies that have been configured at the per-user scope.
90-
To carry out this task, the first thing the command does is use the `Get-CsExternalAcessPolicy` cmdlet and the Filter parameter to return a collection of all the policies that have been configured at the per-user scope.
89+
To carry out this task, the first thing the command does is use the `Get-CsExternalAccessPolicy` cmdlet and the Filter parameter to return a collection of all the policies that have been configured at the per-user scope.
9190
(The filter value "tag:*" limits returned data to policies that have an Identity that begins with the string value "tag:".
9291
Any policy with an Identity that begins with "tag:" has been configured at the per-user scope.) The filtered collection is then piped to the `Set-CsExternalAccessPolicy` cmdlet, which modifies the EnableFederationAccess property for each policy in the collection.
9392

9493
### -------------------------- Example 4 ------------------------
9594
```
96-
Get-CsExternalAccessPolicy | Where-Object {$_.EnablePublicCloudAccess -eq $True} | Set-CsExternalAccessPolicy -EnableFederationAccess $True
97-
```
98-
99-
In Example 4, federation access is enabled for all the external access policies that allow public cloud access.
100-
To do this, the command first uses the `Get-CsExternalAccessPolicy` cmdlet to return a collection of all the external access policies currently configured for use in the organization.
101-
This collection is piped to the `Where-Object` cmdlet, which picks out only those policies where the EnablePublicCloudAccess property is equal to True.
102-
The filtered collection is then piped to the `Set-CsExternalAccessPolicy` cmdlet, which takes each policy and sets the EnableFederationAccess property to True.
103-
The net result: all external access policies that allow public cloud access will also allow federation access.
104-
105-
### -------------------------- Example 5 ------------------------
106-
```
10795
Set-CsExternalAccessPolicy -Identity Global -EnableAcsFederationAccess $false
10896
New-CsExternalAccessPolicy -Identity AcsFederationAllowed -EnableAcsFederationAccess $true
10997
```
@@ -215,24 +203,6 @@ Accept pipeline input: False
215203
Accept wildcard characters: False
216204
```
217205
218-
### -EnablePublicCloudAccess
219-
Indicates whether the user is allowed to communicate with people who have SIP accounts with a public Internet connectivity provider such as MSN.
220-
Read [Manage external access in Microsoft Teams](/microsoftteams/manage-external-access) to get more information about the effect of this parameter in Microsoft Teams.
221-
The default value is False.
222-
223-
```yaml
224-
Type: Boolean
225-
Parameter Sets: (All)
226-
Aliases:
227-
Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Online, Skype for Business Server 2015, Skype for Business Server 2019
228-
229-
Required: False
230-
Position: Named
231-
Default value: None
232-
Accept pipeline input: False
233-
Accept wildcard characters: False
234-
```
235-
236206
### -EnablePublicCloudAudioVideoAccess
237207
Indicates whether the user is allowed to conduct audio/video conversations with people who have SIP accounts with a public Internet connectivity provider such as MSN.
238208
When set to False, audio and video options in Skype for Business will be disabled any time a user is communicating with a public Internet connectivity contact.

teams/teams-ps/teams/New-CsExternalAccessPolicy.md

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ New-CsExternalAccessPolicy [-Identity] <XdsIdentity>
3333
[-EnableAcsFederationAccess <Boolean>]
3434
[-EnableFederationAccess <Boolean>]
3535
[-EnableOutsideAccess <Boolean>]
36-
[-EnablePublicCloudAccess <Boolean>]
3736
[-EnablePublicCloudAudioVideoAccess <Boolean>]
3837
[-EnableTeamsConsumerAccess <Boolean>]
3938
[-EnableTeamsConsumerInbound <Boolean>]
@@ -114,8 +113,6 @@ $x = New-CsExternalAccessPolicy -Identity RedmondAccessPolicy -InMemory
114113
115114
$x.EnableFederationAccess = $True
116115
117-
$x.EnablePublicCloudAccess = $True
118-
119116
$x.EnableOutsideAccess = $True
120117
121118
Set-CsExternalAccessPolicy -Instance $x
@@ -125,7 +122,7 @@ Example 4 demonstrates the use of the InMemory parameter; this parameter enables
125122
After it has been created, you can modify the in-memory-only instance, then use the Set-CsExternalAccessPolicy cmdlet to transform the virtual policy into a real external access policy.
126123

127124
To do this, the first command in the example uses the New-CsExternalAccessPolicy cmdlet and the InMemory parameter to create a virtual policy with the Identity RedmondAccessPolicy; this virtual policy is stored in a variable named $x.
128-
The next three commands are used to modify three properties of the virtual policy: EnableFederationAccess, EnablePublicCloudAccess, and the EnableOutsideAccess.
125+
The next three commands are used to modify two properties of the virtual policy: EnableFederationAccess and the EnableOutsideAccess.
129126
Finally, the last command uses the Set-CsExternalAccessPolicy cmdlet to create an actual per-user external access policy with the Identity RedmondAccessPolicy.
130127
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.
131128
Should that happen, an external access policy with the Identity RedmondAccessPolicy will never be created.
@@ -299,23 +296,6 @@ Accept pipeline input: False
299296
Accept wildcard characters: False
300297
```
301298

302-
### -EnablePublicCloudAccess
303-
Indicates whether the user is allowed to communicate with people who have SIP accounts with a public Internet connectivity provider such as MSN.
304-
Read [Manage external access in Microsoft Teams](https://learn.microsoft.com/microsoftteams/manage-external-access) to get more information about the effect of this parameter in Microsoft Teams.
305-
The default value is False.
306-
307-
```yaml
308-
Type: Boolean
309-
Parameter Sets: (All)
310-
Aliases:
311-
312-
Required: False
313-
Position: Named
314-
Default value: None
315-
Accept pipeline input: False
316-
Accept wildcard characters: False
317-
```
318-
319299
### -EnablePublicCloudAudioVideoAccess
320300
Indicates whether the user is allowed to conduct audio/video conversations with people who have SIP accounts with a public Internet connectivity provider such as MSN.
321301
When set to False, audio and video options in Skype for Business Server will be disabled any time a user is communicating with a public Internet connectivity contact.

teams/teams-ps/teams/Set-CsExternalAccessPolicy.md

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ Set-CsExternalAccessPolicy [[-Identity] <XdsIdentity>]
2828
[-EnableAcsFederationAccess <Boolean>]
2929
[-EnableFederationAccess <Boolean>]
3030
[-EnableOutsideAccess <Boolean>]
31-
[-EnablePublicCloudAccess <Boolean>]
3231
[-EnablePublicCloudAudioVideoAccess <Boolean>]
3332
[-EnableTeamsConsumerAccess <Boolean>]
3433
[-EnableTeamsConsumerInbound <Boolean>]
@@ -53,7 +52,6 @@ Set-CsExternalAccessPolicy [-Instance <PSObject>]
5352
[-EnableAcsFederationAccess <Boolean>]
5453
[-EnableFederationAccess <Boolean>]
5554
[-EnableOutsideAccess <Boolean>]
56-
[-EnablePublicCloudAccess <Boolean>]
5755
[-EnablePublicCloudAudioVideoAccess <Boolean>]
5856
[-EnableTeamsConsumerAccess <Boolean>]
5957
[-EnableTeamsConsumerInbound <Boolean>]
@@ -125,17 +123,6 @@ Any policy with an Identity that begins with "tag:" has been configured at the p
125123

126124
### -------------------------- Example 4 ------------------------
127125
```
128-
Get-CsExternalAccessPolicy | Where-Object {$_.EnablePublicCloudAccess -eq $True} | Set-CsExternalAccessPolicy -EnableFederationAccess $True
129-
```
130-
131-
In Example 4, federation access is enabled for all the external access policies that allow public cloud access.
132-
To do this, the command first uses the `Get-CsExternalAccessPolicy` cmdlet to return a collection of all the external access policies currently configured for use in the organization.
133-
This collection is piped to the `Where-Object` cmdlet, which picks out only those policies where the EnablePublicCloudAccess property is equal to True.
134-
The filtered collection is then piped to the `Set-CsExternalAccessPolicy` cmdlet, which takes each policy and sets the EnableFederationAccess property to True.
135-
The net result: all external access policies that allow public cloud access will also allow federation access.
136-
137-
### -------------------------- Example 5 ------------------------
138-
```
139126
Set-CsExternalAccessPolicy -Identity Global -EnableAcsFederationAccess $false
140127
New-CsExternalAccessPolicy -Identity AcsFederationAllowed -EnableAcsFederationAccess $true
141128
```
@@ -340,24 +327,6 @@ Accept pipeline input: False
340327
Accept wildcard characters: False
341328
```
342329

343-
### -EnablePublicCloudAccess
344-
Indicates whether the user is allowed to communicate with people who have SIP accounts with a public Internet connectivity provider such as MSN.
345-
Read [Manage external access in Microsoft Teams](https://learn.microsoft.com/microsoftteams/manage-external-access) to get more information about the effect of this parameter in Microsoft Teams.
346-
The default value is False.
347-
348-
```yaml
349-
Type: Boolean
350-
Parameter Sets: (All)
351-
Aliases:
352-
Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Online, Skype for Business Server 2015, Skype for Business Server 2019
353-
354-
Required: False
355-
Position: Named
356-
Default value: None
357-
Accept pipeline input: False
358-
Accept wildcard characters: False
359-
```
360-
361330
### -EnablePublicCloudAudioVideoAccess
362331
Indicates whether the user is allowed to conduct audio/video conversations with people who have SIP accounts with a public Internet connectivity provider such as MSN.
363332
When set to False, audio and video options in Skype for Business will be disabled any time a user is communicating with a public Internet connectivity contact.

0 commit comments

Comments
 (0)