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
Parameters
-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.