Skip to content

Commit 5c50e1f

Browse files
authored
Merge pull request MicrosoftDocs#9862 from JensTrier/JensUpdate1
Update Grant-CsDialoutPolicy
2 parents c46b405 + d026261 commit 5c50e1f

File tree

1 file changed

+21
-20
lines changed

1 file changed

+21
-20
lines changed

skype/skype-ps/skype/Grant-CsDialoutPolicy.md

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
external help file: Microsoft.Rtc.Management.Hosted.dll-help.xml
33
online version: https://docs.microsoft.com/powershell/module/skype/grant-csdialoutpolicy
4-
applicable: Skype for Business Online, Microsoft Teams
4+
applicable: Microsoft Teams
55
title: Grant-CsDialoutPolicy
66
schema: 2.0.0
77
manager: bulenteg
@@ -61,18 +61,17 @@ This example assigns the per-user outbound calling restriction policy DialoutCPC
6161

6262
### Example 4
6363
```
64-
Grant-CsDialoutPolicy -Global -PolicyName "InternationalAndDomestic"
64+
Grant-CsDialoutPolicy -Global -PolicyName "DialoutCPCandPSTNInternational"
6565
```
6666

67-
This example sets the tenant global policy instance to InternationalAndDomestic.
67+
This example sets the tenant global policy instance to DialoutCPCandPSTNInternational.
6868

6969
### Example 5
7070
```
71-
Grant-CsDialoutPolicy -Group [email protected] -Rank 10 -PolicyName "InternationalAndDomestic"
71+
Grant-CsDialoutPolicy -Group [email protected] -Rank 10 -PolicyName "DialoutCPCandPSTNInternational"
7272
```
7373

74-
This example assigns the policy instance "InternationalAndDomestic" to the members of the group [email protected].
75-
74+
This example assigns the policy instance "DialoutCPCandPSTNInternational" to the members of the group [email protected].
7675

7776
## PARAMETERS
7877

@@ -81,9 +80,9 @@ This parameter sets the tenant global policy instance. This is the policy that a
8180

8281
```yaml
8382
Type: SwitchParameter
84-
Parameter Sets: (All)
83+
Parameter Sets: GrantToTenant
8584
Aliases:
86-
Applicable: Skype for Business Online, Microsoft Teams
85+
Applicable: Microsoft Teams
8786

8887
Required: False
8988
Position: Named
@@ -99,7 +98,7 @@ Specifies the group used for the group policy assignment.
9998
Type: String
10099
Parameter Sets: GrantToGroup
101100
Aliases:
102-
Applicable: Skype for Business Online, Microsoft Teams
101+
Applicable: Microsoft Teams
103102

104103
Required: True
105104
Position: 0
@@ -109,18 +108,18 @@ Accept wildcard characters: False
109108
```
110109
111110
### -Identity
112-
Specifies the Identity of the user account to be to be modified. A user identity can be specified by using one of four formats: 1) the user's SIP address; 2) the user's user principal name (UPN); 3) the user's domain name and logon name, in the form domain\logon (for example, litwareinc\kenmyer) and 4) the user's Active Directory display name (for example, Ken Myer). You can also reference a user account by using the user's Active Directory distinguished name.
111+
Specifies the Identity of the user account to be to be modified. A user identity can be specified by using one of three formats: 1) the user's SIP address; 2) the user's user principal name (UPN); 3) the user's ObjectId/Identity.
113112
114113
```yaml
115-
Type: UserIdParameter
116-
Parameter Sets: (All)
114+
Type: String
115+
Parameter Sets: Identity
117116
Aliases:
118-
Applicable: Skype for Business Online, Microsoft Teams
117+
Applicable: Microsoft Teams
119118

120119
Required: False
121120
Position: 0
122121
Default value: None
123-
Accept pipeline input: False
122+
Accept pipeline input: True
124123
Accept wildcard characters: False
125124
```
126125
@@ -131,7 +130,7 @@ Returns the results of the command. By default, this cmdlet does not generate an
131130
Type: SwitchParameter
132131
Parameter Sets: (All)
133132
Aliases:
134-
Applicable: Skype for Business Online, Microsoft Teams
133+
Applicable: Microsoft Teams
135134

136135
Required: False
137136
Position: Named
@@ -141,15 +140,15 @@ Accept wildcard characters: False
141140
```
142141
143142
### -PolicyName
144-
"Name" of the policy to be assigned. The PolicyName is simply the policy Identity minus the policy scope (the "tag:" prefix). For example, a policy with the Identity tag:Redmond has a PolicyName equal to Redmond; likewise, a policy with the Identity tag:RedmondPolicy has a PolicyName equal to RedmondPolicy.
143+
"Name" of the policy to be assigned. The PolicyName is simply the policy Identity minus the policy scope (the "tag:" prefix). For example, a policy with the Identity tag:DialoutCPCZoneAPSTNDomestic has a PolicyName equal to DialoutCPCZoneAPSTNDomestic.
145144
146145
To unassign a per-user policy previously assigned to a user, set the PolicyName to a null value ($Null).
147146
148147
```yaml
149148
Type: String
150149
Parameter Sets: (All)
151150
Aliases:
152-
Applicable: Skype for Business Online, Microsoft Teams
151+
Applicable: Microsoft Teams
153152

154153
Required: False
155154
Position: 1
@@ -165,7 +164,7 @@ The rank of the policy assignment, relative to other group policy assignments fo
165164
Type: Int32
166165
Parameter Sets: GrantToGroup
167166
Aliases:
168-
Applicable: Skype for Business Online, Microsoft Teams
167+
Applicable: Microsoft Teams
169168

170169
Required: False
171170
Position: Named
@@ -182,7 +181,7 @@ The cmdlet is not run.
182181
Type: SwitchParameter
183182
Parameter Sets: (All)
184183
Aliases: wi
185-
Applicable: Skype for Business Online, Microsoft Teams
184+
Applicable: Microsoft Teams
186185

187186
Required: False
188187
Position: Named
@@ -198,7 +197,7 @@ Prompts you for confirmation before running the cmdlet.
198197
Type: SwitchParameter
199198
Parameter Sets: (All)
200199
Aliases: cf
201-
Applicable: Skype for Business Online, Microsoft Teams
200+
Applicable: Microsoft Teams
202201

203202
Required: False
204203
Position: Named
@@ -220,5 +219,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
220219
221220
The GrantToGroup syntax is supported in Teams PowerShell Module 4.5.1-preview or later.
222221
222+
The cmdlet is not supported for Teams resource accounts.
223+
223224
## RELATED LINKS
224225
[Get-CsOnlineDialOutPolicy](get-csonlinedialoutpolicy.md)

0 commit comments

Comments
 (0)