Alberto_Umana
Databricks Employee
Databricks Employee

Hi @Brianhourigan 

Can service principals create git folders under /Workspace/Users/?

  • No, service principals cannot create folders under /Workspace/Users/ as this directory is protected. This is why you are encountering the "Error: Folder Users is protected" message.

Is there a recommended approach for this automation?

  • One option is to create a top-level directory for each user under a different path that is not protected, such as /Workspace/Projects/username/. This way, you can manage permissions and automate the creation of these directories without running into the protected folder issue.
  • Are features planned to support this workflow?

    There is no planned features to support the creation of git folders under /Workspace/Users/ by service principals, I will create one.