Integrate Genie to teams

Tarun-1100
New Contributor

Hey, I'm trying to integrate Genie into Teams. I am Admin and have all rights. created a Genie to test.

 

We are encountering an PermissionDeniederror while interacting with Genie API via SDK and workspace token.

Details:

Error:

 
databricks.sdk.errors.platform.PermissionDenied: You need "Can View" permission to perform this action.
  • We have verified that the token belongs to the user who created the Genie space.

  • We already tried setting permissions manually in the Genie UI (Share > Permissions), but the error persists when making API requests like get_message or get_message_attachment_query_result.

  • The token has full workspace access otherwise (works fine for other Databricks REST APIs).

Request:

  • Could you please investigate why a Genie space creator cannot query or retrieve message contents using their own token?

  • Is there an internal permission propagation delay or an additional step needed?

    Tarun1100_0-1745945967915.png

     

chanukya-pekala
Contributor III

Check this repo -  TeamsGenieIntegration

Chanukya