Skip to content

Commit f4ba2ba

Browse files
Merge branch 'main' into patch-1
2 parents 4d3e5f4 + 990c8c2 commit f4ba2ba

11 files changed

Lines changed: 517 additions & 8 deletions

teams/teams-ps/MicrosoftTeams/Get-CsPhoneNumberAssignment.md

Lines changed: 35 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ AssignmentBlockedState : BlockedUntil
356356
AssignmentBlockedUntil : 2025-10-11T21:30:00.0000000Z
357357
SmsActivationState : NotActivated
358358
```
359-
This example displays information about the telephone number +1 (402) 555-1234 which has a temporary assignment block. This block prevents the number from being assigned to any other user. Once the period shown in AssignmentBlockUntil passes, the AssignmentBlock will be automatically removed and the number will become available to be assigned to any user. Admin can also remove the block manually using [Remove-CsPhoneNumberAssignmentBlock](./remove-csphonenumberassignmentblock.md).
359+
This example displays information about the telephone number +1 (402) 555-1234 which has a temporary assignment block. This block prevents the number from being assigned to any other user. Once the period shown in AssignmentBlockedUntil passes, the AssignmentBlock will be automatically removed and the number will become available to be assigned to any user. Admin can also remove the block manually using [Remove-CsPhoneNumberAssignmentBlock](./remove-csphonenumberassignmentblock.md).
360360

361361
### Example 16
362362
```powershell
@@ -422,6 +422,37 @@ SmsActivationState : UpdatePending
422422
```
423423
This example displays information about the telephone number +1 (360) 322-7351 where SMS activation is pending.
424424

425+
### Example 18
426+
```powershell
427+
Get-CsPhoneNumberAssignment -TelephoneNumber +13603227351
428+
```
429+
```output
430+
TelephoneNumber : +1555555555
431+
OperatorId : 0019adbc-b82a-47b4-a799-4e993a9982f1
432+
NumberType : CallingPlan
433+
ActivationState : Activated
434+
AssignedPstnTargetId : 2d43c5da-649b-406b-9d32-d130d2c53018
435+
AssignmentCategory : Alternate
436+
Capability : {UserAssignment}
437+
City : Marysville
438+
CivicAddressId : 822d4d26-2c43-460f-921c-179163b106f8
439+
IsoCountryCode : US
440+
IsoSubdivision : Washington
441+
LocationId : 4040949c-2424-469c-a9bc-563a5e5964f3
442+
LocationUpdateSupported : True
443+
NetworkSiteId :
444+
PortInOrderStatus :
445+
PstnAssignmentStatus : UserAssigned
446+
PstnPartnerId : 7fc2f2eb-89aa-41d7-93de-73d015d22ff0
447+
PstnPartnerName : Microsoft
448+
NumberSource : Online
449+
ReverseNumberLookup : {}
450+
Tag : {}
451+
AssignmentBlockedState : NotBlocked
452+
AssignmentBlockedUntil :
453+
SmsActivationState :
454+
```
455+
This example displays information about the telephone number +1 (360) 322-7351 which is assigned as an alternate number for the user. (Multi-line feature is in Public Preview)
425456

426457
## PARAMETERS
427458

@@ -700,7 +731,7 @@ Accept wildcard characters: False
700731
701732
> Applicable: Microsoft Teams
702733
703-
Filters the returned results based on the assignment status. Support values are Unassigned, UserAssigned, ConferenceAssigned, VoiceApplicationAssigned, ThirdPartyAppAssigned, and PolicyAssigned.
734+
Filters the returned results based on the assignment status. Supported values are Unassigned, UserAssigned, ConferenceAssigned, VoiceApplicationAssigned, ThirdPartyAppAssigned, and PolicyAssigned.
704735
705736
```yaml
706737
Type: System.String
@@ -863,7 +894,7 @@ The state of the number in terms of blocked assignment: NotBlocked if there is n
863894
The date until which assignment is blocked for the phone number. Null if the number is blocked for assignment indefinitely.
864895
865896
### AssignmentCategory
866-
Contains the assignment category such as Primary or Private.
897+
Contains the assignment category such as Primary, Alternate or Private.
867898
868899
### Capability
869900
The list of capabilities assigned to the phone number.
@@ -925,7 +956,7 @@ The object returned is of type SkypeTelephoneNumberMgmtCmdletAcquiredTelephoneNu
925956
Status of Reverse Number Lookup (RNL). When it is set to SkipInternalVoip, the calls are handled through external PSTN connection instead of internal VoIP lookup.
926957
927958
## NOTES
928-
The cmdlet is available in Teams PowerShell module 4.0.0 or later. The parameter AssignmentCategory was introduced in Teams PowerShell module 5.3.1-preview. The parameter NetworkSiteId was introduced in Teams PowerShell module 5.5.0. The output parameter NumberSource was introduced in Teams PowerShell module 5.7.0.
959+
The cmdlet is available in Teams PowerShell module 4.0.0 or later. The parameter AssignmentCategory was introduced in Teams PowerShell module 5.3.1-preview. The parameter NetworkSiteId was introduced in Teams PowerShell module 5.5.0. The output parameter NumberSource was introduced in Teams PowerShell module 5.7.0. Multi-line related cmdlets are available from Teams PowerShell module 7.6.0.
929960
930961
The cmdlet is only available in commercial and GCC cloud instances.
931962
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
---
2+
applicable: Microsoft Teams
3+
author: tomkau
4+
external help file: Microsoft.Rtc.Management.Hosted.dll-help.xml
5+
Locale: en-US
6+
Module Name: MicrosoftTeams
7+
ms.author: vijurtse
8+
ms.reviewer: williamlooney
9+
online version: https://learn.microsoft.com/powershell/module/microsoftteams/Get-CsSharedCallHistoryTemplate
10+
schema: 2.0.0
11+
title: Get-CsSharedCallHistoryTemplate
12+
---
13+
14+
# Get-CsSharedCallHistoryTemplate
15+
16+
17+
## SYNOPSIS
18+
Use the Get-CsSharedCallHistoryTemplate cmdlet to list the Shared Call History templates.
19+
20+
## SYNTAX
21+
22+
```
23+
Get-CsSharedCallHistoryTemplate [-Id <string>] [<CommonParameters>]
24+
```
25+
26+
## DESCRIPTION
27+
Use the Get-CsSharedCallHistory cmdlet to list the Shared Call History templates.
28+
29+
## EXAMPLES
30+
31+
### Example 1
32+
```
33+
Get-CsSharedCallHistoryTemplate -Id 3a4b3d9b-91d8-4fbf-bcff-6907f325842c
34+
```
35+
36+
This example retrieves the Shared Call History Template with the Id `3a4b3d9b-91d8-4fbf-bcff-6907f325842c`
37+
38+
### Example 2
39+
```
40+
Get-CsSharedCallHistoryTemplate
41+
```
42+
43+
This example retrieves all the Shared Call History Templates
44+
45+
## PARAMETERS
46+
47+
### -Id
48+
49+
The Id of the shared call history template.
50+
51+
```yaml
52+
Type: System.String
53+
Parameter Sets: (All)
54+
Aliases:
55+
56+
Required: false
57+
Position: Named
58+
Default value: None
59+
Accept pipeline input: False
60+
Accept wildcard characters: False
61+
```
62+
63+
### CommonParameters
64+
65+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
66+
67+
## INPUTS
68+
69+
### None
70+
71+
## OUTPUTS
72+
73+
### Microsoft.Rtc.Management.OAA.Models.AutoAttendant
74+
75+
## NOTES
76+
77+
## RELATED LINKS
78+
79+
[New-CsSharedCallHistoryTemplate](./New-CsSharedCallHistoryTemplate.md)
80+
81+
[Set-CsSharedCallHistoryTemplate](./Set-CsSharedCallHistoryTemplate.md)
82+
83+
[Remove-CsSharedCallHistoryTemplate](./Remove-CsSharedCallHistoryTemplate.md)
84+
85+
[New-CsAutoAttendant](https://learn.microsoft.com/powershell/module/microsoftteams/new-csautoattendant)
86+
87+
[Get-CsAutoAttendant](https://learn.microsoft.com/powershell/module/microsoftteams/get-csautoattendant)
88+
89+
[Set-CsAutoAttendant](https://learn.microsoft.com/powershell/module/microsoftteams/set-csautoattendant)
90+
91+
[Remove-CsAutoAttendant](https://learn.microsoft.com/powershell/module/microsoftteams/remove-csautoattendant)

teams/teams-ps/MicrosoftTeams/Get-CsSharedCallQueueHistoryTemplate.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@ online version: https://learn.microsoft.com/powershell/module/microsoftteams/Get
1010
schema: 2.0.0
1111
title: Get-CsSharedCallQueueHistoryTemplate
1212
---
13-
1413
# Get-CsSharedCallQueueHistoryTemplate
1514

1615
## SYNOPSIS
1716
Use the Get-CsSharedCallQueueHistory cmdlet to list the Shared Call Queue History templates.
1817

1918
## SYNTAX
19+
> [!IMPORTANT]
20+
>This PowerShell cmdlet is being deprecated, please use the new version [Get-CsSharedCallHistoryTemplate](./Get-CsSharedCallHistoryTemplate.md) instead
2021
2122
```
2223
Get-CsSharedCallQueueHistoryTemplate [-Id <string>] [<CommonParameters>]

teams/teams-ps/MicrosoftTeams/MicrosoftTeams.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,9 @@ Get the tenant level summary of all bulk sign in requests executed in the past 3
293293
### [Get-CsSdgBulkSignInRequestStatus](Get-CsSdgBulkSignInRequestStatus.md)
294294
Get the status of an active bulk sign in request.
295295

296+
### [Get-CsSharedCallHistoryTemplate](Get-CsSharedCallHistoryTemplate.md)
297+
Retrieves the list of Shared Call History templates.
298+
296299
### [Get-CsSharedCallQueueHistoryTemplate](Get-CsSharedCallQueueHistoryTemplate.md)
297300
```powershell Get-CsSharedCallQueueHistoryTemplate -Id <string> [<CommonParameters>] ```
298301

@@ -929,6 +932,9 @@ This cmdlet creates a request for remote log collection for a device.
929932
### [New-CsSdgBulkSignInRequest](New-CsSdgBulkSignInRequest.md)
930933
Use the New-CsSdgBulkSignInRequest cmdlet to sign in a batch of up to 100 devices.
931934

935+
### [New-CsSharedCallHistoryTemplate](New-CsSharedCallHistoryTemplate.md)
936+
Use the New-CsSharedCallHistoryTemplate cmdlet to create a Shared Call History template.
937+
932938
### [New-CsSharedCallQueueHistoryTemplate](New-CsSharedCallQueueHistoryTemplate.md)
933939
Use the New-CsSharedCallQueueHistoryTemplate cmdlet to create a Shared Call Queue History template.
934940

@@ -1241,6 +1247,9 @@ This cmdlet allows the admins to remove a tenant default configuration that appl
12411247
### [Remove-CsTeamsRemoteLogCollectionDevice](Remove-CsTeamsRemoteLogCollectionDevice.md)
12421248
This cmdlet will remove/delete a device from the remote log collection configuration.
12431249

1250+
### [Remove-CsSharedCallHistoryTemplate](Remove-CsSharedCallHistoryTemplate.md)
1251+
Removes Shared Call History template.
1252+
12441253
### [Remove-CsSharedCallQueueHistoryTemplate](Remove-CsSharedCallQueueHistoryTemplate.md)
12451254
```powershell Remove-CsSharedCallQueueHistoryTemplate -Id <String> [<CommonParameters>] ```
12461255

@@ -1568,6 +1577,9 @@ This cmdlet allows the admins to set a tenant default configuration that applies
15681577
### [Set-CsTeamsRemoteLogCollectionDevice](Set-CsTeamsRemoteLogCollectionDevice.md)
15691578
This cmdlet allows the admin to create and edit a device requested for remote log collection.
15701579

1580+
### [Set-CsSharedCallHistoryTemplate](Set-CsSharedCallHistoryTemplate.md)
1581+
This cmdlet allows to configure Shared Call History template.
1582+
15711583
### [Set-CsSharedCallQueueHistoryTemplate](Set-CsSharedCallQueueHistoryTemplate.md)
15721584
```powershell Set-CsSharedCallQueueHistoryTemplate -Instance <instance> [<CommonParameters>] ```
15731585

Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
---
2+
applicable: Microsoft Teams Queues App
3+
author: vijurtse
4+
external help file: Microsoft.Rtc.Management.Hosted.dll-help.xml
5+
Locale: en-US
6+
Module Name: MicrosoftTeams
7+
ms.author: vijurtse
8+
ms.reviewer: williamlooney
9+
online version: https://learn.microsoft.com/powershell/module/microsoftteams/New-CsSharedCallHistoryTemplate
10+
schema: 2.0.0
11+
title: New-CsSharedCallHistoryTemplate
12+
---
13+
14+
# New-CsSharedCallHistoryTemplate
15+
16+
## SYNOPSIS
17+
Use the New-CsSharedCallHistoryTemplate cmdlet to create a Shared Call History template. The template defines which roles can access Shared Call History and which parts of the history are visible to them.
18+
19+
## SYNTAX
20+
21+
```
22+
New-CsSharedCallHistoryTemplate -Name <String> -Description <String>
23+
[-IncomingMissedCalls <Object>] [-AnsweredAndOutboundCalls <Object>] [-IncomingRedirectedCalls <Object>] [<CommonParameters>]
24+
```
25+
26+
## DESCRIPTION
27+
Use the New-CsSharedCallHistoryTemplate cmdlet to create a Shared Call History template. The template defines which roles can access Shared Call History and which parts of the history are visible to them.
28+
29+
## EXAMPLES
30+
31+
### Example 1
32+
```
33+
New-CsSharedCallHistoryTemplate -Name "Customer Service" -Description "Missed:All Answered:Auth" -IncomingMissedCall AuthorizedUsersAndAgents -AnsweredAndOutboundCalls AuthorizedUsersOnly
34+
```
35+
36+
This example creates a new Shared Call History template where incoming missed calls for Call Queue are shown to authorized users and agents and, answered and outbound calls are shown to authorized users only.
37+
Visibility to Auto Attendant Shared Voicemails is not defined, so it will be none.
38+
39+
## PARAMETERS
40+
41+
### -AnsweredAndOutboundCalls
42+
43+
Who sees Call Queue answered and outbound calls in the shared call history.
44+
45+
PARAMVALUE: None | AuthorizedUsersOnly | AuthorizedUsersAndAgents
46+
47+
```yaml
48+
Type: Object
49+
Parameter Sets: (All)
50+
Aliases:
51+
52+
Required: False
53+
Position: Named
54+
Default value: None
55+
Accept pipeline input: False
56+
Accept wildcard characters: False
57+
```
58+
59+
### -Description
60+
61+
A description for the shared call history template.
62+
63+
```yaml
64+
Type: System.String
65+
Parameter Sets: (All)
66+
Aliases:
67+
68+
Required: True
69+
Position: Named
70+
Default value: None
71+
Accept pipeline input: False
72+
Accept wildcard characters: False
73+
```
74+
75+
### -IncomingMissedCalls
76+
77+
Who sees Call Queue incoming missed calls and shared voicemails in the shared call history.
78+
79+
PARAMVALUE: None | AuthorizedUsersOnly | AuthorizedUsersAndAgents
80+
81+
```yaml
82+
Type: Object
83+
Parameter Sets: (All)
84+
Aliases:
85+
86+
Required: False
87+
Position: Named
88+
Default value: None
89+
Accept pipeline input: False
90+
Accept wildcard characters: False
91+
```
92+
93+
### -IncomingRedirectedCalls
94+
95+
Who sees AutoAttendant Shared Voicemails events in the shared call history.
96+
97+
PARAMVALUE: None | AuthorizedUsersOnly | AuthorizedUsersAndGroupMembers
98+
99+
```yaml
100+
Type: Object
101+
Parameter Sets: (All)
102+
Aliases:
103+
104+
Required: False
105+
Position: Named
106+
Default value: None
107+
Accept pipeline input: False
108+
Accept wildcard characters: False
109+
```
110+
111+
### -Name
112+
113+
The name of the shared call history template.
114+
115+
```yaml
116+
Type: System.String
117+
Parameter Sets: (All)
118+
Aliases:
119+
120+
Required: True
121+
Position: Named
122+
Default value: None
123+
Accept pipeline input: False
124+
Accept wildcard characters: False
125+
```
126+
127+
### CommonParameters
128+
129+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
130+
131+
## INPUTS
132+
133+
### None
134+
135+
## OUTPUTS
136+
137+
### Microsoft.Rtc.Management.OAA.Models.AutoAttendant
138+
139+
## NOTES
140+
141+
## RELATED LINKS
142+
143+
[Get-CsSharedCallHistoryTemplate](./Get-CsSharedCallHistoryTemplate.md)
144+
145+
[Set-CsSharedCallHistoryTemplate](./Set-CsSharedCallHistoryTemplate.md)
146+
147+
[Remove-CsSharedCallHistoryTemplate](./Remove-CsSharedCallHistoryTemplate.md)
148+
149+
[New-CsCallQueue](./New-CsCallQueue.md)
150+
151+
[Get-CsCallQueue](./Get-CsCallQueue.md)
152+
153+
[Set-CsCallQueue](./Set-CsCallQueue.md)
154+
155+
[Remove-CsCallQueue](./Remove-CsCallQueue.md)
156+
157+
[New-CsAutoAttendant](https://learn.microsoft.com/powershell/module/microsoftteams/new-csautoattendant)
158+
159+
[Get-CsAutoAttendant](https://learn.microsoft.com/powershell/module/microsoftteams/get-csautoattendant)
160+
161+
[Set-CsAutoAttendant](https://learn.microsoft.com/powershell/module/microsoftteams/set-csautoattendant)
162+
163+
[Remove-CsAutoAttendant](https://learn.microsoft.com/powershell/module/microsoftteams/remove-csautoattendant)
164+
165+

teams/teams-ps/MicrosoftTeams/New-CsSharedCallQueueHistoryTemplate.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ title: New-CsSharedCallQueueHistoryTemplate
1616
## SYNOPSIS
1717
Use the New-CsSharedCallQueueHistoryTemplate cmdlet to create a Shared Call Queue History template.
1818

19+
> [!IMPORTANT]
20+
>This PowerShell cmdlet is being deprecated, please use the new version [New-CsSharedCallHistoryTemplate](./New-CsSharedCallHistoryTemplate.md) instead
21+
1922
## SYNTAX
2023

2124
```

0 commit comments

Comments
 (0)