Spicer, it was reported, did not like the appointment of Scaramucci and this was the reason he has stepped down. The communications director reports only to the president, not to the Press Secretary.
There is no official word as to what Sarah Huckabee Sanders' role will be in the future.
Apparently, there was a lot of pushback by Reince Priebus and Steve Bannon against the hiring of Scaramucci, but it's now a 'done deal' and Spicer is gone.
There is yet to be official word from the White House, but several major media sources have confirmed Spicer's resignation and Scaramucci's appointment.
This is a developing story, so stay tuned.
UPDATE: Sarah Huckabee Sanders will be the White House Press Secretary. The announcement came from Anthony Scaramucci during a question-answer session.