As an intern i'm working on a WPF application that can manage a company's layer on top of Windows Azure.
This layer provides a more user-friendly interface for clients without knowledge about Azure and its services.
To add new clients to the service it's required that the provided 'service account' has co-administrator rights on the subscription.
How can i verify if a user, with username and password provided is co-administrator on a subscription (also provided) without manually opening the portal and check the subscription administrators?
I've tried the solutions on the following links already but they didn't provided a way to do this.
http://justazure.com/azure-active-directory-part-5-graph-api/
http://www.bradygaster.com/post/using-windows-azure-active-directory-to-authenticate-the-management-libraries