One potential issue is that most portable generators in the US have an internal neutral bonding jumper, that once connected to the building electrical system, creates a parallel neutral return path through the grounding system.