Problems with migra...
 
Notifications
Clear all

Problems with migrated account with Enterprise Import Tool

3 Posts
2 Users
0 Likes
1,316 Views
Posts: 62
Topic starter
(@mourikis)
Trusted Member
Joined: 8 years ago

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

2 Replies
Posts: 1964
Admin
(@m-tiggelaar)
Noble Member
Joined: 8 years ago

Hello,

The way i normally use the enterprise import tool is to:

  1. Create the user + organization inside SolidCP
  2. move the users you want to import inside the newly created OU
  3. run enterprise import tool

This way the oab, and so on are created properly.

From your error the AddressBookPolicy inside the SolidCP database is empty.

Out the top of my head this value is in the database table: ServiceItemProperties.

 

In general however especially if your existing environment is created by WSP 2.0 i would recommend to simply stick with migration (first migrate normal, then convert things to Exchange 2016 values when ready).

Regards,

Marco

Reply
Posts: 62
Topic starter
(@mourikis)
Trusted Member
Joined: 8 years ago

Thank you for the reply, fixed the problem

The property for AddressBookPolicy was blank.

I copied / pasted from the WebsitePanel Database and got it fixed.

The format of it goes like that (CAPITAL names are dummies and have to edit accordingly)

CN=COMPANY.COM ABP,CN=AddressBook Mailbox Policies,CN=MY Hosting,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=MYDOMAN,DC=COM

Reply
Share: