Skip to content

Latest commit

 

History

History
455 lines (352 loc) · 11.2 KB

File metadata and controls

455 lines (352 loc) · 11.2 KB
document type cmdlet
external help file Microsoft.Graph.Applications-Help.xml
HelpUri https://learn.microsoft.com/powershell/module/microsoft.graph.applications/find-mgserviceprincipalsynchronizationjobschemadirectory
Locale en-US
Module Name Microsoft.Graph.Applications
ms.date 04/03/2026
PlatyPS schema version 2024-05-01
title Find-MgServicePrincipalSynchronizationJobSchemaDirectory

Find-MgServicePrincipalSynchronizationJobSchemaDirectory

SYNOPSIS

Discover the latest schema definition for provisioning to an application.

Note

To view the beta release of this cmdlet, view Find-MgBetaServicePrincipalSynchronizationJobSchemaDirectory

SYNTAX

Discover (Default)

Find-MgServicePrincipalSynchronizationJobSchemaDirectory -DirectoryDefinitionId <string>
 -ServicePrincipalId <string> -SynchronizationJobId <string> [-ResponseHeadersVariable <string>]
 [-Break] [-Headers <IDictionary>] [-HttpPipelineAppend <SendAsyncStep[]>]
 [-HttpPipelinePrepend <SendAsyncStep[]>] [-Proxy <uri>] [-ProxyCredential <pscredential>]
 [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [<CommonParameters>]

DiscoverViaIdentity

Find-MgServicePrincipalSynchronizationJobSchemaDirectory -InputObject <IApplicationsIdentity>
 [-ResponseHeadersVariable <string>] [-Break] [-Headers <IDictionary>]
 [-HttpPipelineAppend <SendAsyncStep[]>] [-HttpPipelinePrepend <SendAsyncStep[]>] [-Proxy <uri>]
 [-ProxyCredential <pscredential>] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm]
 [<CommonParameters>]

ALIASES

This cmdlet has the following aliases, {{Insert list of aliases}}

DESCRIPTION

Discover the latest schema definition for provisioning to an application.

Permissions

Permission type Permissions (from least to most privileged)
Delegated (work or school account) Directory.ReadWrite.All,
Delegated (personal Microsoft account) Not supported
Application Application.ReadWrite.OwnedBy, Directory.ReadWrite.All,

EXAMPLES

Example 1: Code snippet

Import-Module Microsoft.Graph.Applications

Find-MgServicePrincipalSynchronizationJobSchemaDirectory -ServicePrincipalId $servicePrincipalId -SynchronizationJobId $synchronizationJobId -DirectoryDefinitionId $directoryDefinitionId

This example shows how to use the Find-MgServicePrincipalSynchronizationJobSchemaDirectory Cmdlet.

PARAMETERS

-Break

Wait for .NET debugger to attach

Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases:
- cf
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-DirectoryDefinitionId

The unique identifier of directoryDefinition

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: Discover
  Position: Named
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-Headers

Optional headers that will be added to the request.

Type: System.Collections.IDictionary
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: true
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-HttpPipelineAppend

SendAsync Pipeline Steps to be appended to the front of the pipeline

Type: Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-HttpPipelinePrepend

SendAsync Pipeline Steps to be prepended to the front of the pipeline

Type: Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Type: Microsoft.Graph.PowerShell.Models.IApplicationsIdentity
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: DiscoverViaIdentity
  Position: Named
  IsRequired: true
  ValueFromPipeline: true
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-Proxy

The URI for the proxy server to use

Type: System.Uri
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-ProxyCredential

Credentials for a proxy server to use for the remote call

Type: System.Management.Automation.PSCredential
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-ProxyUseDefaultCredentials

Use the default credentials for the proxy

Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-ResponseHeadersVariable

Optional Response Headers Variable.

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases:
- RHV
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-ServicePrincipalId

The unique identifier of servicePrincipal

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: Discover
  Position: Named
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-SynchronizationJobId

The unique identifier of synchronizationJob

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: Discover
  Position: Named
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-WhatIf

Runs the command in a mode that only reports what would happen without performing the actions.

Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases:
- wi
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

Microsoft.Graph.PowerShell.Models.IApplicationsIdentity

{{ Fill in the Description }}

System.Collections.IDictionary

{{ Fill in the Description }}

OUTPUTS

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphDirectoryDefinition

{{ Fill in the Description }}

NOTES

COMPLEX PARAMETER PROPERTIES

To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.

INPUTOBJECT <IApplicationsIdentity>: Identity Parameter [AppId ]: Alternate key of application [AppManagementPolicyId ]: The unique identifier of appManagementPolicy [AppRoleAssignmentId ]: The unique identifier of appRoleAssignment [ApplicationId ]: The unique identifier of application [ApplicationTemplateId ]: The unique identifier of applicationTemplate [ClaimsMappingPolicyId ]: The unique identifier of claimsMappingPolicy [DelegatedPermissionClassificationId ]: The unique identifier of delegatedPermissionClassification [DirectoryDefinitionId ]: The unique identifier of directoryDefinition [DirectoryObjectId ]: The unique identifier of directoryObject [EndpointId ]: The unique identifier of endpoint [ExtensionPropertyId ]: The unique identifier of extensionProperty [FederatedIdentityCredentialId ]: The unique identifier of federatedIdentityCredential [GroupId ]: The unique identifier of group [HomeRealmDiscoveryPolicyId ]: The unique identifier of homeRealmDiscoveryPolicy [Name ]: Alternate key of federatedIdentityCredential [OAuth2PermissionGrantId ]: The unique identifier of oAuth2PermissionGrant [ServicePrincipalId ]: The unique identifier of servicePrincipal [SynchronizationJobId ]: The unique identifier of synchronizationJob [SynchronizationTemplateId ]: The unique identifier of synchronizationTemplate [TargetDeviceGroupId ]: The unique identifier of targetDeviceGroup [TokenIssuancePolicyId ]: The unique identifier of tokenIssuancePolicy [TokenLifetimePolicyId ]: The unique identifier of tokenLifetimePolicy [UniqueName ]: Alternate key of application [UserId ]: The unique identifier of user

RELATED LINKS