Skip to content

Commit 8484b38

Browse files
authored
Merge pull request MicrosoftDocs#8699 from JensTrier/SetCallingAndDelegate
Set calling settings and manage delegates
2 parents a2470ea + e447672 commit 8484b38

File tree

5 files changed

+799
-29
lines changed

5 files changed

+799
-29
lines changed

teams/teams-ps/teams/Get-CsUserCallingSettings.md

Lines changed: 16 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,14 @@ IsForwardingEnabled : True
4141
ForwardingType : Immediate
4242
ForwardingTarget :
4343
ForwardingTargetType : Voicemail
44-
ForwardingDelay : 00:00:00
4544
IsUnansweredEnabled : False
46-
IsSafeForward : False
4745
UnansweredTarget :
4846
UnansweredTargetType : Voicemail
4947
UnansweredDelay : 00:00:20
5048
Delegates :
5149
Delegators :
5250
CallGroupOrder : InOrder
5351
CallGroupTargets : {}
54-
CallGroupDelay :
5552
GroupMembershipDetails :
5653
GroupNotificationOverride :
5754
```
@@ -68,17 +65,14 @@ IsForwardingEnabled : True
6865
ForwardingType : Simultaneous
6966
ForwardingTarget : [email protected]
7067
ForwardingTargetType : SingleTarget
71-
ForwardingDelay : 00:00:00
7268
IsUnansweredEnabled : True
73-
IsSafeForward : False
7469
UnansweredTarget :
7570
UnansweredTargetType : Voicemail
7671
UnansweredDelay : 00:00:20
7772
Delegates :
7873
Delegators :
7974
CallGroupOrder : InOrder
8075
CallGroupTargets : {}
81-
CallGroupDelay :
8276
GroupMembershipDetails :
8377
GroupNotificationOverride :
8478
```
@@ -96,17 +90,14 @@ IsForwardingEnabled : True
9690
ForwardingType : Simultaneous
9791
ForwardingTarget :
9892
ForwardingTargetType : Group
99-
ForwardingDelay : 00:00:00
10093
IsUnansweredEnabled : True
101-
IsSafeForward : False
10294
UnansweredTarget :
10395
UnansweredTargetType : Voicemail
10496
UnansweredDelay : 00:00:20
10597
Delegates :
10698
Delegators :
10799
CallGroupOrder : InOrder
108100
CallGroupTargets : {[email protected]}
109-
CallGroupDelay :
110101
GroupMembershipDetails : CallGroupOwnerId:[email protected]
111102
GroupNotificationOverride : Mute
112103
```
@@ -119,8 +110,9 @@ CallGroupOwnerId NotificationSetting
119110
120111
```
121112

122-
This example shows that [email protected] has simultaneous ringing set to his/her call group (ForwardingTargetType) and that the call group contains [email protected] (CallGroupTargets).
123-
The call group is defined to ring members in the order listed in the call group (CallGroupOrder).
113+
This example shows that [email protected] has simultaneous ringing set to his/her call group (ForwardingTargetType) and that the call group contains [email protected]
114+
(CallGroupTargets). The call group is defined to ring members in the order listed in the call group (CallGroupOrder).
115+
124116
You can also see that [email protected] is a member of [email protected]'s call group (GroupMembershipDetails), that [email protected] defined the call group with Ring
125117
notification for [email protected] (NotificationSetting) and that [email protected] has decided to turn off call notification for call group calls (GroupNotificationOverride).
126118

@@ -135,17 +127,14 @@ IsForwardingEnabled : True
135127
ForwardingType : Simultaneous
136128
ForwardingTarget :
137129
ForwardingTargetType : MyDelegates
138-
ForwardingDelay : 00:00:00
139130
IsUnansweredEnabled : True
140-
IsSafeForward : True
141131
UnansweredTarget :
142132
UnansweredTargetType : Voicemail
143133
UnansweredDelay : 00:00:20
144134
Delegates : Id:[email protected]
145135
Delegators :
146136
CallGroupOrder : InOrder
147137
CallGroupTargets : {}
148-
CallGroupDelay :
149138
GroupMembershipDetails :
150139
GroupNotificationOverride : Ring
151140
```
@@ -154,15 +143,13 @@ GroupNotificationOverride : Ring
154143
```
155144
```output
156145
157-
IsActive : True
158-
CreatedDate : 14-10-2021 09:46:00
159146
MakeCalls : True
160147
ManageSettings : True
161148
ReceiveCalls : True
162149
```
163150

164-
This example shows that [email protected] has simultaneous ringing set to his/her delegates (ForwardingTargetType). [email protected] is the only delegate (Delegates) and that user
165-
has all the permissions you can have as a delegate (Delegates).
151+
This example shows that [email protected] has simultaneous ringing set to his/her delegates (ForwardingTargetType). [email protected] is the only delegate (Delegates) and
152+
that user has all the permissions you can have as a delegate (Delegates).
166153

167154
### Example 5
168155
```powershell
@@ -171,20 +158,17 @@ Get-CsUserCallingSettings -Identity [email protected]
171158
```output
172159
SipUri : sip:[email protected]
173160
IsForwardingEnabled : False
174-
ForwardingType : Simultaneous
161+
ForwardingType : Immediate
175162
ForwardingTarget :
176163
ForwardingTargetType : Voicemail
177-
ForwardingDelay : 00:00:00
178164
IsUnansweredEnabled : True
179-
IsSafeForward : True
180165
UnansweredTarget :
181166
UnansweredTargetType : Voicemail
182167
UnansweredDelay : 00:00:20
183168
Delegates :
184169
Delegators : Id:[email protected]
185170
CallGroupOrder : InOrder
186171
CallGroupTargets : {}
187-
CallGroupDelay :
188172
GroupMembershipDetails :
189173
GroupNotificationOverride : Ring
190174
```
@@ -193,15 +177,13 @@ GroupNotificationOverride : Ring
193177
```
194178
```output
195179
196-
IsActive : True
197-
CreatedDate : 14-10-2021 09:46:56
198180
MakeCalls : True
199181
ManageSettings : True
200182
ReceiveCalls : True
201183
```
202184

203-
This example shows that [email protected] is a delegate of [email protected] (Delegators) and that [email protected] has given [email protected] all the permissions you can have as a delegate (Delegators).
204-
185+
This example shows that [email protected] is a delegate of [email protected] (Delegators) and that [email protected] has given [email protected] all the permissions you can
186+
have as a delegate (Delegators).
205187

206188

207189
## PARAMETERS
@@ -233,9 +215,14 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
233215
### System.Object
234216
235217
## NOTES
236-
The cmdlet is available in Teams PowerShell module 2.6.1-preview or later.
237-
238-
You might see raw identities, i.e. ObjectId's, for identities used in the output. It is a known issue that we are working to fix.
218+
The cmdlet is available in Teams PowerShell module 3.0.1-preview.
239219
240220
## RELATED LINKS
241221
222+
[Set-CsUserCallingSettings](Set-CsUserCallingSettings.md)
223+
224+
[New-CsUserCallingDelegate](New-CsUserCallingDelegate.md)
225+
226+
[Set-CsUserCallingDelegate](Set-CsUserCallingDelegate.md)
227+
228+
[Remove-CsUserCallingDelegate](Remove-CsUserCallingDelegate.md)
Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
---
2+
external help file: Microsoft.Open.Teams.CommonLibrary.dll-Help.xml
3+
Module Name: MicrosoftTeams
4+
online version: https://docs.microsoft.com/powershell/module/teams/new-csusercallingdelegate
5+
applicable: Microsoft Teams
6+
author: jenstrier
7+
ms.author: jenstr
8+
ms.reviewer:
9+
manager:
10+
schema: 2.0.0
11+
---
12+
13+
# New-CsUserCallingDelegate
14+
15+
## SYNOPSIS
16+
This cmdlet will add a new delegate for calling in Microsoft Teams.
17+
18+
> [!NOTE]
19+
> **Preview** The use of this cmdlet is in Public Preview.
20+
21+
## SYNTAX
22+
23+
### Identity (Default)
24+
```powershell
25+
New-CsUserCallingDelegate -Identity <String> -Delegate <String> -MakeCalls <Boolean> -ReceiveCalls <Boolean> -ManageSettings <Boolean> [<CommonParameters>]
26+
```
27+
28+
## DESCRIPTION
29+
This cmdlet adds a new delegate with given permissions for the specified user.
30+
31+
## EXAMPLES
32+
33+
### Example 1
34+
```powershell
35+
New-CsUserCallingDelegate -Identity [email protected] -Delegate [email protected] -MakeCalls $true -ReceiveCalls $true -ManageSettings $true
36+
```
37+
38+
## PARAMETERS
39+
40+
### -Delegate
41+
The Identity of the delegate to add. Can be specified using the ObjectId, the SIP address or the e-mail address.
42+
43+
A user can have up to 25 delegates.
44+
45+
```yaml
46+
Type: System.String
47+
Parameter Sets: (All)
48+
Aliases:
49+
50+
Required: True
51+
Default value: None
52+
Accept pipeline input: False
53+
Accept wildcard characters: False
54+
```
55+
56+
### -Identity
57+
The Identity of the user to add a delegate for. Can be specified using the ObjectId, the SIP address or the e-mail address.
58+
59+
```yaml
60+
Type: System.String
61+
Parameter Sets: (All)
62+
Aliases:
63+
64+
Required: True
65+
Default value: None
66+
Accept pipeline input: False
67+
Accept wildcard characters: False
68+
```
69+
70+
### -MakeCalls
71+
72+
Specifies whether delegate is allowed to make calls on behalf of the specified user.
73+
74+
```yaml
75+
Type: System.Boolean
76+
Parameter Sets: All
77+
Aliases:
78+
79+
Required: True
80+
Default value: False
81+
Accept pipeline input: False
82+
Accept wildcard characters: False
83+
```
84+
85+
### -ManageSettings
86+
87+
Specifies whether delegate is allowed to change the delegate and calling settings for the specified user.
88+
89+
```yaml
90+
Type: System.Boolean
91+
Parameter Sets: All
92+
Aliases:
93+
94+
Required: True
95+
Default value: False
96+
Accept pipeline input: False
97+
Accept wildcard characters: False
98+
```
99+
100+
### -ReceiveCalls
101+
102+
Specifies whether delegate is allowed to receive calls on behalf of the specified user.
103+
104+
```yaml
105+
Type: System.Boolean
106+
Parameter Sets: All
107+
Aliases:
108+
109+
Required: True
110+
Default value: False
111+
Accept pipeline input: False
112+
Accept wildcard characters: False
113+
```
114+
115+
### CommonParameters
116+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction,
117+
and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
118+
119+
## INPUTS
120+
121+
### None
122+
123+
## OUTPUTS
124+
125+
### System.Object
126+
127+
## NOTES
128+
The cmdlet is available in Teams PowerShell module 3.0.1-preview.
129+
130+
The specified user need to have the Microsoft Phone System license assigned.
131+
132+
You can see the delegate of a user by using the Get-CsUserCallingSettings cmdlet.
133+
134+
## RELATED LINKS
135+
[Get-CsUserCallingSettings](Get-CsUserCallingSettings.md)
136+
137+
[Set-CsUserCallingDelegate](Set-CsUserCallingDelegate.md)
138+
139+
[Remove-CsUserCallingDelegate](Remove-CsUserCallingDelegate.md)
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
---
2+
external help file: Microsoft.Open.Teams.CommonLibrary.dll-Help.xml
3+
Module Name: MicrosoftTeams
4+
online version: https://docs.microsoft.com/powershell/module/teams/remove-csusercallingdelegate
5+
applicable: Microsoft Teams
6+
author: jenstrier
7+
ms.author: jenstr
8+
ms.reviewer:
9+
manager:
10+
schema: 2.0.0
11+
---
12+
13+
# Remove-CsUserCallingDelegate
14+
15+
## SYNOPSIS
16+
This cmdlet will remove a delegate for calling in Microsoft Teams.
17+
18+
> [!NOTE]
19+
> **Preview** The use of this cmdlet is in Public Preview.
20+
21+
## SYNTAX
22+
23+
### Identity (Default)
24+
```powershell
25+
Remove-CsUserCallingDelegate -Identity <String> -Delegate <String> [<CommonParameters>]
26+
```
27+
28+
## DESCRIPTION
29+
This cmdlet will remove a delegate for the specified user.
30+
31+
## EXAMPLES
32+
33+
### Example 1
34+
```powershell
35+
Remove-CsUserCallingDelegate -Identity [email protected] -Delegate [email protected]
36+
```
37+
This example shows removing the delegate [email protected].
38+
39+
40+
## PARAMETERS
41+
42+
### -Delegate
43+
The Identity of the delegate to remove. Can be specified using the ObjectId, the SIP address or the e-mail address.
44+
45+
```yaml
46+
Type: System.String
47+
Parameter Sets: (All)
48+
Aliases:
49+
50+
Required: True
51+
Default value: None
52+
Accept pipeline input: False
53+
Accept wildcard characters: False
54+
```
55+
56+
### -Identity
57+
The Identity of the user to remove a delegate for. Can be specified using the ObjectId, the SIP address or the e-mail address.
58+
59+
```yaml
60+
Type: System.String
61+
Parameter Sets: (All)
62+
Aliases:
63+
64+
Required: True
65+
Default value: None
66+
Accept pipeline input: False
67+
Accept wildcard characters: False
68+
```
69+
70+
### CommonParameters
71+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction,
72+
and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
73+
74+
## INPUTS
75+
76+
### None
77+
78+
## OUTPUTS
79+
80+
### System.Object
81+
82+
## NOTES
83+
The cmdlet is available in Teams PowerShell module 3.0.1-preview.
84+
85+
The specified user need to have the Microsoft Phone System license assigned.
86+
87+
You can see the delegate of a user by using the Get-CsUserCallingSettings cmdlet.
88+
89+
## RELATED LINKS
90+
[Get-CsUserCallingSettings](Get-CsUserCallingSettings.md)
91+
92+
[New-CsUserCallingDelegate](New-CsUserCallingDelegate.md)
93+
94+
[Set-CsUserCallingDelegate](Set-CsUserCallingDelegate.md)

0 commit comments

Comments
 (0)