Sample code for 30+ languages & platforms
PHP

Azure OAuth2 Examples for Chilkat2 PHP