I want to generate a personal access token on a service principal. I generated a service principal in Azure active directory and using Azure devops pipeline, I got it added to databricks workspace- where I am a work space administrator. After adding it, I went to Admin settings-->workspace settings--> personal access token--> permission settings and assigned the SP 'can use' access on token usage. Post that, I tried to generate a PAT on the SP using postman tool accordingly to the below guidance-
https://docs.databricks.com/dev-tools/service-principals.html (Step 2)
I used my own PAT for letting service principal authorize with databricks API.
I am still getting this error in trying to generate PAT from postman-
{
"error_code": "FEATURE_DISABLED",
"message": "On-behalf-of token creation for service principals is not enabled for this workspace"
}
The text in bold should have avoided this error but no idea why I am still getting it. Kindly help.