 At the Foreign Ministry in Stockholm, Sandberg served as Head of the Private Office of the Minister for European Affairs and Foreign Trade, as Deputy Head of the Cabinet Offices EU Co-ordination Secretariat, as Deputy Head of the Department for International Trade Policy and as Head of Department for the EU Internal Market and for Promotion of Swedish Trade.Sandberg acted as the Head of Human Resources for the Swedish foreign service between 2008 and 2012.Following his retirement from the foreign service in 2017, he is now active as an adviser to Swedish industry.