It sounds like you're running into permission issues after modifying the workspace.root_path
in your databricks.yml
file for your Azure DevOps CI/CD pipeline. Specifically, the error messages suggest that the user running the pipeline doesn’t have the necessary permissions on the directories you've specified.
Here are a few suggestions
Check Permissions: Ensure that the user (or service principal) specified in your pipeline has the correct permissions. The error states that the user does not have View or Manage permissions. You may need to:
- Go to the Azure Databricks workspace.
- Navigate to your directory path (
/Workspace/src/.bundle/...
) and check the permissions. - Ensure that the user has the required permissions for both viewing and managing that directory. You can do this by going to the Admin Console and updating the permissions accordingly.
Validate the Path: Ensure that the path you set for workspace.root_path
in databricks.yml
is correct. After the modification, double-check that the path exists and that there are no typos.
Revoke and Reassign Permissions: Sometimes, removing and then reassigning permissions can help to refresh access. Remove the user from the directory and then re-add them with the necessary View and Manage permissions.
Add Missing Permission Levels: If your setup requires certain groups (like admins
in your example) to have higher permissions, check if they also need that particular user added to such groups for better management.
Review Databricks Documentation: Refer to the documentation regarding CI/CD with Azure DevOps as there are specific instructions for defining and deploying bundles, along with managing access:
If you continue experiencing issues, please consider these follow-up questions to clarify the situation:
- What user or service principal is running the pipeline?
- Have you checked if the directory
/Workspace/src/.bundle/azure-devops-demo/prd/files
exists and has the correct permissions set? - Are there any specific group policies that might be affecting permissions?