GET https://graph.microsoft.com/beta/education/synchronizationProfiles/{id}/profileStatus
// Code snippets are only available for the latest version. Current version is 5.x
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Education.SynchronizationProfiles["{educationSynchronizationProfile-id}"].ProfileStatus.GetAsync();
// THE CLI IS IN PREVIEW. NON-PRODUCTION USE ONLY
mgc-beta education synchronization-profiles profile-status get --education-synchronization-profile-id {educationSynchronizationProfile-id}
// Code snippets are only available for the latest version. Current version is 6.x
GraphServiceClient graphClient = new GraphServiceClient(requestAdapter);
EducationSynchronizationProfileStatus result = graphClient.education().synchronizationProfiles().byEducationSynchronizationProfileId("{educationSynchronizationProfile-id}").profileStatus().get();
HTTP/1.1 200 OK
Content-type: application/json
{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#education/synchronizationProfiles/{id}/profileStatus/$entity",
"id": "86904b1e-c7d0-4ead-b13a-98f11fc400ee",
"status": "inProgress",
"lastSynchronizationDateTime": "2021-07-13T20:55:17.6475128Z",
"lastActivityDateTime": "2021-07-13T20:55:17.6475128Z",
"errorCount": 0,
"statusMessage": "Processed 0 in the last hour.\r\nUpdated 0 in the last hour."
}