My searches for this have come back completely in vain, I'm not even sure if it's possible.
This is entirely possible in Powershell, and I already do this in Powershell but I want to write a C# program to perform certain tasks and cannot find which API would perform these kinds of tasks:
1) Get licensing information for all users and their assigned plans
2) Get a list of all mailboxes and e-mail addresses for a particular Office 365 Tenant.
Easy to do in Powershell, but is there any kind of API that will do these type of overall management tasks?! If there is, I can't find it so any direction would be helpful