03-19-2024 03:49 AM
Hi All
I just wanted to create PAT for Databricks Service Principle but getting below code while hitting API or using CLI -
Please help me to create PAT for the same.
#dataengineering #databricks
03-19-2024 04:48 AM - edited 03-19-2024 04:48 AM
Hi @Ajay-Pandey, Please check this community thread -
03-19-2024 05:25 AM
@Kaniz_Fatma I have already referred this one but still having issue
I have created Service Account in Databricks and I am not using Azure Service Principle
03-19-2024 05:32 AM
Hi @Ajay-Pandey, The error message you’re encountering indicates that the on-behalf-of token creation feature for service principals is not enabled for your Databricks workspace.
To enable this feature, follow these steps:
Provide CAN_USE Permission:
/api/2.0/token-management/on-behalf-of/to...
12. If you encounter any further issues, feel free to reach out for assistance! 03-19-2024 08:04 AM
Hi @Kaniz_Fatma ,
I have given all the permissions (Admin) to Service Principle and still having the same issue.
Please find all the details below -
04-07-2024 09:59 PM
Hi @Kaniz_Fatma
Have you got any update on this ?
a week ago - last edited a week ago
This only works if you are on AWS or GCP, no support for Azure 😞
Check the API documentation AWS - https://docs.databricks.com/api/workspace/tokenmanagement/createobotoken
No such documentation exists for Azure.
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.
If there isn’t a group near you, start one and help create a community that brings people together.
Request a New Group