I'm trying to use databricks API via powerapps to execute some query statements. For this I'm using a custom connector within Powerapps. I first used a normal token based authentication which worked fine. But I want to go a step further and use oauth 2.0 instead. I created a service principle within databricks and created a client secret for this and trying to use these parameters within the security tab.
But I'm getting the below error: {"error_description":"OAuth application with client_id: '5be4998e-7916-48aa-b62f-f3bdafec260f' not available in Databricks account '64a96936-b09e-489c-b813-696d6d4488a0'.","error":"invalid_request"}
Please also note that I tried this same request in Postman using the same client and secret and its working fine. But I did not have to give an authorization URL.
Can anyone see what I have done wrong here?