While running SearchFolderManager.exe or RunSearchFolderManagerForAllMailboxesWith3492Events.ps1 from Command Prompt or PowerShell, it fails with below on-screen error:
PS C:\Program Files (x86)\Enterprise Vault> .\SearchFolderManager.exe '/o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=acfe09518e254ec8813311e5faxxxxxx-User1'
Managing search folders for mailbox:
/o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=acfe09518e254ec8813311e5faxxxxxx-User1
Error 80070005
This error can be caused if the Command Prompt or PowerShell is not launched with administrative privileges.
In order to resolve this error, make sure that Command Prompt or PowerShell is launched with administrative privileges ( i.e Open Command prompt or Power Shell Run as Administrator) and then run the SearchFolderManager.exe or RunSearchFolderManagerForAllMailboxesWith3492Events.ps1 to create the search folder.