Skip to content

restoreAzureAdObjectsWithPasswords

Restores the Azure AD directory with multiple passwords.

Arguments

Argument Type Description
input (required) RestoreAzureAdObjectsWithPasswordsInput! The input for restoring the Azure AD directory with multiple passwords.

Returns

RestoreAzureAdObjectsWithPasswordsReply!

Sample

mutation RestoreAzureAdObjectsWithPasswords($input: RestoreAzureAdObjectsWithPasswordsInput!) {
  restoreAzureAdObjectsWithPasswords(input: $input) {
    jobId
    taskchainId
  }
}
{
  "input": {
    "forceChangePasswordWithMfa": true,
    "objectTypeToIdMap": [
      {
        "azureAdObjectType": "ADMINISTRATIVE_UNIT",
        "objectId": "00000000-0000-0000-0000-000000000000"
      }
    ],
    "passwordByUserIdMap": [
      {
        "password": "example-string",
        "userId": "00000000-0000-0000-0000-000000000000"
      }
    ],
    "relationshipRestoreMode": "MERGE",
    "snapshotFid": "00000000-0000-0000-0000-000000000000",
    "workloadFid": "00000000-0000-0000-0000-000000000000"
  }
}
{
  "data": {
    "restoreAzureAdObjectsWithPasswords": {
      "jobId": 0,
      "taskchainId": "00000000-0000-0000-0000-000000000000"
    }
  }
}