Enabling Managed Folder Assistant Error

Steven Ingram 6 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 Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,355 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Steven Ingram 6 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]

    1 person found this answer helpful.

  2. Limitless Technology 39,336 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--