Hi Stefano,
This is a known issue we are actively tracking. Earlier this year, Microsoft made a change that forces unlicensed OneDrive accounts into a “Fully Archived” status 93 days after the user’s license is removed. The OneDrive technically still exists, but it is no longer accessible.
On the Microsoft side, you can either assign a license to the affected account or completely delete the unlicensed account. On the Netwrix Auditor side, we have released an update to Netwrix Auditor which does help address this issue. You can download that version at https://releases.netwrix.com/products/auditor/10.8/auditor-10.8.15833.zip. Once you update to the latest version of Auditor, these error messages will be converted to warning messages which will ensure that the Monitoring Plan is no longer in a Take Action status. You can also add these sites to an omit list to prevent Netwrix Auditor from attempting to access them at all.
If you would like to omit these sites completely, it may be beneficial to first gather a list of all Fully Archived sites. There are two ways to do this.
Option 1 — SharePoint Admin Center:
- Sign in to the SharePoint Admin Center
- Go to Reports → OneDrive Accounts
- Click Active users with no license
- Click View more details
- Click Download Report
Option 2 — PowerShell:
Get-SPOSite -IncludePersonalSite $true -Limit All ` -Filter "Url -like '-my.sharepoint.com/personal/'" | Where-Object { $_.ArchiveStatus -eq "FullyArchived" } | Select-Object Url, Title, ArchiveStatus, LockState
Once you have the list of sites, you will need to locate your Working Folder in Netwrix Auditor. You can find it by running the following PowerShell command:
Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\WOW6432Node\Netwrix Auditor\DataPathOverride" -Name "(Default)"
If this command does not return a value, your Working Folder is at the default location: C:\ProgramData\Netwrix Auditor\
From there, open the following file:
%Working Folder%\Netwrix Auditor for SharePoint Online\Configuration\<GUID>\OmitSitScStoreList.txt
Add each of the Fully Archived site URLs to this text file and the error will stop appearing.
We would also love your feedback on how we plan to continue to address this in future releases. We are reviewing an option that would allow customers to skip inaccessible sites entirely. If this is something you would find valuable, we would greatly appreciate an upvote on our community idea post: Option to skip unaccessible SharePoint Online sites
Please let us know if you have any questions or run into any issues with these steps.