Powershell script for redirect call to an external phone number

Hektor_DK 1 Reputation point
2021-05-12T10:39:32.763+00:00

We have an auto attendant in a call flow where I manually make insertion on the site https://admin.teams.microsoft.com/auto-attendants for redirect call to an external phone number +45xxxxxxx5 when the day is Tuesday or Thursday and again for redirect call to an external phone number +45xxxxxxx6 when the day is Wednesday. Is it possible to automate this with PowerShell script and task scheduler? Any suggestion?

Microsoft Teams Development
Windows for business Windows Server User experience PowerShell
{count} votes

2 answers

Sort by: Most helpful
  1. Mamatha-MSFT 161 Reputation points
    2021-05-14T11:47:33.307+00:00

  2. Kartheek Raparthy 1 Reputation point
    2021-05-18T05:07:01+00:00

    @Hektor_DK ,

    Please go through below process to set AutoAttendant

    1) Get the available auto attendants status (Get-CsAutoAttendant)
    2) Please get the Identity of auto attendant.
    3) use Set-CsAutoAttendant cmdlet change call flow menu option.

    for creating New-CsAutoAttendant

    using above options you can create script bypassing required number and replacing menu option in call flow of auto attendant

    0 comments No comments

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.