If the Master switch is ON (ie both BATT and ALT together) when ground power is attached and the engine is cranked, I am led to believe this will fry your alternator over time. The more technically brilliant may be able to explain or deny this.
Hence I concur with the other posters; master switch off for ground power starts; disconnect ground power; master switch on. That's the Piper POH procedure.