20 February 2015

How to fix Exchange 2013 " Set-PublicFolderMigrationRequest -Identity \PublicFolderMigration -PreventCompletion:$false " error

Ho to solve Set-PublicFolderMigrationRequest -Identity \PublicFolderMigration -PreventCompletion:$false error NotSpecified: (:) [Set-PublicFolderMigrationRequest], ManagementObjectNotFoundException




Symptoms:


Entering the following EMS command

Set-PublicFolderMigrationRequest -Identity \PublicFolderMigration -PreventCompltion:$false


You get this error

Couldn't find a request that matches the information provided. Reason: No such request exists in the specified index.
    + CategoryInfo          : NotSpecified: (:) [Set-PublicFolderMigrationRequest], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : [Server=servername,RequestId=10c7cc99-77e4-4aa9-b6b1-3aa6f3c8f6dd,TimeStamp=20.02.2015 15:
   00:58] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] CA306C92,Microsoft.Exchange.Management.Recipient
  Tasks.SetPublicFolderMigrationRequest
    + PSComputerName        : servername.domain.com




Solution:


Fire the command get-PublicFolderMigrationRequest | fl
   
[PS] C:\Users\user.domain\Desktop>get-PublicFolderMigrationRequest | fl


RunspaceId     : 85a6da6d-62fb-45c8-b86f-7cfd2dc9b313
SourceDatabase : Public Folder Database Server
Name           : true
RequestGuid    : 9fd478ac-9657-4c4d-a9bd-f6ca94a9f46f
RequestQueue   : DB09PUB01
Flags          : IntraOrg, Pull, Suspend
BatchName      :
Status         : AutoSuspended
Protect        : False
Suspend        : True
Direction      : Pull
RequestStyle   : IntraOrg
OrganizationId :
WhenChanged    : 20.02.2015 14:48:35
WhenCreated    : 20.02.2015 14:47:04
WhenChangedUTC : 20.02.2015 13:48:35
WhenCreatedUTC : 20.02.2015 13:47:04
Identity       : \true
IsValid        : True
ObjectState    : New



Use the RequestGiud value to complete the migration request command:


Resume-PublicFolderMigrationRequest -Identity "000000-00000-0000-YOURREQUESTID"

[PS] C:\Users\
user.domain\Desktop>Resume-PublicFolderMigrationRequest -Identity "9fd478ac-9657-4c4d-a9bd-f6ca94a9f46f"




No comments:

Post a Comment