When using {odbc} to connect to Databricks clusters and SQL warehouses youâll likely have used a personal access token (PAT). Itâs not uncommon for workspace administrators to disable the use of PATs.
If you are unable to create a PAT you are still able to connect to Databricks but youâll need to use OAuth (either M2M or U2M).
OAuth U2M or OAuth 2.0 browser-based authentication works only with applications that run locally. It does not work with server-based or cloud-based applications.
When running this code you should be prompted to login to the workspace or youâll see a window that says âsuccessâ. You can close the window and continue working in R.