Though the overall patent activity by the giant has dramatically changed over the last decade. However, if we compare the granted patents by USPTO of 2010 with 2018 then the count has been declined by 10%.
However, Microsoft gained its 4th position back in 2019 by issuing 3081 patents after almost a decade.
The chart below helps you get the exact number:
The chart below represents the top 5 technology areas where Microsoft won maximum patents in 2019.