I think that would be illegal, since it looks like Microsoft has there own Charity.. Then you're using their name to get money for your charity.
I do think it's legal to register domains as, MicrosoftOfficeTutorials, because you're not representing Microsoft themselves but making a website about Microsoft.
Keep in mind that this is what I think and I could be very very wrong...
You would be cybersquatting if you tried to sell the domain. That would be more blatant example. My guess is they would just require you to not use it and not seek the statutory damages.
Keep in mind that this is just an opinion about a legal issue and is worthless if used as advice...
Best rule-of-thumb is to check to see if the name contains tm'd terms before you register it and avoid registering those that do. For US trademarks, you can look this up at USPTO.gov.
In general, don't reg. names containing the name of a company, product or famous person or group (band, sports team, etc.) if you want to avoid trouble. Some companies are more aggressive about policing their trademarks than others - Microsoft is one of them. Don't mess with them.
Generic and descriptive names are GENERALLY safe, but always look them up even if you THINK the name is generic. I know of at least one instance where a very determined company managed to get a registered tm on a descriptive/generic term (after the USPTO rejected it several times on those very same grounds) because they spent (what I assume was) a small fortune on lawyers who produced reams of paperwork supporting their case.
If you're not sure about a particular name, ask a lawyer. Advice from anyone else is just an opinion and could very well be wrong!..
You can buy a domain name with microsoft name but you should not use their logo or products in your website without proper license..
Normally do not buy specific or direct names that points to a company, institute, celebrity, or a country's government etc. In all such grounds, you can be sued on ground of using a company or celebrity name illicitly...