Skip to content

failed invoking event handlers for 'postdeploy' error in a project without hosted agents #7344

@therealjohn

Description

@therealjohn

Unexpectedly getting an error related to the agent extension in a project that has nothing to do with agents.

ERROR: error executing step command 'deploy --all': failed invoking event handlers for 'postdeploy', extension azure.ai.agents project hook postdeploy failed: agent identity RBAC setup failed: AZURE_AI_PROJECT_ID not set, unable to ensure agent identity RBAC

There is no env var for enablehostedagents=true, and the azure.yaml doesnt have a azure.ai.agents service.

services:
teams-bot:
project: ./packages/teams-bot
language: ts
host: containerapp
docker:
path: ../../Dockerfile
context: ../../

Metadata

Metadata

Labels

bugSomething isn't workinghooks

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions