cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Connection with Azure service principal

juancanocondes
New Contributor II

I have configured a data bricks connection with Azure using a service principal who is configured in both Azure system and data bricks.  I am getting an issue calling this API since early June. 

https://$URI$/api/2.0/secrets/scopes/list 
Headers = @{
        "Authorization" = "Bearer $Token"
      }

I am getting the token properly and sending to the correct URL, workspace is retrieving value. The API call is sending back a 403 error: ##[error]The remote server returned an error: (403) Forbidden.

No configurations made or modifications in code to make the connection. The client id and secret seems valid. 

I have tried to extend the permissions in the service principal and didn't work. I have been able to create a token using my local machine and send the API call successfully. 

Is there any extra configurations I should apply in the service principal? 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

juancanocondes
New Contributor II

For anyone interested, this particular case was due migrating Azure Powershell to a new version. This is the link to follow just in case 

https://learn.microsoft.com/en-us/powershell/azure/migrate-az-14.0.0?view=azps-14.1.0

View solution in original post

1 REPLY 1

juancanocondes
New Contributor II

For anyone interested, this particular case was due migrating Azure Powershell to a new version. This is the link to follow just in case 

https://learn.microsoft.com/en-us/powershell/azure/migrate-az-14.0.0?view=azps-14.1.0

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now