Configure Unity Catalog storage account for CORS
You must configure cross-origin resource sharing (CORS) for Azure Databricks to manage personal staging locations in Unity Catalog. Personal staging locations store temporary files used for various integrations with Partner Connect, as well as for storing small files uploaded through the upload data UI.
You can configure CORS settings during initial deployment of your Unity Catalog metastore storage, or change these settings later. Only sufficiently privileged cloud administrators can apply these changes. The instructions that follow assume that you have proper credentials and are logged into the cloud console for the account containing your storage account.
Configure CORS settings for Azure Data Lake Storage Gen2
Use the Azure portal to navigate to your storage account
Select Settings > Resource sharing (CORS)
Make sure the Blob service tab is selected. Edit the fields as follows:
Field Value Allowed origins https://*.azuredatabricks.net
Allowed methods PUT
Allowed headers x-ms-blob-type
Exposed headers (leave blank) Max age 1800 Select Save.
Feedback
Submit and view feedback for