Enabling Managed Folder Assistant Error

Steven Ingram 6 Reputation points

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,362 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Steven Ingram 6 Reputation points

    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,351 Reputation points


    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--