CmdID / PowerShell / Cmdlets / Test
Test-MgServicePrincipalSynchronizationJobCredential
Validate that the credentials are valid in the tenant for a synchronizationJob. Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 20 parameters Its page in the reference
Parameters
Show its 20 parameters
-AdditionalPropertiesAdditional Parameters-ApplicationIdentifier-BodyParameterTo construct, see NOTES section for BODYPARAMETER properties and create a hash table.-BreakWait for .NET debugger to attach-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CredentialsTo construct, see NOTES section for CREDENTIALS properties and create a hash table.-HeadersOptional headers that will be added to the request.-HttpPipelineAppendSendAsync Pipeline Steps to be appended to the front of the pipeline-HttpPipelinePrependSendAsync Pipeline Steps to be prepended to the front of the pipeline-InputObjectIdentity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.-PassThruReturns true when the command succeeds-ProxyThe URI for the proxy server to use-ProxyCredentialCredentials for a proxy server to use for the remote call-ProxyUseDefaultCredentialsUse the default credentials for the proxy-ResponseHeadersVariable, -RHVOptional Response Headers Variable.-ServicePrincipalIdThe unique identifier of servicePrincipal-SynchronizationJobIdThe unique identifier of synchronizationJob-TemplateId-UseSavedCredentials-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.