概要
Azure Data Factory にて Salesforce のアクセストークンを無効にする方法を共有します。
手順
Azure Data Facotry にてアクセストークンを取得するようなパイプラインを作成
アクセストークンを無効化(Revoke
)する web アクティビティを追加
アクティビティの定義
{
"name": "RevokeToken",
"type": "WebActivity",
"dependsOn": [
{
"activity": "ForEach1",
"dependencyConditions": [
"Succeeded"
]
}
],
"policy": {
"timeout": "0.12:00:00",
"retry": 0,
"retryIntervalInSeconds": 30,
"secureOutput": false,
"secureInput": false
},
"userProperties": [],
"typeProperties": {
"method": "POST",
"headers": {
"Content-Type": "application/x-www-form-urlencoded"
},
"url": "https://login.salesforce.com/services/oauth2/revoke",
"body": {
"value": "@concat(\n 'token=',\n activity('GetToken').output.access_token\n)\n",
"type": "Expression"
}
}
}