With the API, your apps can do the following programmatically:
getAllUsers |
Retrieve a list of all user objects.
|
getProfile |
Retrieve the properties and relationships of the signed in user.
|
getSpecificProfile |
Retrieve the properties and relationships of a specific user.
|
Check out the Microsoft Graph API documentation.