Share via


Agent 365 CLI cleanup command reference

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.

Cleans up ALL resources (blueprint, instance, and Azure). Use subcommands for granular cleanup. The cleanup command provides options to clean up resources created during Agent 365 development and deployment. You can clean up all resources at once or use specific subcommands for granular cleanup of different resource types.

Minimum role required: Azure Contributor + Global Administrator

Syntax

a365 cleanup [command] [options]

Options

Option Description
-c, --config <file> Path to configuration file
-?, -h, --help Show help and usage information

cleanup blueprint

Remove Entra ID blueprint application and service principal.

a365 cleanup blueprint [options]

This command removes the agent blueprint application registration and associated service principal from Microsoft Entra ID.

cleanup azure

Remove Azure resources (App Service, App Service Plan).

a365 cleanup azure [options]

This command removes the Azure App Service and App Service Plan resources that were created during the deployment process.

cleanup instance

Remove agent instance identity and user from Entra ID.

a365 cleanup instance [options]

This command removes the agent instance identity and the associated user account from Microsoft Entra ID.