Versions Compared

Key

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

...

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

Prerequisites

Setup azcli

Install azcli core tool from Azure on your local machine

...

Step 6. Download the python_provisioning.py and azure_main.py into the new function directory lhm-grant

View file
namepython_provisioning.py

View file
nameazure_main.py

Step 7. Edit azure_main.py and provide needed information for the grant code

...