Mohammad_Renani
Databricks Partner

Hello all, 

I am facing similar issue while trying to create a databricks_connection resource in Terraform and provided json in this post doesn't seem to work and also based on this document, you shouldn't provide "OAUTH_SCOPE" in the options for M2M type. Also trying to create the databricks_connection with different variations of options didn't work and specially it's not clear how to enforce the Auth type to be M2M.

Our deployment constantly is returning below error: 

Error: cannot create connection: CONNECTION/CONNECTION_SQLSERVER_OAUTH_U2M must include the following option(s): oauth_redirect_uri,pkce_verifier,authorization_code.

Any type of help is much appreciated!