none
Side by Side migration from SCCM 2012R2 SP1 to 1702

    Question

  • Hello,



    I am currently trying to migration from 2012r2 SP1 to 1702.  I have the new site setup on new hardware with a new site code in parallel.  Both source and destination sites have been extended to AD.  Both sites have the same boundary groups and use boundary groups for site assignment based on AD sites.  All objects have been migrated over  from source to destination site. 



    Now I would like to test migrating the sccm clients over - the issue i'm running into it  is that if I manually change the site code on a test machine to point to the new site - after a period of time (<24hrs) it reverts back to the old site.  The LocationServices Log shown below is from the time it was at the new site till it reverted back to the old site.



    Assigned Site is TOC ClientLocation 11/23/2017 2:09:23 PM 7256 (0x1C58)
    Current AD forest name is *** ClientLocation 11/23/2017 2:09:39 PM 7460 (0x1D24)
    Domain joined client is in Intranet ClientLocation 11/23/2017 2:09:39 PM 7460 (0x1D24)
    Current AD forest name is *** ClientLocation 11/23/2017 3:15:28 PM 3788 (0x0ECC)
    Domain joined client is in Intranet ClientLocation 11/23/2017 3:15:28 PM 3788 (0x0ECC)
    Current AD forest name is *** ClientLocation 11/23/2017 3:20:08 PM 6812 (0x1A9C)
    Domain joined client is in Intranet ClientLocation 11/23/2017 3:20:08 PM 6812 (0x1A9C)
    Current AD forest name is *** ClientLocation 11/23/2017 4:42:44 PM 7340 (0x1CAC)
    Domain joined client is in Intranet ClientLocation 11/23/2017 4:42:44 PM 7340 (0x1CAC)
    Current AD forest name is *** ClientLocation 11/24/2017 6:58:59 AM 7140 (0x1BE4)
    Domain joined client is in Intranet ClientLocation 11/24/2017 6:58:59 AM 7140 (0x1BE4)
    Assigning client to site 'TH1' ClientLocation 11/24/2017 6:59:11 AM 988 (0x03DC)
    Getting Assigned Site ClientLocation 11/24/2017 6:59:11 AM 988 (0x03DC)
    Assigned Site is TOC ClientLocation 11/24/2017 6:59:11 AM 988 (0x03DC)
    Client is currently assigned to site 'TOC' ClientLocation 11/24/2017 6:59:11 AM 988 (0x03DC)
    Removing client site assignments ClientLocation 11/24/2017 6:59:11 AM 988 (0x03DC)
    Removed pending site assignment to 'TH1' ClientLocation 11/24/2017 6:59:11 AM 988 (0x03DC)
    Raising event:
    instance of CCM_RemoteClient_Reassigned
    {
    ClientID = "GUID:2E9A9257-FD9C-4300-9848-4C5DD6D8599F";
    DateTime = "20171124115911.357000+000";
    LastAssignedSite = "TOC";
    NewAssignedSite = "TH1";
    ProcessID = 8124;
    ThreadID = 988;
    };
    ClientLocation 11/24/2017 6:59:11 AM 988 (0x03DC)
    Client is now successfully assigned to site 'TH1' ClientLocation 11/24/2017 6:59:11 AM 988 (0x03DC)
    Discover Default MP ClientLocation 11/24/2017 6:59:11 AM 988 (0x03DC)



    My guess is this is due to the both sites publishing to AD via boundary groups.  According to other threads I have read and Microsoft articles, auto-assignment through doesn't work if a site is already assigned. This doesn't appear to be the case based on my scenario.  How insight as to how I can change the site code on a test machines without it reverting back to the old.  

    I'm sure I might have missed some information so please let me know and I can share.



    Thanks

    Arora
    Friday, November 24, 2017 7:29 PM

All replies

  • > "trying to migration from 2012r2 SP1 to 1702. "

    Why aren't you just performing an in-place upgrade that is much simpler?

    > "My guess is this is due to the both sites publishing to AD via boundary groups."

    No. Clients will never automatically switch sites as you've read.

    Do you have a GPO in place assigning the site code (which in turn sets the registry value GPRequestedSiteAssignmentCode within HKLM\SOFTWARE\Microsoft\SMS\Mobile Client)?


    Jason | https://home.configmgrftw.com | @jasonsandys

    Friday, November 24, 2017 8:58 PM
  • Hi,

    Reassign client site with a script to migrate to the new hierarchy.This script from Steve Thompson [MVP] does the trick! Reference https://stevethompsonmvp.wordpress.com/2014/03/29/script-to-change-assigned-site-code/


    Please remember to mark the replies as answers if they help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Monday, November 27, 2017 2:51 AM
  • Reassign client site with a script to migrate to the new hierarchy.This script from Steve Thompson [MVP] does the trick! Reference https://stevethompsonmvp.wordpress.com/2014/03/29/script-to-change-assigned-site-code/ 

    No it won't if a GPO is in place -- at least not permanently. 

    Jason | https://home.configmgrftw.com | @jasonsandys

    Monday, November 27, 2017 3:43 AM
  • >Why aren't you just performing an in-place upgrade that is much simpler?

    decided to go for a side by side migration as we needed to upgrade the server OS as well - figured this would be a more phased and controlled approach.  

    >Do you have a GPO in place assigning the site code (which in turn sets the registry value GPRequestedSiteAssignmentCode within HKLM\SOFTWARE\Microsoft\SMS\Mobile Client)?

    there is no GPO to assign the site and I have confirmed this as the registry key doesn't exist on the test machine.  The site is being assigned through AD publishing.  

    "No. Clients will never automatically switch sites as you've read."

    Yes, but that is happening on this test machine as can be seen in the logs.  I am looking into turning off site-assignment through AD for the source site.  Would that viable option?

    Monday, November 27, 2017 3:12 PM
  • I have tried running the script linked below to change the site code and it changes the site code but the site still reverts back.

    https://gallery.technet.microsoft.com/scriptcenter/Change-sccm-configmgr-cf6e0327

    Monday, November 27, 2017 3:14 PM
  • I am having the same issue. Was this resolved? 
    Monday, February 19, 2018 8:19 PM