Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Info

This page contains:

  • script to grant permissions to LHM service principal

  • instructions to setup an automated mechanism to grant same permissions to LHM for newly added assets in a Databricks Workspace

The service principal used by LHM requires permissions to be granted to it in order to access Databricks Workspaces and those assets managed by workspaces. These access rights can be granted via the python_provisiong.py script which requires an admin Databricks account in order to grant permisions.

If new assets (workflows, notebooks, clusters) are added in a workspace, then the LHM service principal need to be granted permission to those assets as well. This can be done automatically by adding the previous as script as an Azure Function that runs recurrently on scheduled basis.

Needed files

View file
namepython_provisioning.py
View file
nameazure_main.py

...