According to MSNBC, sources from State, Homeland Security, etc., are saying they are “scrambling,” that “We have no idea what’s going on,” and that they were not consulted on this at all. And on cue, from a background briefing with the “senior administration official”:
The official said that Trump advisers had been in contact for many weeks with key State Department and Department of Homeland Security officials about Friday's executive order.
Shorter version: Liars.