I was trying out Microsoft 365 Agents Toolkit in VS Code, building an agent using TypeSpec, but it failed to provisioning to my M365 developer tenant, with the following error:
Error: Deployment blocked: Advanced declarative agent can’t be deployed due to tenant permission settings.
The solution I eventually found: Open the file /env/.env.dev and find AGENT_SCOPE change from shared to personal.
