@@ -39,7 +39,7 @@ You can create new AAs by using the New-CsAutoAttendant cmdlet; each newly creat
39
39
40
40
### -------------------------- Example 1 --------------------------
41
41
``` powershell
42
- $operatorObjectId = (Get-CsOnlineUser [email protected] ).ObjectId
42
+ $operatorObjectId = (Get-CsOnlineUser [email protected] ).Identity
43
43
$operatorEntity = New-CsAutoAttendantCallableEntity -Identity $operatorObjectId -Type User
44
44
45
45
$greetingPrompt = New-CsAutoAttendantPrompt -TextToSpeechPrompt "Welcome to Contoso!"
@@ -76,7 +76,7 @@ This example creates a new AA named _Main auto attendant_ that has the following
76
76
77
77
### -------------------------- Example 2 --------------------------
78
78
``` powershell
79
- $operatorObjectId = (Get-CsOnlineUser [email protected] ).ObjectId
79
+ $operatorObjectId = (Get-CsOnlineUser [email protected] ).Identity
80
80
$operatorEntity = New-CsAutoAttendantCallableEntity -Identity $operatorObjectId -Type User
81
81
82
82
$dcfGreetingPrompt = New-CsAutoAttendantPrompt -TextToSpeechPrompt "Welcome to Contoso!"
@@ -214,9 +214,9 @@ $greetingText = "Welcome to Contoso"
214
214
$mainMenuText = "To reach your party by name, say it now. To talk to Sales, please press 1. To talk to User2 press 2. Please press 0 for operator"
215
215
$afterHoursText = "Sorry Contoso is closed. Please call back during week days from 7AM to 8PM. Goodbye!"
216
216
$tz = "Romance Standard Time"
217
- $operatorId = (Get-CsOnlineUser -Identity "sip:[email protected] ").ObjectId
218
- $user1Id = (Get-CsOnlineUser -Identity "sip:[email protected] ").ObjectId
219
- $salesCQappinstance = (Get-CsOnlineUser -Identity "[email protected] ").ObjectId # one of the application instances associated to the Call Queue
217
+ $operatorId = (Get-CsOnlineUser -Identity "sip:[email protected] ").Identity
218
+ $user1Id = (Get-CsOnlineUser -Identity "sip:[email protected] ").Identity
219
+ $salesCQappinstance = (Get-CsOnlineUser -Identity "[email protected] ").Identity # one of the application instances associated to the Call Queue
220
220
$tr1 = New-CsOnlineTimeRange -Start 07:00 -End 20:00
221
221
222
222
# After hours
0 commit comments