The 10 year agreement will see Microsoft get 100 percent of the energy produced by an onshore wind farm.