域之间的用户迁移问题 [英] User migration issue between domains

查看:52
本文介绍了域之间的用户迁移问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我们正在使用STSADM和Move-SPUSer powershell命令将用户从一个域(ABC)迁移到另一个域(XYZ).

最近,我们遇到了很少的用户问题.尝试使用上述命令迁移用户时,抛出以下消息:

"属性值无效.  这可能是由于无效的非文本字符引起的"

在ULS日志中,记录以下消息:

UserProfile.Commit失败,原因如下:System.InvalidCastException:指定的强制转换无效. Microsoft.Office.Server.UserProfiles.ProfileValueCollectionBase.GetTaxonomyTermIds()上的Microsoft.Office.Server.UserProfiles.ProfileUpdateWrapperBase.AddProperty(ProfileValueCollectionBase propValue,Privacy隐私)   在计算帐户"abc \ user"的属性SPS-JobTitle时,请在Microsoft.Office.Server.UserProfiles.UserProfile.Commit(Boolean allowUnsafeUpdates)处执行以下操作:在Checkpoint添加属性以更新集合. igrateAccount: 将"abc \ user"迁移到"xyz \ user"时发生异常:Microsoft.Office.Server.UserProfiles.InvalidValueException:属性值无效.  这可能是由于无效的非文本字符引起的.在Microsoft.Office.Server.UserProfiles.UserProfile.Commit(Boolean allowUnsafeUpdates)   在Microsoft.Office.Server.Administration.AccountMigrationManager.MergeProfileData(UserProfile oldUserProfile,UserProfile newUserProfile)处 在Microsoft.Office.Server.Administration.AccountMigrationManager.MigrateUserForOnePartition(Guid partitionID,UserProfileApplicationProxy upaProxy,字符串strOldAccountName,字符串strNewAccountName,IEnumerable`1 allowedOldBinaryIds,Byte [] newBinaryId)

当我们在DEV SharePoint环境中执行相同的命令时,用户成功迁移到XYZ域,而没有上述任何错误.

非常感谢您的帮助.

谢谢!

解决方案

对于此问题,请检查用户属性.

检查所需的属性是否具有值,并且该属性值无效.

最好的问候,

Linda Zhang


Hello,

We are using STSADM and Move-SPUSer powershell commands to migrate users from one domain (ABC) to another domain (XYZ).

Recently, we are having issues with few users. When trying to migrate the users with above commands, following message is thrown out:

"The property value was invalid.  This could be caused by invalid non-text characters"

In ULS logs, following messages are logged:

UserProfile.Commit failed with the following reason: System.InvalidCastException: Specified cast is not valid. at Microsoft.Office.Server.UserProfiles.ProfileValueCollectionBase.GetTaxonomyTermIds()at Microsoft.Office.Server.UserProfiles.ProfileUpdateWrapperBase.AddProperty(ProfileValueCollectionBase propValue, Privacy privacy)     at Microsoft.Office.Server.UserProfiles.UserProfile.Commit(Boolean allowUnsafeUpdates) while computing Property SPS-JobTitle for Account "abc\user" at Checkpoint Adding Property to update collection. igrateAccount: an exception occurred while migrating 'abc\user' to 'xyz\user': Microsoft.Office.Server.UserProfiles.InvalidValueException: The property value was invalid.  This could be caused by invalid non-text characters. at Microsoft.Office.Server.UserProfiles.UserProfile.Commit(Boolean allowUnsafeUpdates)     at Microsoft.Office.Server.Administration.AccountMigrationManager.MergeProfileData(UserProfile oldUserProfile, UserProfile newUserProfile)     at Microsoft.Office.Server.Administration.AccountMigrationManager.MigrateUserForOnePartition(Guid partitionID, UserProfileApplicationProxy upaProxy, String strOldAccountName, String strNewAccountName, IEnumerable`1 allowedOldBinaryIds, Byte[] newBinaryId) 

When we executed the same command in DEV SharePoint environment, user was migrated successfully to the XYZ domain wthout any errors like above.

Really appreciate your help on this.

Thanks!

解决方案

Hi scks,

For this issue, please check the user properties.

Check whether the required properties have values, and the property values are invalid.

Best Regards,

Linda Zhang


这篇关于域之间的用户迁移问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆