Failed to Upgrade User Profile from Sharepoint 2010 to Sharepoint 2013

I have upgraded the MMS service successfully. I tried to upgrade the user profile service from SharePoint 2010 to SharePoint 2013 farm using PowerShell script.
$applicationPool = New-SPServiceApplicationPool -Name "User Profile App Pool" -Account "Domain\accountname"
$upa = New-SPProfileServiceApplication -Name 'User Profile Service Application' -ApplicationPool $applicationPool -ProfileDBName 'SharePoint_ProfileDB' -SocialDBName 'SharePoint_SocialDB' -ProfileSyncDBName 'SharePoint_SyncDB'
Error in powersehell
New-SPProfileServiceApplication : Action 15.0.42.0 of
Microsoft.Office.Server.Upgrade.ProfileDatabaseSequence failed.
At line:1 char:8
+ $upa = New-SPProfileServiceApplication -Name 'User Profile Service
Application'  ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
    + CategoryInfo          : InvalidData: (Microsoft.Offic...viceApplication:
   SPCmdletNewProfileServiceApplication) [New-SPProfileServiceApplication], S
  PUpgradeException
    + FullyQualifiedErrorId : Microsoft.Office.Server.UserProfiles.PowerShell.
   SPCmdletNewProfileServiceApplication
ULS Log
PartitionPropertiesCache.RefreshPartitionProperties: Encountered error: System.InvalidOperationException: Operation is not valid due to the current state of the object.   
 at Microsoft.Office.Server.Administration.UserProfileApplication.PartitionPropertiesCache.get_SqlSession()   
 at Microsoft.Office.Server.Administration.UserProfileApplication.PartitionPropertiesCache.RefreshPartitionProperties()
Can anyone explain, why I am getting this error.   Thanks. 

Hi Rashid,
Before Creating the Service Application, User Profile Service should be started as Central Administration -> Manage Services on server -> Start User Profile Service.
After the serivce is started, then test again, compare the result.
Also, you can upgrade User Profile service as the following article:
http://somethingaboutsharepoint.blogspot.com/2013/04/sharepoint-user-profile-service.html
In addition, here are two similar posts for this issue, please check if they are useful for you:
http://blogs.technet.com/b/saantil/archive/2013/03/31/sp-2013-error-when-upgrading-the-user-profile-service-application.aspx
http://blogs.architectingconnectedsystems.com/blogs/cjg/archive/2014/12/10/Action-15.0.14.0-of-Microsoft.Office.Server.Upgrade.ProfileDatabaseSequence-failed.aspx
Best Regards,
Wendy
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]

Similar Messages

  • User migration from Lync 2010 to Lync 2013

    We have Lync 2013 pool co-existence with Lync 2010 pool. Need to move users based on their AD Group membership. In a particular AD group, only few of the users are enabled for LYNC 2010, not all users. How to get the list of only Lync enabled users in AD
    group and move them on to Lync 2013 by PowerShell script?
    Thanks in advance for your help
    Tek-Nerd

    When I ran the below command
    Get-ADGroupMember Mygroup | where {$_.msRTCSIP-UserEnabled -eq "true"}
    on my Lync 2013 server, got the below error message...
    At line:1 char:46
    + Get-ADGroupMember MyGroup | where {$_.msRTCSIP-UserEnabled -eq "true"}
    +                                             
    ~~~~~~~~~~~~
    Unexpected token '-UserEnabled' in expression or statement.
    At line:1 char:59
    + Get-ADGroupMember MyGroup | where {$_.msRTCSIP-UserEnabled -eq "true"}
    +                                                          
    ~~~
    Unexpected token '-eq' in expression or statement.
        + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordExcep
        + FullyQualifiedErrorId : UnexpectedToken
    Tek-Nerd

  • User profiles from Active directory when loggedin then userdisplay, useredit shows blank white screen in SharePoint 2013

    User profiles from Active directory when loggedin then userdisplay, useredit shows blank white screen in SharePoint 2013 
    I can login with the these AD users and AD direct import is working just fine. We are not using UPS.
    With admin user when I click on the user it shows up proper data. But when I login with the same user it does not show me userdisplay/useredit and shows blank data. Also another strange thing is when I add new item in list with these AD users created by
    modified by is blank and its really strange. I checked user information list, tried to rerun user sync with direct AD import option but no success.
    MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead

    Hi Amit,
    According to your description, my understanding is that the page is blank when the use accessed /_layouts/15/userdisp.aspx and the created by field was blank when the user created a new list item in SharePoint 2013.
    I tested the same scenario per your post, however I cannot reproduce your issue.
    For troubleshooting this issue, I recommend to verify the things below:
    Check the permission of the user in the corresponding site collection to see if he can access /_layouts/15/userdisp.aspx.
    Delete the user from AD and SharePoint, then re-add the user to AD and grant proper permission to the user in SharePoint to see if the issue still occurs.
    Did this issue occur with all the users? Add a new user in AD and test the same scenario.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Issue with list saving data after sites upgrade from sharepoint 2010 to sharepoint 2013

    Issue with list saving data after sites upgrade from sharepoint 2010 to sharepoint 2013 
    Newform.aspx of list:-
    Custom List is not saving data sometimes in the new form after 15 minutes and only blank entry record got created without saving data, even though some columns are mandatory fields?

    Hello dcakumar,
    Sounds like a strang issue. If you can reproduce this can you see some errors in the ULS logs?
    - Dennis | Netherlands | Blog |
    Twitter

  • How to import user profiles from external sources(other than AD) into SharePoint

    Hi,
    I want to import user profiles from external sources other than AD.
    Badri

    You have to use BCS for importing the profiles,
    Check the following link with explanations
    http://msdn.microsoft.com/en-us/magazine/ee819133.aspx
    Please Mark it as answer if this reply helps you in resolving the issue,It will help other users facing similar problem

  • After Migrating from Sharpoint 2010 to Sharepoint 2013 list filter options changed

    Hi All,
    After migrating from SP 2010 to SP2013 i found list View filter option is changed and filter is not working Pls help its really urgent.... you can check field 1 and field 2 in following screen shot.
    Prasad kambar

    Hi  ,
    According to your description, my understanding is that your list filter cannot work after Migrating from SharePoint 2010 to SharePoint 2013.
    For your issue, please check your log files for any issues. Also you can refer to the blogs for troubleshooting SharePoint 2013 migration:
     Firstly try running Test-SPContentDatabase on your source database for any issues -
    Test-SPContentDatabase - http://technet.microsoft.com/en-us/library/ff607941.aspx
    Troubleshoot site collection upgrade issues in SharePoint 2013 http://technet.microsoft.com/en-us/library/jj219648.aspx
    Verify database upgrades in SharePoint 2013 -http://technet.microsoft.com/en-us/library/cc424972.aspx
    And please have a look at your custom solution on your site.
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How to fix Workflow failed to get user profile for user:

    hi All,
    How to fix Workflow failed to get user profile for user when using Lookup function in sharepoint designer?

    Try to use “As string” instead of “Login Name” for the “Return field as”.
    Regards,
    Jayant
    jayant prabhakar

  • Worflow failed to get user profile for user

    I have a workflow that sends an email to a user.  In the workflow email, one line has the lookup [%User Profiles:Name%], with Return field "As String" of the list item Field "Account Name" with Value "Current Item:Created By".
    This workflow works for everyone, except it Errors when one user creats an item in this list.  The error is "Workflow failed to get user profile for user...  System Account - An error has occurred in Workflow Name"
    and more detailed error found in logs: "AutoStart Workflow: Microsoft.SharePoint.SPException: Recursive workflows are not permitted.     at Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver.<>c__DisplayClass1.<AutoStartWorkflow>b__0(SPSite
    superUserSite, SPWeb superUserWeb)
    System.InvalidOperationException: Workflow failed to get user profile for user:domainName\username.     at Microsoft.Office.Workflow.Actions.UserProfileHelper.GetProfile(String propertyName, String user)     at Microsoft.Office.Workflow.Actions.ProfileHelperBase.GetProfileString(String
    propertyName, String userOrOrganization)     at Microsoft.Office.Workflow.Actions.GetUserProfileActivity.Execute(ActivityExecutionContext context)     at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity,
    ActivityExecutionContext executionContext)     at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(Activity activity, ActivityExecutionContext executionContext)     at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime
    workflowCoreRuntime)     at System.Workflow.Runtime.Scheduler.Run()  "
    When I run "get-addomain -identity [FQDN]", I noticed that our DNSRoot has a totally different name than our NetBIOSName, so I followed this article and made sure to set netbiosdomainnamesenabled to TRUE:
    http://meandmysharepoint.blogspot.ca/2012/09/netbiosdomainnamesenabled-and.html
    To give you an idea of our setup, our DNSRoot is "abc.domain.com" and our NetBIOSName is "TESTING"; 2 totally different names.  When I run "get-addomain -identity [FQDN]", the Name field is: "abc" (just the first
    part of the DNSRoot); therefore, when I look up this user's profile in Sharepoint Manage User Profiles, his account shows as "abc\username" when it should be "TESTING\username".
    I did an IISReset, and I ran a Full Profile Sync. But the workflow still Errors for this user.
    Any ideas how to fix this?  Should I delete MySites and User Profile Service application and recreate them?
    Any tips would be appreciated.
    thanks!

    Hi,
    According to your description, my understanding is that the error occurred when sending an email to the user in workflow.
    Did you delete the existing Connections before setting NetBiosDomainNamesEnabled?
    If not, I recommend to delete and recreate your AD connections, then set NetBiosDomainNamesEnabled to true.
    Or you can delete the original User Profile Service Application and create a new one, then set the NetBiosDomainNamesEnabled to true and start the User Profile Service Application
     synchronization.
    More reference:
    http://social.technet.microsoft.com/wiki/contents/articles/18060.sharepoint-20xx-what-if-the-domain-netbios-name-is-different-than-the-fqdn-of-the-domain-with-user-profile.aspx
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Error - The registration of the service "User Profile Service" has failed. The user profile can not be loaded

    I am running an environment with an Active Directory and Terminal Servers.
    I have searched high and low for resolutions to this error but I cannot find anything related to my situation, let me explain further.
    The fixes I found are related to local users only.
    When I create a new user in the Active Directory I provide the paths to the profile folder in the "Remote Desktop Profile" and "Profile tab"  lets say for example \\ad001\home\%username% and \\ad001\profil\%username% .
    I give rights to the user to read/write the "home" folder which is mapped for folder redirection.  An I know that when the user first logs on it should create a "v2.%username%" folder upon successful logon.  This is when I am
    presented with the error message below:
    "The registration of the service "User Profile Service" has failed. 
    The user profile can not be loaded"
    Does anyone have any experience with this or know a suitable fix.  Again this is for the "Roaming" profile creation no local.
    Many thanks in advance.

    Hi,
    Thank you for posting in Windows Server Forum.
    Did you receive for any one user or for all users?
    Have you tried to solve the issue by fixing the user account profile?
    For that you can adjust the registry setting “ProfileImagePath” with
    particular SID of that user under below mention path.
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
    Also if this can’t resolve the issue you can try to delete the SID of that user or renaming the old and and then check the result again by creating new profile for that users.
    More information.
    You receive a "The User Profile Service failed the logon” error message
    http://support.microsoft.com/kb/947215
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • The user profile service service failed to logon user profile cannot be loaded on Windows 7 Home Premium

    Good Afternoon Everyone,
    I am not technologically savvy as a result I'm having trouble understanding previous posts on "The user profile service service failed to logon user profile cannot be loaded." Lingo on domain reset etc, not sure that this pertains to solving my  issue
    ... I cant even get pass the sign in page let alone make changes. I am having this issue with my Dell Studio XPS 1340 with Windows 7 Home Premium. If anyone can provide their two cents I would greatly appreciate.
    Very Respectfully,
    Jesse

    "Jesse.soto1" wrote in message news:1e164fdf-7370-45c0-9bc7-3b58278121c3...
    Good Afternoon Everyone,
    I am not technologically savvy as a result I'm having trouble understanding previous posts on "The user profile service service failed to logon user profile cannot be loaded." Lingo on domain reset etc, not sure that this pertains to solving my  issue
    ... I cant even get pass the sign in page let alone make changes. I am having this issue with my Dell Studio XPS 1340 with Windows 7 Home Premium. If anyone can provide their two cents I would greatly appreciate.
    Very Respectfully,
    Jesse
    Home Premium cannot logon to a Domain, nor can it be set to try it.
    when you get the logon window, try hitting the three-finger salute )Ctrl+Alt+Del) twice – it may bring up the old-style login window – enter your credentials there.
    Noel Paton | Nil Carborundum Illegitemi |
    CrashFixPC | The Three-toed Sloth

  • OBIEE 10g Copy user profile from one Env to another Env

    Hi All,
    I have to copy an user profile from DEV to SIT.
    It has so many components. I have copied the following components from DEV to SIT. but i am getting an access errors. could you please help me find out what am i missing?. I also tried by deleting user1.atr on Target Server.
    web\catalog\DEV_REPO\root\users\user1                -- folder
    web\catalog\DEV_REPO\root\users\user1.atr           --file
    Error:
    Assertion failure: pRoot at line 107 of ./project/webxml/xmldocument.cpp
        Error Details: Error Codes: OQ78YWIW
    Regards,
    Suresh

    How are you friend
    by this time you might have checked this OBIEE - Oracle Business Intelligence 911: OBIEE 10g Error from Dashboard layout

  • Migrating from SP 2010 to SP 2013

    I m new to sharepoint and our new project requirement is to migrate the contents from SP 2010 to SP 2013. we r not going to use any tools , so if we go manually what would be the approach to migrate the custom data to the next version. there is lot of custom
    data like features, event recievers, webparts that we have to take care of . do we have to code them again or what . 
    in depth reply or even some forums link will do . thanks

    Check out
    http://www.falconitservices.com/support/KB/Lists/Posts/Post.aspx?ID=124
    All customizations will have to be tested again  though, you can't expect them to work correctly. I would start by creating a list of customizations that have to be upgraded and still need to be supported
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • Exchange 2013 - can no longer move mailboxes from Exchange 2010 to Ex 2013.

    Migrating to Exchange 2013 from Exchange 2010. Created Ex 2013, moved some mailboxes OK. Then could no longer move mailboxes. No errors. The Migration email says complete. Synced: none, Total Mailboxes: none.
    Tried several mailboxes. Same result.
    Ex 2010 is SP3 RU6, (at least it says RU6 is installed in Programs/Features. The build is for SP3 w/o RU6???)
    Ex 2013 is SP1 aka CU4.
    How to proceed???
    john11

    After many attempts to fix the issue (move remaining 4 mailboxes from Exchange 2010 to Exchange 2013) I contacted Microsoft and we resolved the issue. Here's how.
    btw - Thanks for the suggestions from Ed. However, they did not seem to move us forward.
    What did work:
    1. On the Exchange 2010 box, create a new database. (Someone else suggested this also). Then move the remaining Exchange 2010 mailboxes to this new db. Then after that, move the 4 mailboxes to Exchange 2013 using the GUI on Ex 2013. This only worked for one
    of the four mailboxes. The other 3 failed.
    2. Apparently, we need to restart the Microsoft Exchange Mailbox Replication service on the Exchange 2013 after several failed move attempts to clear cache related to the moves.
    3. Then on the Exchange 2013 box, use this Exchange shell command:
    New-MoveRequest -identity "[email protected]" -TargetDatabase "Exchange 2013 DB name" -BadItemLimit '500' -verbose
    This moved the remaining 3 mailboxes including the Discovery mailbox. It took some time. But we could check the progress using
    Get-MoveRequest
    The MS Tech was terrific. Really knew his stuff. And all mailboxes are on Exchange 2013. Well, the last one is still moving, but I am optimistic.
    Thanks for the suggestions. I had to get this done and the MS Tech made that happen. 
    john11

  • Change GUIDs when migrating from SP 2010 to SP 2013?

    When migrating custom list schema from SP 2010 to SP 2013, do I need to change the GUIDs for all the fields or can I use them as is?
    Thank you!

    Hi,
    After migrating SharePoint 2010 to SharePoint 2013, all the GUIDs of the sites and lists would change.
    If you just wanted to use the list in the site, it would have no impact on the lists, all the custom lists would work well.
    However, if you have some functions or solutions based on the GUIDs of the lists, you should change all the GUIDs for all the solutions.
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Comparing-the-differences-between-anti-spam-agents-from-exchange-2010-to-exchange-2013

    http://social.technet.microsoft.com/wiki/contents/articles/23582.comparing-the-differences-between-antispam-agents-from-exchange-2010-to-exchange-2013.aspx
    Sathish

    Hello,
    This forum is for discussions and questions regarding profiles and Microsoft's recognition system on the MSDN and TechNet sites. It is not for products/technologies.
    As it's off-topic here, I am moving the question to the
    Where is the forum for... forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

Maybe you are looking for