エディターに次のコードを貼り付けます。
{
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"actions": {
"HTTP": {
"inputs": {
"authentication": {
"audience": "https://graph.microsoft.com",
"type": "ManagedServiceIdentity"
},
"body": {
"data": {
"operationStatus": "Completed"
},
"source": "sample",
"type": "lifecycleEvent"
},
"method": "POST",
"uri": "https://graph.microsoft.com/beta@{triggerBody()?['data']?['callbackUriPath']}"
},
"runAfter": {},
"type": "Http"
}
},
"contentVersion": "1.0.0.0",
"outputs": {},
"parameters": {},
"triggers": {
"manual": {
"inputs": {
"schema": {
"properties": {
"data": {
"properties": {
"callbackUriPath": {
"description": "CallbackUriPath used for Resume Action",
"title": "Data.CallbackUriPath",
"type": "string"
},
"subject": {
"properties": {
"displayName": {
"description": "DisplayName of the Subject",
"title": "Subject.DisplayName",
"type": "string"
},
"email": {
"description": "Email of the Subject",
"title": "Subject.Email",
"type": "string"
},
"id": {
"description": "Id of the Subject",
"title": "Subject.Id",
"type": "string"
},
"manager": {
"properties": {
"displayName": {
"description": "DisplayName parameter for Manager",
"title": "Manager.DisplayName",
"type": "string"
},
"email": {
"description": "Mail parameter for Manager",
"title": "Manager.Mail",
"type": "string"
},
"id": {
"description": "Id parameter for Manager",
"title": "Manager.Id",
"type": "string"
}
},
"type": "object"
},
"userPrincipalName": {
"description": "UserPrincipalName of the Subject",
"title": "Subject.UserPrincipalName",
"type": "string"
}
},
"type": "object"
},
"task": {
"properties": {
"displayName": {
"description": "DisplayName for Task Object",
"title": "Task.DisplayName",
"type": "string"
},
"id": {
"description": "Id for Task Object",
"title": "Task.Id",
"type": "string"
}
},
"type": "object"
},
"taskProcessingResult": {
"properties": {
"createdDateTime": {
"description": "CreatedDateTime for TaskProcessingResult Object",
"title": "TaskProcessingResult.CreatedDateTime",
"type": "string"
},
"id": {
"description": "Id for TaskProcessingResult Object",
"title": "TaskProcessingResult.Id",
"type": "string"
}
},
"type": "object"
},
"workflow": {
"properties": {
"displayName": {
"description": "DisplayName for Workflow Object",
"title": "Workflow.DisplayName",
"type": "string"
},
"id": {
"description": "Id for Workflow Object",
"title": "Workflow.Id",
"type": "string"
},
"workflowVersion": {
"description": "WorkflowVersion for Workflow Object",
"title": "Workflow.WorkflowVersion",
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"source": {
"description": "Context in which an event happened",
"title": "Request.Source",
"type": "string"
},
"type": {
"description": "Value describing the type of event related to the originating occurrence.",
"title": "Request.Type",
"type": "string"
}
},
"type": "object"
}
},
"kind": "Http",
"type": "Request"
}
}
},
"parameters": {}
}