Hi @karuppusamy,

Thanks for sharing the error snapshot. What you are seeing is expected behaviour rather than a bundle misconfiguration. Genie Agents are an unsupported asset type for commits in Databricks Git folders, so the workspace Git integration cannot sync the .geniespace.json. That is why your notebooks and dashboards go through fine, but the Genie does not.

The fix is to keep the Genie out of the workspace Git folder sync path and let the Databricks CLI deploy it from your Azure DevOps checkout through the API.

There is no UI download for a Genie Agent, so generate it with the bundle generate genie-space command.

databricks bundle generate genie-space \
  --existing-id <your-genie-space-id> \
  --key inventory_genie


This writes the resource YAML and a src/*.geniespace.json into your bundle. If you prefer the REST route instead, call the Genie Space API with GET /api/2.0/genie/spaces/{space_id}?include_serialized_space=true and save the serialized_space payload.

Keep that .geniespace.json in your Azure DevOps repo alongside databricks.yml, not inside a Databricks workspace Git folder. Set engine: direct in the bundle, which the genie_spaces resource requires.

Deploy from the pipeline with the CLI, which reads the file from the agent filesystem and pushes it via the API. This slots straight into the standard Azure DevOps CI/CD flow for bundles.

databricks bundle validate --target $(BUNDLE_TARGET)
databricks bundle deploy --target $(BUNDLE_TARGET)

A quick checklist before you retry.

  1. Databricks CLI 1.3.0 or later, latest preferred, which you can confirm with databricks --version.
  2. engine: direct set in databricks.yml, per the direct deployment engine docs.
  3. The .geniespace.json lives in the external repo and is never synced through a Databricks Git folder.
  4. The warehouse id and any catalog or schema the Genie references exist in the target workspace.

Once you move to CLI-driven deploys from the pipeline instead of Git folder sync, the Genie will land in QA and prod cleanly.

 

Regards,
Ashwin | Delivery Solution Architect @ Databricks
Helping you build and scale the Data Intelligence Platform.
***Opinions are my own***