Microsoft Graph API
- Find your tenantId https://docs.microsoft.com/en-us/onedrive/find-your-office-365-tenant-id
- Enable graph API and add an APP to allow VMS to connect to their Graph API
https://developer.microsoft.com/en-us/graph/quick-start
- Add the appropriate permissions allowing the TIKS VMS to retrieve list of users
Application User.Read.All, User.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All - Generate a Client Secret, and you should have the client_id and the client_secret
$post_params = array(
"client_id" => $clientId,
"scope" => "https%3A%2F%2Fgraph.microsoft.com%2F.default",
"client_secret" => $clientSecret,
"grant_type" => "client_credentials",
);
Please provide your TIKS account manager
- Tenant ID
- Client ID
- Client Secret
Further reference in more detail https://vincentlauzon.com/2017/01/31/using-microsoft-graph-api-to-interact-with-azure-ad/