Answered my own question:
had to get the GUID of the primary mailbox using this command:
get-mailboxLocation –user user@ssss .com.au | fl mailboxGuid,mailboxLocationType
Then run Start-ManagedFolderAssistant [Primary GUID]
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
When trying to start managed folder assistant on a shared mailbox with online archiving enabled, I am getting an error in powershell:
The call to Mailbox Assistants Service on server: 'DM6PR07MB4555.namprd07.prod.outlook.com' failed. Error from RPC is -2147220992.
+ CategoryInfo : InvalidOperation: (:) [Start-ManagedFolderAssistant], TaskException
+ FullyQualifiedErrorId : [Server=PH0PR07MB9251,RequestId=ff1753ea-7703-430c-884a-91ba0713578b,TimeStamp=8/15/2022 4:37:23 PM] [FailureCategory=Cmdlet-TaskExceptio
n] C5CED160,Microsoft.Exchange.Management.SystemConfigurationTasks.StartElcAssistant
+ PSComputerName : outlook.office365.com
What can cause this error and how do resolve it?
Answered my own question:
had to get the GUID of the primary mailbox using this command:
get-mailboxLocation –user user@ssss .com.au | fl mailboxGuid,mailboxLocationType
Then run Start-ManagedFolderAssistant [Primary GUID]
Hello,
This may be due to some issue locating the mailbox GUID of this user, please try the next:
First get the GUID:
get-mailboxLocation –user <username@keyman > | fl mailboxGuid,mailboxLocationType
Then use the cmdlet using the GUID instead of the user:
Start-ManagedFolderAssistant <mailboxGUID>
----------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept as answer--