No reason was given for the removal of Mohammed al- Tobayshi as head of royal protocol in a decree published by the official SPA news agency.
It also said that Khalid bin Saleh Alabbad has been appointed as chief of the Royal Protocols at the rank of minister.
TV footage seemingly showed Tobayshi hitting the photographer while King Salman greeted Morocco's King Mohammed at Riyadh airport on Sunday, the BBC reported.
Last month, King Salman banned a senior member of the royal family, Prince Mamdouh bin Abdul Rahman, from taking part in all sports activities and speaking to the media after he made remarks considered racist during a TV talk show.
Salman was crowned as the new king of Saudi Arabia on January 23 this year following the death of his half brother, King Abdullah.