Hello
Thank you for your question and reaching out.
The “Failed to Enumerate Objects in the Container. Access is denied.” error usually comes up when you try to change the permissions of a file or folder. In most cases, this file or folder is either from an external source (a different computer, for example) or it’s shared between many local users.
Please try to login to File server and access the Folder locally from file server , For Example C:\MysharedFolder
Your team_a leader user can take Owner ship of the Folder and then Assign permission to others.
Execute the following commands, pressing the Enter key in-between each command. Make sure to replace “FULL_PATH_HERE” with the path to your affected file or folder.
takeown /F X:\FULL_PATH_HERE
takeown /F X:\FULL_PATH_HERE /r /d y
icacls X:\FULL_PATH_HERE /grant Administrators:F
icacls X:\FULL_PATH_HERE /grant Administrators:F /t
Close the Command Prompt and try changing the permissions for the file or folder affected.
--If the reply is helpful, please Upvote and Accept as answer--