Microsoft is reportedly planning to invest $2.4 billion (EUR 2.2 billion) to build a data center in northeastern Spain, adding to the series of investments by the US software giant in the country.