Synchronization.Read.All
Allows the application to read Azure AD synchronization information, without a signed-in user.
Permission Details
Read all Azure AD synchronization data.
Allows the application to read Azure AD synchronization information, without a signed-in user.
5ba43d2f-fa88-4db2-bd1c-a67c5f0fb1ce
Read all Azure AD synchronization data
Allows the app to read Azure AD synchronization information, on behalf of the signed-in user.
7aa02aeb-824f-4fbe-a3f7-611f751f5b55
Properties
Properties is shown from stable Microsoft Graph v1.0 metadata.
| Property | Type | Description |
|---|---|---|
id |
string |
The unique identifier for an entity. Read-only. |
jobs |
synchronizationJob collection |
Performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory. |
secrets |
synchronizationSecretKeyStringValuePair collection |
Represents a collection of credentials to access provisioned cloud applications. |
templates |
synchronizationTemplate collection |
Preconfigured synchronization settings for a particular application. |
JSON Representation
JSON representation is shown from stable Microsoft Graph v1.0 metadata.
{
"id": "String",
"jobs": [
{
"@type": "synchronizationJob",
"id": "00000000-0000-0000-0000-000000000000"
}
],
"secrets": [
{
"@type": "synchronizationSecretKeyStringValuePair",
"id": "00000000-0000-0000-0000-000000000000"
}
],
"templates": [
{
"@type": "synchronizationTemplate",
"id": "00000000-0000-0000-0000-000000000000"
}
]
}
Relationships
Relationships is shown from stable Microsoft Graph v1.0 metadata.
| Relationship | Type | Description |
|---|---|---|
jobs |
synchronizationJob collection |
Synchronization jobs configured for the resource. |
templates |
synchronizationTemplate collection |
Synchronization templates available for the resource. |
secrets |
synchronizationSecretKeyStringValuePair collection |
Represents a collection of credentials to access provisioned cloud applications. |
Graph Methods
Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph PowerShell v1.0 commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Microsoft Graph PowerShell beta commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Code Examples
// 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.ServicePrincipals["{servicePrincipal-id}"].Synchronization.Jobs["{synchronizationJob-id}"].GetAsync();
const options = {
authProvider,
};
const client = Client.init(options);
let synchronizationJob = await client.api('/servicePrincipals/{id}/synchronization/jobs/{jobId}/')
.get();
Import-Module Microsoft.Graph.Applications
Get-MgServicePrincipalSynchronizationJob -ServicePrincipalId $servicePrincipalId -SynchronizationJobId $synchronizationJobId
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
result = await graph_client.service_principals.by_service_principal_id('servicePrincipal-id').synchronization.jobs.by_synchronization_job_id('synchronizationJob-id').get()
App Registration
Navigate to Azure Portal
Go to App registrations in Microsoft Entra admin center
Add API Permission
Select your app → API permissions → Add a permission → Microsoft Graph
Select Permission Type
Choose Application permissions or delegated permissions and search for Synchronization.Read.All
Grant Admin Consent
Application permissions always require admin consent.