cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Administration & Architecture
Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Azure SP OAuth wont generate token

_rafa
New Contributor

Hi all,

Hopefully someone has had this issue and fixed it before. No matter how many times I try, no token is generated (yes, i am in a premium tier). 

Any ideas?

_rafa_0-1702294084413.png

 

I tried using the API but I got this error that apparently is because I am in Azure. 

_rafa_1-1702294208009.png

for the SP the permission are configured (at least i belive so)

_rafa_0-1702294866329.png_rafa_1-1702294945196.png

 

Please help ๐Ÿ˜ž 

1 REPLY 1

Yeshwanth
Databricks Employee
Databricks Employee

Hello @_rafa  ,

Currently, we do not have an API similar to the "https://<databricks-instance>/api/2.0/token-management/on-behalf-of/tokens" in azure as Azure supports the service principle authentication by default. Please authenticate to normal PAT generation using SPโ€™s AAD token.

So currently please use the below document for the getting the tokens:
https://docs.microsoft.com/en-us/azure/databricks/dev-tools/api/latest/aad/service-prin-aad-token

https://learn.microsoft.com/en-us/azure/databricks/dev-tools/api/latest/aad/service-prin-aad-token#-...

Connect with Databricks Users in Your Area

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