Microsoft Graph ライフサイクル ワークフロー API を使用すると、joiner、leaver、mover レベルでユーザー ライフサイクル プロセスを自動化できます。
ワークフローのコアは、ワークフローがトリガーされたときに自動的に実行される特定のアクションを表す タスク です。 カスタム ワークフローの作成をサポートするために、30 個の組み込みタスクを使用できます。 これらのタスクは、タスク定義の arguments プロパティで構成されます。
この記事では、自動化を効率化するために組み込みタスクの arguments プロパティを構成する方法について説明します。
タスクの引数を構成する
| タスクの表示名 | taskDefinitionId | 引数 |
|---|---|---|
| 新入社員にウェルカム メールを送信する | 70b29d51-b59a-4773-9280-8841dfd3f2ea |
name: ccvalue: 電子メールで cc するユーザーの有効なユーザー ID (文字列)。 name: customSubjectvalue: 送信される電子メールのカスタム件名ヘッダー。 name: customBodyvalue: カスタマイズされたメールの本文。 name: localevalue: メール受信者の言語設定をオーバーライドする言語値。 この引数は電子メールのカスタム テキストをカスタマイズしないため、カスタム テキストと同じ言語で設定する必要があります。 name: tovalue: User、 Managers、 Sponsors、または特定の userIDの文字列。
Sponsorsが選択されている場合、cc引数に別のユーザーを追加することはできません。 |
| オンボードリマインダーメールを送信する | 3C860712-2D37-42A4-928F-5C93935D26A1 |
name: ccvalue: 電子メールで cc するユーザーの有効なユーザー ID (文字列)。 name: customSubjectvalue: 送信される電子メールのカスタム件名ヘッダー。 name: customBodyvalue: カスタマイズされたメールの本文。 name: localevalue: メール受信者の言語設定をオーバーライドする言語値。 この引数は電子メールのカスタム テキストをカスタマイズしないため、カスタム テキストと同じ言語で設定する必要があります。 name: tovalue: User、 Managers、 Sponsors、または特定の userIDの文字列。
Sponsorsが選択されている場合、cc引数に別のユーザーを追加することはできません。 |
| 一時的なアクセス パスを生成し、ユーザーのマネージャーに電子メールで送信する | 1b555e50-7f65-41d5-b514-5894a026d10d |
name: tapLifetimeMinutesvalue: 最大 1043000name: tapIsUsableOncevalue: true または falsename: tovalue: User、 Managers、 Sponsors、または特定の userIDの文字列。
Sponsorsが選択されている場合、cc引数に別のユーザーを追加することはできません。前提条件:
|
| グループにユーザーを追加する | 22085229-5809-45e8-97fd-270d28d66910 |
name: groupIDvalue: ユーザーがメンバーとして追加されるグループの有効なグループ ID またはコンマ区切りのリスト。 たとえば、「 "06269010-2d8e-48e4-8f0e-33580720c9e1, 06bba22c-775e-42d8-b451-4221af061af0, 182f68db-6513-4e79-9ec2-a7e89a460e7f" 」のように入力します。 |
| チームにユーザーを追加する | e440ed8d-25a1-4618-84ce-091ed5be5594 |
name: teamIDvalue: ユーザーがメンバーとして追加されるチームの有効なグループ ID またはコンマ区切りのリスト。 たとえば、「 "06269010-2d8e-48e4-8f0e-33580720c9e1, 06bba22c-775e-42d8-b451-4221af061af0, 182f68db-6513-4e79-9ec2-a7e89a460e7f" 」のように入力します。 |
| ユーザー属性の更新 (プレビュー) | 2c8f4a1b-7d3e-4f9c-8a5b-6e1d2c3f4a5b |
name: attributeUpdatesvalue: 更新またはクリアする最大 10 個のユーザー属性を指定する JSON 文字列。 属性には、組み込みのオンプレミス拡張機能、ディレクトリ拡張機能、従業員組織データを含めることができます。 |
| ユーザー アカウントの有効化 | 6fc52c9d-398b-4305-9763-15f42c1676fc |
name: enableOnPremisesAccountvalue: タスクで同期されたオンプレミス ユーザー アカウントを有効にするかどうかを示すブール値。 |
| カスタム タスク拡張機能を実行する | 4262b724-8dba-4fad-afc3-43fcbb497a0e |
name: CustomTaskExtensionIDvalue: カスタム タスク拡張機能の ID。 |
| ユーザーにライセンスを割り当てる (プレビュー) | 683c87a4-2ad4-420b-97d4-220d90afcd24 |
name: licensesvalue: 割り当てるライセンスの ID。 |
| 選択したライセンスの割り当てをユーザーから削除する (プレビュー) | 5fc402a8-daaf-4b7b-9203-da868b05fc5f |
name: licensesvalue: 割り当てるライセンスの ID。 |
| ユーザーのすべての更新トークンを取り消す | 509589a4-0466-4471-829e-49c5e502bdee | なし。 |
| スポンサーシップの変更に関するメールをマネージャーに送信する | b8c4e1f9-3a7d-4b2e-9c5f-8d6a9b1c2e3f |
name: ccvalue: 電子メールで cc するユーザーの有効なユーザー ID (文字列)。 name: customSubjectvalue: 送信される電子メールのカスタム件名ヘッダー。 name: customBodyvalue: カスタマイズされたメールの本文。 name: localevalue: メール受信者の言語設定をオーバーライドする言語値。 この引数は電子メールのカスタム テキストをカスタマイズしないため、カスタム テキストと同じ言語で設定する必要があります。 name: tovalue: User、 Managers、 Sponsors、または特定の userIDの文字列。
Sponsorsが選択されている場合、cc引数に別のユーザーを追加することはできません。 |
| スポンサーの変更に関するメールを共同スポンサーに送信する | ad3b85cd-75b1-43e7-b4b9-0e52faba3944 |
name: ccvalue: 電子メールで cc するユーザーの有効なユーザー ID (文字列)。 name: customSubjectvalue: 送信される電子メールのカスタム件名ヘッダー。 name: customBodyvalue: カスタマイズされたメールの本文。 name: localevalue: メール受信者の言語設定をオーバーライドする言語値。 この引数は電子メールのカスタム テキストをカスタマイズしないため、カスタム テキストと同じ言語で設定する必要があります。 name: tovalue: User、 Managers、 Sponsors、または特定の userIDの文字列。
Sponsorsが選択されている場合、cc引数に別のユーザーを追加することはできません。 |
| エージェント ID スポンサーシップをマネージャーに譲渡する | b8f4c3d5-9e7a-4b1c-8f2d-6a5e8b9c7f4a | なし。 前提条件:
|
| ユーザー アカウントを無効にする | 1dfdfcc7-52fa-4c2e-bf3a-e3919cc12950 |
name: disableOnPremisesAccountvalue: タスクが同期されたオンプレミス ユーザー アカウントを無効にするかどうかを示すブール値。 |
| 選択したグループからユーザーを削除する | 1953a66c-751c-45e5-8bfe-01462c70da3c |
name: groupIDvalue: ユーザーがメンバーであるグループの有効なグループ ID またはコンマ区切りのリスト。 たとえば、「 "06269010-2d8e-48e4-8f0e-33580720c9e1, 06bba22c-775e-42d8-b451-4221af061af0, 182f68db-6513-4e79-9ec2-a7e89a460e7f" 」のように入力します。 |
| すべてのグループからユーザーを削除する | b3a31406-2a15-4c9a-b25b-a658fa5f07fc | なし |
| チームからユーザーを削除する | 06aa7acb-01af-4824-8899-b14e5ed788d6 |
name: teamIDvalue: ユーザーがメンバーであるチームのコンマ区切りのリスト。 たとえば、「 "06269010-2d8e-48e4-8f0e-33580720c9e1, 06bba22c-775e-42d8-b451-4221af061af0, 182f68db-6513-4e79-9ec2-a7e89a460e7f" 」のように入力します。 |
| すべてのチームからユーザーを削除する | 81f7b200-2816-4b3b-8c5d-dc556f07b024 | なし |
| ユーザーからすべてのライセンス割り当てを削除する | 8fa97d28-3e52-4985-b3a9-a1126f9b8b4e | なし |
| ユーザーを削除する | 8d18588d-9ad3-4c0f-99d0-ec215f0e3dff |
name: deleteOnPremisesAccountvalue: タスクが同期されたオンプレミス ユーザー アカウントを削除するかどうかを示すブール値。 |
| ユーザーの移動をマネージャーに通知する電子メールを送信する | aab41899-9972-422a-9d97-f626014578b7 |
name: ccvalue: 電子メールで cc するユーザーの有効なユーザー ID (文字列)。 name: customSubjectvalue: 送信される電子メールのカスタム件名ヘッダー。 name: customBodyvalue: カスタマイズされたメールの本文。 name: localevalue: メール受信者の言語設定をオーバーライドする言語値。 メールのカスタム テキストはカスタマイズせず、カスタム テキストと同じ言語で設定する必要があります。 name: tovalue: User、 Managers、 Sponsors、または特定の userIDの文字列。
Sponsorsが選択されている場合、cc引数に別のユーザーを追加することはできません。 |
| ユーザーの最後の日の前にマネージャーにメールを送信する | 52853a3e-f4e5-4eb8-bb24-1ac09a1da935 |
name: ccvalue: 電子メールで cc するユーザーの有効なユーザー ID (文字列)。 name: customSubjectvalue: 送信される電子メールのカスタム件名ヘッダー。 name: customBodyvalue: カスタマイズされたメールの本文。 name: localevalue: メール受信者の言語設定をオーバーライドする言語値。 メールのカスタム テキストはカスタマイズせず、カスタム テキストと同じ言語で設定する必要があります。 name: tovalue: User、 Managers、 Sponsors、または特定の userIDの文字列。
Sponsorsが選択されている場合、cc引数に別のユーザーを追加することはできません。 |
| ユーザーの最終日にメールを送信する | 9c0a1eaf-5bda-4392-9d9e-6e155bb57411 |
name: ccvalue: 電子メールで cc するユーザーの有効なユーザー ID (文字列)。 name: customSubjectvalue: 送信されるメールのカスタム件名。 name: customBodyvalue: カスタマイズされたメールの本文。 name: localevalue: メール受信者の言語設定をオーバーライドする言語値。 メールのカスタム テキストはカスタマイズせず、カスタム テキストと同じ言語で設定する必要があります。 name: tovalue: User、 Managers、 Sponsors、または特定の userIDの文字列。
Sponsorsが選択されている場合、cc引数に別のユーザーを追加することはできません。 |
| 最後の日の後にユーザーのマネージャーにオフボードメールを送信する | 6f22dddd4-b3a5-47a4-a846-0d7c201a49ce |
name: ccvalue: 電子メールで cc するユーザーの有効なユーザー ID (文字列)。 name: customSubjectvalue: 送信される電子メールのカスタム件名ヘッダー。 name: customBodyvalue: カスタマイズされたメールの本文。 name: localevalue: メール受信者の言語設定をオーバーライドする言語値。 メールのカスタム テキストはカスタマイズせず、カスタム テキストと同じ言語で設定する必要があります。 name: tovalue: User、 Managers、 Sponsors、または特定の userIDの文字列。
Sponsorsが選択されている場合、cc引数に別のユーザーを追加することはできません。 |
| ユーザーの非アクティブに関する電子メールを送信する | 92f74cb4-f1b6-4ec0-b766-96210f56edc2 |
name: ccvalue: 電子メールで cc するユーザーの有効なユーザー ID (文字列)。 name: customSubjectvalue: 送信される電子メールのカスタム件名ヘッダー。 name: customBodyvalue: カスタマイズされたメールの本文。 name: localevalue: メール受信者の言語設定をオーバーライドする言語値。 この引数は電子メールのカスタム テキストをカスタマイズしないため、カスタム テキストと同じ言語で設定する必要があります。 name: tovalue: User、 Managers、 Sponsors、または特定の userIDの文字列。
Sponsorsが選択されている場合、cc引数に別のユーザーを追加することはできません。 |
| ユーザー アクセス パッケージの割り当てを要求する | c1ec1e76-f374-4375-aaa6-0bb6bd4c60be |
name: assignmentPolicyIdvalue: ユーザーを割り当てるアクセス パッケージの有効な割り当てポリシー ID (文字列)。 name: accessPackageIdvalue: ユーザーに割り当てるアクセス パッケージの有効なアクセス パッケージ ID。 |
| ユーザーのアクセス パッケージの割り当てを削除する | 4a0b64f2-c7ec-46ba-b117-18f262946c50 |
name: accessPackageIdvalue: ユーザーからの割り当てを解除するアクセス パッケージの有効なアクセス パッケージ ID。 |
| ユーザーのすべてのアクセス パッケージの割り当てを削除する | 42ae2956-193d-4f39-be06-691b8ac4fa1d | なし |
| ユーザーの保留中のアクセス パッケージ割り当て要求を取り消す | 498770d9-bab7-4e4c-b73d-5ded82a1d0b3 |
name: daysUntilExpirationvalue: ユーザーのアクセス パッケージの割り当てが期限切れになるまでの日数の有効な文字列。 |
例
例 1: 新入社員にウェルカム メールを送信する
{
"category": "joiner",
"continueOnError": false,
"description": "Send welcome email to new hire",
"displayName": "Send Welcome Email",
"isEnabled": true,
"taskDefinitionId": "70b29d51-b59a-4773-9280-8841dfd3f2ea",
"arguments": [
{
"name": "cc",
"value": "e94ad2cd-d590-4b39-8e46-bb4f8e293f85,ac17d108-60cd-4eb2-a4b4-084cacda33f2"
},
{
"name": "customSubject",
"value": "Welcome to the organization {{userDisplayName}}!"
},
{
"name": "customBody",
"value": "Welcome to our organization {{userGivenName}} {{userSurname}}.\n\nFor more information, reach out to your manager {{managerDisplayName}} at {{managerEmail}}."
},
{
"name": "locale",
"value": "en-us"
}
]
}
例 2: 一時アクセス パス (TAP) を生成し、ユーザーのマネージャーに送信する
{
"category": "joiner",
"continueOnError": false,
"description": "Generate Temporary Access Pass and send via email to user's manager",
"displayName": "Generate TAP and Send Email",
"isEnabled": true,
"taskDefinitionId": "1b555e50-7f65-41d5-b514-5894a026d10d",
"arguments": [
{
"name": "tapLifetimeMinutes",
"value": "480"
},
{
"name": "tapIsUsableOnce",
"value": "false"
},
{
"name": "cc",
"value": "068fa0c1-fa00-4f4f-8411-e968d921c3e7,9d208c40-7eb6-46ff-bebd-f30148c39b47"
},
{
"name": "customSubject",
"value": "Temporary access pass for your new employee {{userDisplayName}}"
},
{
"name": "customBody",
"value": "Hello {{managerDisplayName}}\n\nPlease find the temporary access pass for your new employee {{userDisplayName}} below:\n\n{{temporaryAccessPass}}\n\nRegards\nYour IT department"
},
{
"name": "locale",
"value": "en-us"
}
]
}
例 3: グループにユーザーを追加する
{
"category": "joiner,leaver",
"description": "Add user to groups",
"displayName": "AddUserToGroup",
"isEnabled": true,
"continueOnError": true,
"taskDefinitionId": "22085229-5809-45e8-97fd-270d28d66910",
"arguments": [
{
"name": "groupID",
"value": "06269010-2d8e-48e4-8f0e-33580720c9e1, 06bba22c-775e-42d8-b451-4221af061af0, 182f68db-6513-4e79-9ec2-a7e89a460e7f"
}
]
}
例 4: チームにユーザーを追加する
{
"category": "joiner,leaver",
"description": "Add user to team",
"displayName": "AddUserToTeam",
"isEnabled": true,
"continueOnError": true,
"taskDefinitionId": "e440ed8d-25a1-4618-84ce-091ed5be5594",
"arguments": [
{
"name": "teamID",
"value": "06269010-2d8e-48e4-8f0e-33580720c9e1, 06bba22c-775e-42d8-b451-4221af061af0, 182f68db-6513-4e79-9ec2-a7e89a460e7f"
}
]
}
例 5: ユーザー属性を更新する (プレビュー)
{
"category": "joiner",
"continueOnError": false,
"description": "Update or clear user attribute values including custom attributes",
"displayName": "Update user attributes",
"isEnabled": true,
"taskDefinitionId": "2c8f4a1b-7d3e-4f9c-8a5b-6e1d2c3f4a5b",
"arguments": [
{
"name": "attributeUpdates",
"value": "[{\"attribute\":\"department\",\"value\":\"Sales\"},{\"attribute\":\"jobTitle\",\"value\":\"Account Executive\"}]"
}
]
}
例 6: ユーザー アカウントを有効にする
{
"category": "joiner,leaver",
"description": "Enable user account",
"displayName": "EnableUserAccount",
"isEnabled": true,
"continueOnError": true,
"taskDefinitionId": "6fc52c9d-398b-4305-9763-15f42c1676fc",
"arguments": []
}
例 7: カスタム タスク拡張機能を実行する
{
"category": "joiner,leaver",
"description": "Run a Custom Task Extension to call-out to an external system.",
"displayName": "Run a Custom Task Extension",
"isEnabled": true,
"continueOnError": true,
"taskDefinitionId": "d79d1fcc-16be-490c-a865-f4533b1639ee",
"arguments": [
{
"name": "customTaskExtensionID",
"value": "<ID of your Custom Task Extension>"
}
]
}
例 8: ユーザー アカウントを無効にする
{
"category": "joiner,leaver",
"description": "Disable user account",
"displayName": "DisableUserAccount",
"isEnabled": true,
"continueOnError": true,
"taskDefinitionId": "1dfdfcc7-52fa-4c2e-bf3a-e3919cc12950",
"arguments": []
}
例 9: 選択したグループからユーザーを削除する
{
"category": "leaver",
"displayName": "Remove user from selected groups",
"description": "Remove user from membership of selected Azure AD groups",
"isEnabled": true,
"continueOnError": true,
"taskDefinitionId": "1953a66c-751c-45e5-8bfe-01462c70da3c",
"arguments": [
{
"name": "groupID",
"value": "06269010-2d8e-48e4-8f0e-33580720c9e1, 06bba22c-775e-42d8-b451-4221af061af0, 182f68db-6513-4e79-9ec2-a7e89a460e7f"
}
]
}
例 10: すべてのグループからユーザーを削除する
{
"category": "leaver",
"continueOnError": true,
"displayName": "Remove user from all groups",
"description": "Remove user from all Azure AD groups memberships",
"isEnabled": true,
"taskDefinitionId": "b3a31406-2a15-4c9a-b25b-a658fa5f07fc",
"arguments": []
}
例 11: 選択したチームからユーザーを削除する
{
"category": "joiner,leaver",
"continueOnError": true,
"displayName": "Remove user from selected Teams",
"description": "Remove user from membership of selected Teams",
"isEnabled": true,
"taskDefinitionId": "06aa7acb-01af-4824-8899-b14e5ed788d6",
"arguments": [
{
"name": "teamID",
"value": "TeamId1, TeamId2, TeamId3, ..."
}
]
}
例 12: すべてのチームからユーザーを削除する
{
"category": "leaver",
"continueOnError": true,
"description": "Remove user from all Teams",
"displayName": "Remove user from all Teams memberships",
"isEnabled": true,
"taskDefinitionId": "81f7b200-2816-4b3b-8c5d-dc556f07b024",
"arguments": []
}
例 13: ユーザーからすべてのライセンス割り当てを削除する
{
"category": "leaver",
"continueOnError": true,
"displayName": "Remove all licenses for user",
"description": "Remove all licenses assigned to the user",
"isEnabled": true,
"taskDefinitionId": "8fa97d28-3e52-4985-b3a9-a1126f9b8b4e",
"arguments": []
}
例 14: ユーザーを削除する
{
"category": "leaver",
"continueOnError": true,
"displayName": "Delete user account",
"description": "Delete user account in Azure AD",
"isEnabled": true,
"taskDefinitionId": "8d18588d-9ad3-4c0f-99d0-ec215f0e3dff",
"arguments": []
}
例 15: ユーザーの移動をマネージャーに通知する電子メールを送信する
{
"category": "mover",
"continueOnError": false,
"description": "Send email to notify user\u2019s manager of user move",
"displayName": "Send email to notify manager of user move",
"isEnabled": true,
"taskDefinitionId": "aab41899-9972-422a-9d97-f626014578b7",
"arguments": [
{
"name": "cc",
"value": "ac17d108-60cd-4eb2-a4b4-084cacda33f2,7d3ee937-edcc-46b0-9e2c-f832e01231ea"
},
{
"name": "customSubject",
"value": "{{userDisplayName}} has moved"
},
{
"name": "customBody",
"value": "Hello {{managerDisplayName}}\n\nwe are reaching out to let you know {{userDisplayName}} has moved in the organization.\n\nRegards\nYour IT department"
},
{
"name": "locale",
"value": "en-us"
}
]
}
例 16: ユーザーの最終日の前にマネージャーにメールを送信する
{
"category": "leaver",
"continueOnError": false,
"description": "Send offboarding email to user's manager before the last day of work",
"displayName": "Send email before user's last day",
"isEnabled": true,
"taskDefinitionId": "52853a3e-f4e5-4eb8-bb24-1ac09a1da935",
"arguments": [
{
"name": "cc",
"value": "068fa0c1-fa00-4f4f-8411-e968d921c3e7,e94ad2cd-d590-4b39-8e46-bb4f8e293f85"
},
{
"name": "customSubject",
"value": "Reminder that {{userDisplayName}}'s last day is coming up"
},
{
"name": "customBody",
"value": "Hello {{managerDisplayName}}\n\nthis is a reminder that {{userDisplayName}}'s last day is coming up.\n\nRegards\nYour IT department"
},
{
"name": "locale",
"value": "en-us"
}
]
}
例 17: ユーザーの最終日にメールを送信する
{
"category": "leaver",
"continueOnError": false,
"description": "Send offboarding email to user's manager on the last day of work",
"displayName": "Send email on user's last day",
"isEnabled": true,
"taskDefinitionId": "9c0a1eaf-5bda-4392-9d9e-6e155bb57411",
"arguments": [
{
"name": "cc",
"value": "068fa0c1-fa00-4f4f-8411-e968d921c3e7,e94ad2cd-d590-4b39-8e46-bb4f8e293f85"
},
{
"name": "customSubject",
"value": "{{userDisplayName}}'s last day"
},
{
"name": "customBody",
"value": "Hello {{managerDisplayName}}\n\nthis is a reminder that {{userDisplayName}}'s last day is today and their access will be revoked.\n\nRegards\nYour IT department"
},
{
"name": "locale",
"value": "en-us"
}
]
}
例 18: ユーザーの仕事の最終日の後に、オフボードメールをユーザーのマネージャーに送信する
{
"category": "leaver",
"continueOnError": true,
"displayName": "Send offboarding email to user's manager after the last day of work",
"description": "Send email after user's last day",
"isEnabled": true,
"continueOnError": true,
"taskDefinitionId": "6f22ddd4-b3a5-47a4-a846-0d7c201a49ce",
"arguments": []
}
例 19: ユーザー アクセス パッケージの割り当てを要求する
{
"category": "joiner,mover",
"continueOnError": false,
"description": "Request user assignment to selected access package",
"displayName": "Request user access package assignment",
"isEnabled": true,
"taskDefinitionId": "c1ec1e76-f374-4375-aaa6-0bb6bd4c60be",
"arguments": [
{
"name": "assignmentPolicyId",
"value": "00d6fd25-6695-4f4a-8186-e4c6f901d2c1"
},
{
"name": "accessPackageId",
"value": "2ae5d6e5-6cbe-4710-82f2-09ef6ffff0d0"
}
]
}
例 20: ユーザーのアクセス パッケージの割り当てを削除する
{
"category": "leaver,mover",
"continueOnError": false,
"description": "Remove user assignment of selected access package",
"displayName": "Remove access package assignment for user",
"isEnabled": true,
"taskDefinitionId": "4a0b64f2-c7ec-46ba-b117-18f262946c50",
"arguments": [
{
"name": "accessPackageId",
"value": "2ae5d6e5-6cbe-4710-82f2-09ef6ffff0d0"
}
]
}
例 21: ユーザーのすべてのアクセス パッケージの割り当てを削除する
{
"category": "leaver",
"continueOnError": false,
"description": "Remove all access packages assigned to the user",
"displayName": "Remove all access package assignments for user",
"isEnabled": true,
"taskDefinitionId": "42ae2956-193d-4f39-be06-691b8ac4fa1d",
"arguments": [
{
"description": "Remove all access packages assigned to the user",
"displayName": "Remove all access package assignments for user",
"id": "42ae2956-193d-4f39-be06-691b8ac4fa1d",
"version": 1,
"parameters": [
{
"name": "daysUntilExpiration",
"values": [],
"valueType": "string"
}
]
}
]
}
例 22: ユーザーの保留中のアクセス パッケージ割り当て要求を取り消す
{
"category": "leaver",
"continueOnError": false,
"description": "Cancel all access package assignment requests pending for the user",
"displayName": "Cancel all pending access package assignment requests for user",
"isEnabled": true,
"taskDefinitionId": "498770d9-bab7-4e4c-b73d-5ded82a1d0b3",
"arguments": []
}
例 23: オンボードリマインダーメールを送信する
{
"category": "joiner",
"continueOnError": false,
"description": "Send onboarding reminder email to user\u2019s manager",
"displayName": "Send onboarding reminder email",
"isEnabled": true,
"taskDefinitionId": "3C860712-2D37-42A4-928F-5C93935D26A1",
"arguments": [
{
"name": "cc",
"value": "e94ad2cd-d590-4b39-8e46-bb4f8e293f85,068fa0c1-fa00-4f4f-8411-e968d921c3e7"
},
{
"name": "customSubject",
"value": "Reminder: {{userDisplayName}} is starting soon"
},
{
"name": "customBody",
"value": "Hello {{managerDisplayName}}\n\nthis is a reminder that {{userDisplayName}} is starting soon.\n\nRegards\nYour IT department"
},
{
"name": "locale",
"value": "en-us"
}
]
}
例 24: ユーザーのすべての更新トークンを取り消す
{
"category": "leaver, mover",
"continueOnError": false,
"description": "Revoke all refresh tokens for user",
"displayName": "Revoke all refresh tokens for user",
"isEnabled": true,
"taskDefinitionId": "509589a4-0466-4471-829e-49c5e502bdee",
"arguments": []
}
例 25: スポンサーシップの変更に関するメールをマネージャーに送信する
{
"category": "mover",
"continueOnError": false,
"description": "Notify sponsor's manager about agent identity sponsorship transfer.",
"displayName": "Send email to manager about sponsorship transfer",
"isEnabled": true,
"taskDefinitionId": "b8c4e1f9-3a7d-4b2e-9c5f-8d6a9b1c2e3f",
"arguments": [
{
"name": "cc",
"value": "ac17d108-60cd-4eb2-a4b4-084cacda33f2,7d3ee937-edcc-46b0-9e2c-f832e01231ea"
},
{
"name": "customSubject",
"value": "{{userDisplayName}} has moved"
},
{
"name": "customBody",
"value": "Hello {{managerDisplayName}}\n\nwe are reaching out to let you know {{userDisplayName}} has moved in the organization and you have taken over their agent ID sponsorships.\n\nRegards\nYour IT department"
},
{
"name": "locale",
"value": "en-us"
}
]
}
例 26: スポンサーの変更に関するメールを共同スポンサーに送信する
{
"category": "mover",
"continueOnError": false,
"description": "Notify co-sponsors about agent identity sponsorship changes.",
"displayName": "Send email to co-sponsors about sponsor changes",
"isEnabled": true,
"taskDefinitionId": "ad3b85cd-75b1-43e7-b4b9-0e52faba3944",
"arguments": [
{
"name": "cc",
"value": "ac17d108-60cd-4eb2-a4b4-084cacda33f2,7d3ee937-edcc-46b0-9e2c-f832e01231ea"
},
{
"name": "customSubject",
"value": "{{userDisplayName}} has moved"
},
{
"name": "customBody",
"value": "We are reaching out to let you know {{userDisplayName}} has moved in the organization and will no longer have sponsorship authority over agent IDs they previously sponsored with you.\n\nRegards\nYour IT department"
},
{
"name": "locale",
"value": "en-us"
}
]
}
例 27: エージェント ID スポンサーシップをマネージャーに転送する
{
"category": "mover",
"continueOnError": false,
"description": "Transfer all agent identities sponsored by user to manager.",
"displayName": "Transfer agent identity sponsorships to manager",
"isEnabled": true,
"taskDefinitionId": "b8f4c3d5-9e7a-4b1c-8f2d-6a5e8b9c7f4a",
"arguments": []
}
例 28: ユーザーの非アクティブに関する電子メールを送信する
{
"category": "leaver",
"continueOnError": false,
"description": "Notify manager that user has been inactive",
"displayName": "Send email about user inactivity",
"isEnabled": true,
"taskDefinitionId": "92f74cb4-f1b6-4ec0-b766-96210f56edc2",
"arguments": [
{
"name": "cc",
"value": "1bda0458-cb4b-473d-baf5-61125c86a6d3,7f552c25-e0f6-40b6-b4e0-36bb40ba7fb6"
},
{
"name": "customSubject",
"value": "{{UserDisplayName}}'s account has been inactive for {{NumberofDays}} days."
},
{
"name": "customBody",
"value": "We're notifying you that a recent sign-in for {{UserDisplayName}}'s user account has not been detected, and the account is considered inactive. The last sign in was {{LastSigninDate}}. To maintain a secure environment, your organization may have already started the process to disable or delete this user account.\n\nPlease check your organization's policies and take appropriate action if this user account is still needed.\n\nRegards\nYour IT department"
},
{
"name": "locale",
"value": "en-us"
}
]
}