Hello Vaibhav, Welcome to MS Q&A
- To configure and use a system-assigned managed identity for accessing Blob Storage securely within a Synapse notebook, follow these steps:
Enable Managed Identity: Ensure that your Synapse workspace has a system-assigned managed identity. This is usually enabled by default for the workspace.
Assign Role to Managed Identity:
- Navigate to your Blob Storage account in the Azure portal.
- Go to the "Access control (IAM)" section.
- Click on "Add" and then "Add role assignment".
- Assign the role of "Storage Blob Data Contributor" to the managed identity associated with your Synapse workspace.
Use Managed Identity in Synapse Notebook:
- When running your Spark notebooks, enable "Run as managed identity" from the Configure session menu.
- You can now access Blob Storage using the managed identity without needing to manage credentials manually.
Please let me know if you have any other questions
Kindly accept answer if you think not a chatgpt response :)
References:
Thanks
Deepanshu