Skip to content

Conversation

anamnavi
Copy link
Member

@anamnavi anamnavi commented Aug 22, 2025

Currently, when uninstalling a module that was installed to a OneDrive module path, it deletes the module files successfully but not the subdirectories and an error is thrown. The subdirectories need to also have their file attribute set to FileAttributes.Normal to allow for deletion.

Tested manually on PS7.

PR Summary

PR Context

Resolves #1793

PR Checklist

…ithout access denied error and add error handling
@anamnavi
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Uinstall-PSResource on OneDrive Error: Access to the path is denied
1 participant