Showing results for 
Search instead for 
Did you mean: 
New Member

Power automate - deleting files/folders is not working with full permissions I have build a power automate UI flow

Hello, I am unable to delete files/folders - it is not working even with full permissions. The error I get is:



Robin.Core.ActionException: Can't delete folder C:\Users\octemp\tmpFolder. ---> System.UnauthorizedAccessException: Access to the path 'tmp_file_1_done.pbix' is denied. at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data) at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost) at Robin.Modules.Folder.Actions.FolderActions.EmptyFolder(Variant folderToEmpty) --- End of inner exception stack trace --- at Robin.Modules.Folder.Actions.EmptyFolder.Execute(ActionContext context) at Robin.Runtime.Engine.ActionRunner.RunAction(String action, Dictionary`2 inputArguments, Dictionary`2 outputArguments, IActionStatement statement)



I checked with the same user and I can delete this folders/files manually - but not through power automate UI flow Desktop. I am running on server 2016, 64 bit. Any help will be appreciates.





Helpful resources

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group


Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (74,699)