Why is it difficult deleting files from a Storage Bucket in Orchestrator even after being logged in as an admin?
Issue Description: Sometimes, when attempting to delete files from a Storage Bucket in Orchestrator, a generic error may be encountered as shown below:
When checking the Event Viewer on the Orchestrator server for detailed logs, an "Access Denied" exception is observed that looks like the below:
Root Cause & Resolution: This issue occurs due to insufficient privileges over the "Storage" folder within the Orchestrator installation directory (Notice the "Storage" in the path that the error above mentions).
- In the Orchestrator server, open the "UiPath.Orchestrator.dll.config" file (C:\Program Files (x86)\UiPath\Orchestrator) and look for the key "Storage.Location". This key should have some folder path as its value. Try navigating to that path manually on the system and verify.
- Right click on the folder and check if your app pool account has unrestricted access over this folder. To do this, go to the Security tab as shown below:
- In case, "Modify" and "Write" permissions are not present, grant the same to the IIS app pool user and then retry deleting the files from the Orchestrator UI.
In general, if you encounter similar issues with operations related to the Storage Buckets in Orchestrator, as a first step, it is always good to verify if you have all the needed permissions granted to perform that specific operation. More information here: Permissions for Storage Buckets.