See Also
You cannot change a primary key of a table in a partial replica unless it has no references to it.