Auto Attendant in MS Teams

  1. Create Resource account for call queue and auto attendant. Basically this is the account which will be mapped to call queue Or auto-attendant and a phone number will be assigned to these resource accounts.

    PS C:\>New-CsOnlineApplicationInstance -UserPrincipalName "RA_CQ@domain.com" -DisplayName "Test CQ" -ApplicationID "11cd3e2e-fccb-42ad-ad00-878b93575e07"
    PS C:\>New-CsOnlineApplicationInstance -UserPrincipalName "RA_AA@domain.com" -DisplayName "Test AA" -ApplicationID "ce933385-9390-45d1-9512-c8d228074e07"


  2. Assign Microsoft Team Phone Standard-Virtual user license to CQ or AA Resource accounts. In case you don’t want Call queues to receive call directly then assign the license only to Auto attendant Resource account.

    PS C:\>Set-MsolUser -UserPrincipalName RA_CQ@domain.com -UsageLocation US
    PS C:\>Set-MsolUser -UserPrincipalName RA_AA@domain.com -UsageLocation US


    PS C:\>Set-MsolUserLicense -UserPrincipalName RA_CQ@domain.com -AddLicenses "CloudMechanics:PHONESYSTEM_VIRTUALUSER"
    PS C:\>Set-MsolUserLicense -UserPrincipalName RA_AA@domain.com -AddLicenses "CloudMechanics:PHONESYSTEM_VIRTUALUSER"


  3. Create call queue and add CQ Resource account to the CQ.
  4. Create Auto attendant and add AA resource account to the AA.
  5. Assign call queue to auto-attendant as voice app.
  6. Once License is assigned then we can assign the number to Resource account.
Sample Auto-Attendant flow (Image Courtesy: Microsoft)
This entry was posted in MS Teams. Bookmark the permalink.

Leave a Reply

Your email address will not be published.