Teams Voice: New-CsAutoAttendant add resource account

Jurgen Verhelst 331 Reputation points
2021-05-20T22:45:56.117+00:00

Hi,

In the TAC you can add a resource account to an Autoattendant.

Can we do this in Powershell too?

New-CsAutoAttendant -ResourceAccount someRA@keyman .com -Name $aaName -LanguageId $language -CallFlows @($afterHoursCallFlow) -TimeZoneId $tz -Operator $operator -DefaultCallFlow $callFlow -CallHandlingAssociations @($afterHoursCallHandlingAssociation)

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,894 questions
Skype for Business
Skype for Business
A Microsoft communications service that provides communications capabilities across presence, instant messaging, audio/video calling, and an online meeting experience that includes audio, video, and web conferencing.
648 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JimmyYang-MSFT 58,561 Reputation points Microsoft External Staff
    2021-05-21T08:50:42.573+00:00

    Hi @Jurgen Verhelst

    Could you try to see if this command works for you?

    $ResourceAccountId = (Get-CsOnlineUser "autoattendant@example.com").ObjectId  
    $AutoAttendant = (Get-CsAutoAttendant -NameFilter "Main Auto Attendant").Identity  
      
    New-CsOnlineApplicationInstanceAssociation -Identities @($ResourceAccountId) -ConfigurationId $AutoAttendant -ConfigurationType AutoAttendant  
       
    

    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.