Microsoft has laid off hundreds of employees over the past few months as part of a broader restructuring exercise.