CmdID

CmdID / PowerShell / Cmdlets / New

New-CsAgent

Use the New-CsAgent cmdlet to create an AI Agent that can be associated with a Teams Phone Resource Account. Microsoft Teams PowerShell reference

From the Microsoft Teams PowerShell reference 4 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

4 in the Microsoft Teams PowerShell reference
-NameThe name of the AI Agent.
-AIAgentIdThe ID of the agent as issued by the AI provider (for example, the Microsoft Copilot Studio agent ID).
-AIAgentTypeThe type of AI Agent provider.
-AIAgentTargetTagTemplateIdTag Template Id of this AI Agent.