Skip to content

Commit e4f3b39

Browse files
authored
Merge pull request MicrosoftDocs#8671 from luis-msftpm/patch-3
Update New-CsExternalAccessPolicy.md
2 parents 1a4703f + 8db231f commit e4f3b39

File tree

1 file changed

+60
-6
lines changed

1 file changed

+60
-6
lines changed

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

Lines changed: 60 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ms.reviewer: rogupta
1515

1616
Enables you to create a new external access policy.
1717

18-
External access policies determine whether or not your users can: 1) communicate with users who have Session Initiation Protocol (SIP) accounts with a federated organization; 2) communicate with users who are using custom applications built with [Azure Communication Services (ACS)](/azure/communication-services/concepts/teams-interop); 3) access Skype for Business Server over the Internet, without having to log on to your internal network; and, 4) communicate with users who have SIP accounts with a public instant messaging (IM) provider such as Skype.
18+
External access policies determine whether or not your users can: 1) communicate with users who have Session Initiation Protocol (SIP) accounts with a federated organization; 2) communicate with users who are using custom applications built with [Azure Communication Services](/azure/communication-services/concepts/teams-interop); 3) access Skype for Business Server over the Internet, without having to log on to your internal network; 4) communicate with users who have SIP accounts with a public instant messaging (IM) provider such as Skype; and, 5) communicate with people who are using Teams with an account that's not managed by an organization.
1919

2020
This cmdlet was introduced in Lync Server 2010.
2121

@@ -26,8 +26,9 @@ For information about external access in Microsoft Teams, see [Manage external a
2626
```powershell
2727
New-CsExternalAccessPolicy [-Tenant <Guid>] [-Description <String>] [-EnableFederationAccess <Boolean>] [-EnableAcsFederationAccess <Boolean>]
2828
[-EnableXmppAccess <Boolean>] [-EnablePublicCloudAccess <Boolean>]
29-
[-EnablePublicCloudAudioVideoAccess <Boolean>] [-EnableOutsideAccess <Boolean>] [-Identity] <XdsIdentity>
29+
[-EnablePublicCloudAudioVideoAccess <Boolean>] [-EnableTeamsConsumerAccess <Boolean>] [-EnableTeamsConsumerInbound <Boolean>] [-EnableOutsideAccess <Boolean>] [-Identity] <XdsIdentity>
3030
[-InMemory] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
31+
3132
```
3233

3334
## DESCRIPTION
@@ -54,6 +55,9 @@ This enables your users to use Skype for Business and log on to Skype for Busine
5455
4.
5556
Communicate with people who have SIP accounts with a public instant messaging service such as Skype.
5657

58+
5.
59+
(Microsoft Teams Only) Communicate with people who are using Teams with an account that's not managed by an organization. This policy only applies if Teams Consumer Federation has been enabled at the tenant level using the cmdlet [Set-CsTenantFederationConfiguration](/powershell/module/teams/set-cstenantfederationconfiguration) or Teams Admin Center under the External Access setting.
60+
5761
When you install Skype for Business Server, a global external access policy is automatically created for you.
5862
In addition to the global policy, you can also create custom external access policies at either the site or the per-user scope.
5963
If you create an external access policy at the site scope, that policy will automatically be assigned to the site upon creation.
@@ -86,7 +90,14 @@ New-CsExternalAccessPolicy -Identity AcsFederationNotAllowed -EnableAcsFederati
8690

8791
In this example, the Global policy is updated to allow Teams-ACS federation for all users, then a new external access policy instance is created with Teams-ACS federation disabled and which can then be assigned to selected users for which Team-ACS federation will not be allowed.
8892

89-
### -------------------------- EXAMPLE 3 --------------------------
93+
### -------------------------- Example 3 ------------------------
94+
```
95+
New-CsExternalAccessPolicy -Identity site:Redmond -EnableTeamsConsumerAccess $True -EnableTeamsConsumerInbound $False
96+
```
97+
The command shown in Example 3 creates a new external access policy that has the Identity site:Redmond; upon creation, this policy will automatically be assigned to the Redmond site.
98+
Note that this new policy enables communication with people using Teams with an account that's not managed by an organization and limits this to only be initiated by people in your organization. This means that people using Teams with an account that's not managed by an organization will not be able to discover or start a conversation with people with this policy assigned.
99+
100+
### -------------------------- EXAMPLE 4 --------------------------
90101
```
91102
$x = New-CsExternalAccessPolicy -Identity RedmondAccessPolicy -InMemory
92103
@@ -99,7 +110,7 @@ $x.EnableOutsideAccess = $True
99110
Set-CsExternalAccessPolicy -Instance $x
100111
```
101112

102-
Example 3 demonstrates the use of the InMemory parameter; this parameter enables you to create an in-memory-only instance of an external access policy.
113+
Example 4 demonstrates the use of the InMemory parameter; this parameter enables you to create an in-memory-only instance of an external access policy.
103114
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.
104115

105116
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.
@@ -154,7 +165,7 @@ Accept wildcard characters: False
154165
### -EnableFederationAccess
155166
Indicates whether the user is allowed to communicate with people who have SIP accounts with a federated organization.
156167
Read [Manage external access in Microsoft Teams](/microsoftteams/manage-external-access) to get more information about the effect of this parameter in Microsoft Teams.
157-
The default value is False.
168+
The default value is True.
158169
159170
```yaml
160171
Type: Boolean
@@ -164,7 +175,50 @@ Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Online, Skype
164175

165176
Required: False
166177
Position: Named
167-
Default value: None
178+
Default value: True
179+
Accept pipeline input: False
180+
Accept wildcard characters: False
181+
```
182+
183+
184+
### -EnableTeamsConsumerAccess
185+
(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.
186+
187+
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.
188+
189+
Read [Manage external access in Microsoft Teams](/microsoftteams/manage-external-access) to get more information about the effect of this parameter in Microsoft Teams.
190+
The default value is True.
191+
192+
193+
```yaml
194+
Type: Boolean
195+
Parameter Sets: (All)
196+
Aliases:
197+
Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Online, Skype for Business Server 2015, Skype for Business Server 2019
198+
Required: False
199+
Position: Named
200+
Default value: True
201+
Accept pipeline input: False
202+
Accept wildcard characters: False
203+
```
204+
205+
### -EnableTeamsConsumerInbound
206+
(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.
207+
208+
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.
209+
210+
Read [Manage external access in Microsoft Teams](/microsoftteams/manage-external-access) to get more information about the effect of this parameter in Microsoft Teams.
211+
The default value is True.
212+
213+
214+
```yaml
215+
Type: Boolean
216+
Parameter Sets: (All)
217+
Aliases:
218+
Applicable: Lync Server 2010, Lync Server 2013, Skype for Business Online, Skype for Business Server 2015, Skype for Business Server 2019
219+
Required: False
220+
Position: Named
221+
Default value: True
168222
Accept pipeline input: False
169223
Accept wildcard characters: False
170224
```

0 commit comments

Comments
 (0)