Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
You need to be part of the Frontier preview program to get early access to Microsoft Agent 365. Frontier connects you directly with Microsoft’s latest AI innovations. Frontier previews are subject to the existing preview terms of your customer agreements. As these features are still in development, their availability and capabilities may change over time.
The Agent 365 CLI Reference is a comprehensive command-line interface for building, deploying, and managing AI agents for Microsoft 365. Learn about how to get started with the Agent 365 CLI
Global Options
All commands support these global options:
--version: Show version information-?,-h,--help: Show help and usage information
Commands
The following table lists the commands that are available.
| Command | Description |
|---|---|
cleanup |
Cleans up ALL resources (blueprint, instance, and Azure). Use subcommands for granular cleanup. |
cleanup blueprint |
Remove Entra ID blueprint application and service principal. |
cleanup azure |
Remove Azure resources (App Service, App Service Plan). |
cleanup instance |
Remove agent instance identity and user from Entra ID. |
config init |
Interactively configure Agent 365 CLI or import from a file. |
config display |
Show current Agent 365 CLI configuration. |
create-instance |
Create Agent Identity and Agent User, and add permissions to identity. |
develop list-available |
List all MCP servers available in the catalog (what you can install). |
develop list-configured |
List currently configured MCP servers from your local ToolingManifest.json. |
develop add-mcp-servers |
Add MCP Servers to the current agent configuration. |
develop remove-mcp-servers |
Remove MCP Servers from the current agent configuration. |
publish |
Update manifest.json ID values and publish the package. Configure federated identity and app role assignments. |
query-entra blueprint-scopes |
List configured scopes and consent status for the agent blueprint. |
query-entra instance-scopes |
List configured scopes and consent status for the agent instance. |
setup |
Create agent blueprint configuration. |