Permission Denied for Genie Auto-Generated Service Principal on SQL Endpoint in Playground

Karthik_Karanm
New Contributor III

Hi community,

Use Genie in multi-agent systems | Databricks Documentation
I’ve developed a multi-agent Genie in Databricks and integrated it with vector indexes. The setup works fine during model logging and prediction. The system successfully registers models to Model Serving.

However, when I interact with the Genie using the Playground UI, I receive the following error:

PermissionDenied: 2654507c-3f21-48f6-87f6-2e5ef2ac5c75 is not authorized to use or monitor this SQL Endpoint. Please contact your administrator.
Config: host=https://dbc-3a822fc8-adcc.cloud.databricks.com, auth_type=model-serving
During task with name 'Genie' and id 'f039979b-69b5-0353-3070-24c8427faeef'

What I’ve Observed:

  • The Genie automatically generates a service principal when integrated with multiple agents.
  • This principal queries or interacts with a SQL Endpoint to query the tables.
  • Unfortunately, I cannot manually assign permissions to this service principal.
  • It does not show up under typical service principal listings or user management.
  • As a result, any queries from the Playground fail with permission errors.

Any help or insight would be appreciated. I'm happy to provide more details if needed!

Thanks,
Karthik k

#genie #multiagent #model-serving #sql-endpoint #playground #permissions #service-principal #unity-catalog #databricks