Carbon credits aren't really much of a thing any more in high tech although they've definitely relied on them in the past. And which data center is Microsoft building that will run on coal? I haven't heard of that but if you have a link maybe I can learn something today.
They recently stated that by 2025 they'll run on 100 percent renewable energy, and by 2030 they will go diesel-free as well (for the backup generators). By 2050 they also have a goal to literally remove all the carbon from the atmosphere that the company has emitted since its founding in 1975, and that includes their supply chain as well. Will they reach that goal? Time will tell but some of those carbon removal activities have already started. Microsoft isn't the only one with these types of goals either.
This is all real and it's happening today. There is no slight of hand conspiracy to simply rearrange the deck chairs while we continue to literally pump trillions of pounds of carbon into the atmosphere each year hoping it'll have no impact. Tractors will evolve and diesel engines will soon die ( <- staying on topic! ) but I see that as a good thing for reasons already stated. In the meantime I'll continue to drive my diesel tractor and my gas guzzling truck and enjoy every minute of it but I anticipate they'll be the last fossil fueled vehicles I will ever own.