Hi All,
I am getting a error as below,
A user with the specified SID could not be found in the domain.
Check the spelling of the account name 'domain\usersAMAccountName' and try again.
- at Microsoft.Office.Server.UserProfiles.UserProfileGlobal.GetSidFromAccount(String strAccountName, SID_NAME_USE[] IntendedAccountType, SID_NAME_USE& sidUse)
at Microsoft.Office.Server.UserProfiles.UserProfileGlobal.GetSidFromAccount(String strAccountName)
at Microsoft.Office.Server.UserProfiles.UserProfileGlobal.GetSidFromAccount(UserProfileApplicationProxy proxy, Guid partitionID, String strAccountName, Boolean isWindowsAccount)
at Microsoft.Office.Server.UserProfiles.UserProfile.set_SID()
at Microsoft.Office.Server.UserProfiles.UserProfile..ctor(UserProfileManager objManager, String strAccountName, String strPreferredName)
at Microsoft.Office.Server.UserProfiles.UserProfileManager.CreateUserProfile(String strAccountName, String strPreferredName)
at Microsoft.Office.Server.UserProfiles.UserProfileManager.CreateUserProfile(String strAccountName)
Any help?
Thanks,
Mohakk