Although diplomats could not present credentials to foreign governments until the Swedish king formally renounced his right to the Norwegian throne, a number of unofficial representatives worked on the provisional government's behalf until the first Norwegian ambassador, Hjalmar Christian Hauge, sought accreditation by the United States Secretary of State Elihu Root on November 6, 1905.
The initial purposes of the newly formed Foreign Ministry were to represent Norway's interests through diplomatic channels, and to provide consular services for Norwegian shipping and commerce overseas.
During World War I, the foreign ministry was confronted with unprecedented challenges in maintaining neutrality for Norway, in particular in order to protect its merchant fleet.
When Norway was invaded by Nazi Germany in 1940, the government fled to the United Kingdom and reconstituted in exile in Bracknell, outside London.
After the end of World War II, Norway was a founding member of the North Atlantic Treaty Organization and the United Nations, the latter having Norwegian Trygve Lie as inaugural Secretary-General.
While this is significant for a country with a small population, there are still some parts of the world for which Norway has no embassies or consultates, including states in Central Asia.