Enabling Managed Folder Assistant Error

Steven Ingram 31 Reputation points
2022-08-15T16:44:17.76+00:00

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?

Windows for business | Windows Server | User experience | PowerShell
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Steven Ingram 31 Reputation points
    2022-08-15T16:52:47.007+00:00

    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]

    6 people found this answer helpful.

  2. Limitless Technology 40,076 Reputation points
    2022-08-16T14:51:52.447+00:00

    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>

    Reference: https://learn.microsoft.com/en-us/archive/blogs/timmcmic/office-365-start-managedfolderassistant-in-office-365

    ----------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept as answer--

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.