/
How to create a custom Role in Azure for LHO to use (AWS)

How to create a custom Role in Azure for LHO to use (AWS)

Lakehouse Optimizer requires only read permission to list Databricks Workspaces. Therefore, in order to limit the rights only to this permission, create a custom role with only this permission.

For example, BplmDatabricksReader is a custom role configured to provide only “List workspaces” rights for Databricks.

The prebuilt Reader role provide access to too many resources which are not required by LHO to function properly.

 

Prerequisite

  • the signed in user creating the custom role needs to have User Access Administrator role assigned on the selected Subscription

image-20240327-104058.png
User Access Administrator role

 

Navigate to Azure Portal – Microsoft Azure

 

(1) Open Subscriptions

image-20240327-095717.png
Azure Subscriptions

 

(2) Select Subscription on which you want to create the custom role with read access to list workspaces.

image-20240327-103138.png
select Azure Subscription

 

(3) Open Access Control (IAM) panel

image-20240327-103428.png

 

(4) Add custom Role

image-20240327-103806.png
Add custom role

 

Lakehouse Optimizer requires only read permission to list Databricks Workspaces. Therefore, in order to limit the unnecessary rights, create a custom role with only this permission.

image-20240327-100021.png
Custom Role name and description

 

image-20240327-100058.png
select only “Read - List Databricks Workspaces”

 

Click “Review + create

image-20240327-100113.png
click “Review + create”

 

Review custom role

image-20240327-100132.png
Review and create

 

image-20240327-100208.png
confirmation message for created custom role

 

 

Once this custom role is created you can use it for LHO configuration.

 

Related Articles

Related content