customer is trying to generate a Databricks token for a service principal (SP). They’ve created the SP in Azure AD and have used the Databricks rest ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2022 08:28 PM
customer is trying to generate a Databricks token for a service principal (SP). They’ve created the SP in Azure AD and have used the Databricks rest api to add it as an admin.
When using the Databricks rest api /api/2.0/token-management/on-behalf-of/tokens to create a token for this SP, I get this error, {"error_code":"FEATURE_DISABLED","message":"On-behalf-of token creation for service principals is not enabled for this workspace"}. What's confusing is that personal access tokens are enabled and I've even gone to the extent to manually add the SP to these permissions. I'm not sure what setting I can change in Databricks to enable this feature. Any help would be greatly appreciated.