I don't recall Microsoft saying that they would promise to stop. What they've done instead was to act in more honorable ways. The jury is still out when it comes to forgiveness, but they've made a pretty good start at it.
It's not just a promise. They have open sourced basically all the core parts of their developer infrastructure. What twitter did was be a dick and then promise to do better whereas Microsoft is actually doing it.
Given Windows 10 and its phone home approach, they are still acting like a bad player.