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

@anamnavi
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@anamnavi
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@anamnavi
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@anamnavi
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Co-authored-by: alerickson <[email protected]>
@anamnavi anamnavi merged commit d616e44 into master Nov 4, 2025
4 checks passed
@adityapatwardhan adityapatwardhan deleted the onedrive-uninstall branch November 5, 2025 17:57
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

4 participants