I have two sub-sites set up in configuration manager. When the SCCM agent installs on the client machines within the boundaries of those sub sites they are assigned the site code of the Primary site, not the sub site code.
As a result their management server remains the main server not the sub site server.
I am setting up thes sub sites on cross WAN locations to cut down on traffic.
What could be preventing the clients from getting associated with the proper sub site code.