0
mourikis 91 Rep.

Description of the setup:

Exchange 2010 running WSP 2.0

Installed Exch 2016 in coexistance with Exch 2010

At first tried to use the guide to make the migration but could not make it work (probably doing something wrong…)

SO i decided to manually recreate the organizations and use the Enterprise Import tool.

Users have been imported successfully according to the logs and i can see basic info.

But if i get errors on several actions on migrated accounts.

I created a test account and i am able to do everything i tried, ie create a new user, mailbox, DL etc

On a migrated account i can create the user in Active Directory but not a mailbox. It gives error on AddressBookPolicy

Error creating mailbox. See audit log for more details.

System.Web.Services.Protocols.SoapException: Server was unable to process request. —> System.Exception: Error executing ‘CREATE_MAILBOX’ task on ‘temp test’ EXCHANGE —> System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. —> System.Management.Automation.ParameterBindingException: Cannot bind parameter ‘AddressBookPolicy’. Cannot convert value “” to type “Microsoft.Exchange.Configuration.Tasks.AddressBookMailboxPolicyIdParameter”. Error: “Parameter values of type Microsoft.Exchange.Configuration.Tasks.AddressBookMailboxPolicyIdParameter can’t be empty. Specify a value, and try again. Parameter name: identity” —> System.Management.Automation.PSInvalidCastException: Cannot convert value “” to type “Microsoft.Exchange.Configuration.Tasks.AddressBookMailboxPolicyIdParameter”. Error: “Parameter values of type Microsoft.Exchange.Configuration.Tasks.AddressBookMailboxPolicyIdParameter can’t be empty. Specify a value, and try again. Parameter name: identity” —> System.ArgumentException: Parameter values of type Microsoft.Exchange.Configuration.Tasks.AddressBookMailboxPolicyIdParameter can’t be empty. Specify a value, and try again. Parameter name: identity at Microsoft.Exchange.Configuration.Tasks.ADIdParameter..ctor(String identity) at Microsoft.Exchange.Configuration.Tasks.AddressBookMailboxPolicyIdParameter.Parse(String identity) — End of inner exception stack trace — at System.Management.Automation.LanguagePrimitives.ConvertViaParseMethod.ConvertWithoutCulture(Object valueToConvert, Type resultType, Boolean recursion, PSObject originalValueToConvert, IFormatProvider formatProvider, TypeTable backupTable) at System.Management.Automation.LanguagePrimitives.ConversionData`1.Invoke(Object valueToConvert, Type resultType, Boolean recurse, PSObject originalValueToConvert, IFormatProvider formatProvider, TypeTable backupTable) at System.Management.Automation.LanguagePrimitives.ConvertTo(Object valueToConvert, Type resultType, Boolean recursion, IFormatProvider formatProvider, TypeTable backupTypeTable) at System.Management.Automation.ParameterBinderBase.CoerceTypeAsNeeded(CommandParameterInternal argument, String parameterName, Type toType, ParameterCollectionTypeInformation collectionTypeInfo, Object currentValue) — End of inner exception stack trace — at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at SolidCP.Providers.HostedSolution.Exchange2016.ExecuteShellCommand(Runspace runSpace, Command cmd, Boolean useDomainController, Object[]& errors, Boolean writeErrorExchangeLog) at SolidCP.Providers.HostedSolution.Exchange2016.ExecuteShellCommand(Runspace runSpace, Command cmd, Boolean useDomainController, Boolean writeErrorExchangeLog) at SolidCP.Providers.HostedSolution.Exchange2016.ExecuteShellCommand(Runspace runSpace, Command cmd) at SolidCP.Providers.HostedSolution.Exchange2016.CreateMailEnableUserInternal(String upn, String organizationId, String organizationDistinguishedName, String securityGroup, String organizationDomain, ExchangeAccountType accountType, String mailboxDatabase, String offlineAddressBook, String addressBookPolicy, String accountName, Boolean enablePOP, Boolean enableIMAP, Boolean enableOWA, Boolean enableMAPI, Boolean enableActiveSync, Int64 issueWarningKB, Int64 prohibitSendKB, Int64 prohibitSendReceiveKB, Int32 keepDeletedItemsDays, Int32 maxRecipients, Int32 maxSendMessageSizeKB, Int32 maxReceiveMessageSizeKB, Boolean hideFromAddressBook, Boolean IsConsumer, Boolean enabledLitigationHold, Int64 recoverabelItemsSpace, Int64 recoverabelItemsWarning) at SolidCP.Server.ExchangeServer.CreateMailEnableUser(String upn, String organizationId, String organizationDistinguishedName, String securityGroup, String organizationDomain, ExchangeAccountType accountType, String mailboxDatabase, String offlineAddressBook, String addressBookPolicy, String accountName, Boolean enablePOP, Boolean enableIMAP, Boolean enableOWA, Boolean enableMAPI, Boolean enableActiveSync, Int64 issueWarningKB, Int64 prohibitSendKB, Int64 prohibitSendReceiveKB, Int32 keepDeletedItemsDays, Int32 maxRecipients, Int32 maxSendMessageSizeKB, Int32 maxReceiveMessageSizeKB, Boolean hideFromAddressBook, Boolean isConsumer, Boolean enabledLitigationHold, Int64 recoverabelItemsSpace, Int64 recoverabelItemsWarning) — End of inner exception stack trace — at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at SolidCP.Providers.Exchange.ExchangeServer.CreateMailEnableUser(String upn, String organizationId, String organizationDistinguishedName, String securityGroup, String organizationDomain, ExchangeAccountType accountType, String mailboxDatabase, String offlineAddressBook, String addressBookPolicy, String accountName, Boolean enablePOP, Boolean enableIMAP, Boolean enableOWA, Boolean enableMAPI, Boolean enableActiveSync, Int64 issueWarningKB, Int64 prohibitSendKB, Int64 prohibitSendReceiveKB, Int32 keepDeletedItemsDays, Int32 maxRecipients, Int32 maxSendMessageSizeKB, Int32 maxReceiveMessageSizeKB, Boolean hideFromAddressBook, Boolean isConsumer, Boolean enabledLitigationHold, Int64 recoverabelItemsSpace, Int64 recoverabelItemsWarning) at SolidCP.EnterpriseServer.ExchangeServerController.CreateMailbox(Int32 itemId, Int32 accountId, ExchangeAccountType accountType, String accountName, String displayName, String name, String domain, String password, Boolean sendSetupInstructions, String setupInstructionMailAddress, Int32 mailboxPlanId, Int32 archivedPlanId, String subscriberNumber, Boolean EnableArchiving) — End of inner exception stack trace — at SolidCP.EnterpriseServer.ExchangeServerController.CreateMailbox(Int32 itemId, Int32 accountId, ExchangeAccountType accountType, String accountName, String displayName, String name, String domain, String password, Boolean sendSetupInstructions, String setupInstructionMailAddress, Int32 mailboxPlanId, Int32 archivedPlanId, String subscriberNumber, Boolean EnableArchiving) at SolidCP.EnterpriseServer.esExchangeServer.CreateMailbox(Int32 itemId, Int32 accountId, ExchangeAccountType accountType, String accountName, String displayName, String name, String domain, String password, Boolean sendSetupInstructions, String setupInstructionMailAddress, Int32 mailboxPlanId, Int32 archivedPlanId, String subscriberNumber, Boolean EnableArchiving) — End of inner exception stack trace —

mourikis answered