Reference - PowerShell cmdlets for voice applications

Important

Teams Phone Agent is now generally available.

Interested in learning more? Submit a brief Teams Phone & Voice AI Customer Opportunity intake form to explore Teams Phone Agent capabilities, assess organizational fit, and receive guidance on deployment, setup, and configuration.

We want your feedback

Help us improve Teams Phone Agent. Share your feedback on our planning and setup documentation, the Teams admin center experience, Teams Phone Agent features, or tell us about features and improvements you’d like to see.

Caution

Daylight Savings Time changes – Manual changes to auto attendant time zones required by some customers.

On November 1, 2026, Daylight Savings Time will end in North America.

In Canada, the provinces of Alberta, British Columbia, and Manitoba will remain on Daylight Savings Time and will not move the clocks back one hour.

Customers with Teams Phone Agents serving these provinces that have time zone configurations that reference (UTC-7:00) Mountain Time (US & Canada), (UTC-8:00) Pacific Time (US & Canada), or (UTC-05:00) Eastern Time (US & Canada) must be updated as follows:

  • Alberta: Permanently moves to UTC-6:00.

    • Change the auto attendant time zone selection from (UTC-7:00) Mountain Time (US & Canada) to (UTC-6:00) Saskatchewan as DST is not observed in Saskatchewan.
  • British Columbia: Permanently moves to UTC-7:00.

    • Change the auto attendant time zone selection from (UTC-8:00) Pacific Time (US & Canada) to (UTC-7:00) Arizona as DST is not observed in Arizona.
  • Manitoba: Permanently moves to UTC-5:00.

    • Change the auto attendant time zone selection from (UTC-05:00) Eastern Time (US & Canada) to (UTC-05:00) Bogota, Lima, Quito, Rio Branco or (UTC-05:00) Chetumal as DST is not observed in these areas.

In Ontario, the following communities and areas will not turn clocks back and will remain on Central Daylight Time year‑round:

  • Kenora
  • Dryden
  • Fort Frances
  • Sioux Lookout
  • Red Lake
  • Rainy River
  • Other communities west of the 90th meridian that currently follow Central Time and change clocks seasonally

Customers with Teams Phone Agents serving these areas that have time zone configurations that reference (UTC-05:00) Eastern Time (US & Canada) should change the time zone selection to (UTC-05:00) Bogota, Lima, Quito, Rio Branco or (UTC-05:00) Chetumal as DST is not observed in these areas.

Caution

Daylight Savings Time changes – Manual changes to auto attendant time zones required by some customers.

On November 1, 2026, Daylight Savings Time will end in North America.

In Canada, the provinces of Alberta, British Columbia, and Manitoba will remain on Daylight Savings Time and will not move the clocks back one hour.

Customers with auto attendants serving these provinces that have time zone configurations that reference (UTC-7:00) Mountain Time (US & Canada), (UTC-8:00) Pacific Time (US & Canada), or (UTC-05:00) Eastern Time (US & Canada) must be updated as follows:

  • Alberta: Permanently moves to UTC-6:00.

    • Change the auto attendant time zone selection from (UTC-7:00) Mountain Time (US & Canada) to (UTC-6:00) Saskatchewan as DST is not observed in Saskatchewan.
  • British Columbia: Permanently moves to UTC-7:00.

    • Change the auto attendant time zone selection from (UTC-8:00) Pacific Time (US & Canada) to (UTC-7:00) Arizona as DST is not observed in Arizona.
  • Manitoba: Permanently moves to UTC-5:00.

    • Change the auto attendant time zone selection from (UTC-05:00) Eastern Time (US & Canada) to (UTC-05:00) Bogota, Lima, Quito, Rio Branco or (UTC-05:00) Chetumal as DST is not observed in these areas.

In Ontario, the following communities and areas will not turn clocks back and will remain on Central Daylight Time year‑round:

  • Kenora
  • Dryden
  • Fort Frances
  • Sioux Lookout
  • Red Lake
  • Rainy River
  • Other communities west of the 90th meridian that currently follow Central Time and change clocks seasonally

Customers with auto attendants serving these areas that have time zone configurations that reference (UTC-05:00) Eastern Time (US & Canada) should change the time zone selection to (UTC-05:00) Bogota, Lima, Quito, Rio Branco or (UTC-05:00) Chetumal as DST is not observed in these areas.

The following cmdlet references are for Microsoft Teams Phone Agent, Auto Attendants, and Call Queues.

Teams Phone Agent

The following cmdlets are specific to Teams Phone Agent feature configuration. The Auto Attendant cmdlets must also be used in order to create a working Teams Phone Agent.

Auto Attendant

The following cmdlets allow you to create and manage an Auto Attendant:

For a step-by-step guide to creating an Auto Attendant with PowerShell, see Creating Auto attendants with PowerShell cmdlets

Call Queue

The following cmdlets allow you to create and manage a Call Queue:

For a step-by-step guide to creating a Call Queue with PowerShell, see Call Queues with PowerShell

Compliance Recording for Call Queues

The following cmdlets allow you to create and manage Compliance Recording for Call Queue templates:

Shared call history

Common cmdlets used by Teams Phone Agent, Auto Attendant, and Call Queue

The following cmdlets are also required to manage common components of Teams Phone Agent, Auto Attendant and Call Queue such as:

  • Users
  • Resource accounts
  • Licenses
  • Phone numbers
  • Audio files (for Auto Attendant and Call Queue only)
  • Supported languages (for Auto Attendant and Call Queue only. See Teams Phone Agent for equivalent cmdlets.)

Automatic Recording for Teams Phone Agent and Call Queue

The following cmdlets allow you to create and manage Automatic Recording templates:

Users and Teams

Resource accounts

Teams Phone Resource Account licenses

Phone number assignment

Audio files (for Auto attendants and Call queues only)

Supported languages (for Auto Attendant and Call Queue only)

Supported time zones (for Teams Phone Agent and Auto Attendant only)

Voice applications policies