Create action to scan shared recovery drive and mark permissions documents as processed for deleted or unsuspended users
Permissions documents for users which no longer exist in the domain or are no longer suspended should be marked as processed, so they are not used in subsequent scan runs.
Intention is to add a new command clean-up-permission-documents
(or similar) to the gdrivemanager
program which will be run on a nightly/weekly schedule. This command should retrieve all the permissions documents and check for any which are related to users which no longer appear in the list of users in the domain.
Edited by Mike Knee