| title | taskProcessingResult: resume |
|---|---|
| description | In the default case an Azure Logic Apps system-assigned managed identity calls this API to resume the task processing result that's in progress. |
| author | AlexFilipin |
| ms.localizationpriority | medium |
| ms.subservice | entra-id-governance |
| doc_type | apiPageType |
| ms.date | 04/05/2024 |
Namespace: microsoft.graph.identityGovernance
[!INCLUDE beta-disclaimer]
Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach.
[!INCLUDE national-cloud-support]
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
[!INCLUDE permissions-table]
[!INCLUDE rbac-lifecycle-workflows-apis-write]
Important
The following applies to app-only access to better follow the principle of least privilege:
- Apps specified in
authorizedAppswithin the customTaskExtensionCallbackConfiguration of the custom task extension are allowed to resume the task processing result without application permissions or role assignments. - The app specified in
resourceIdwithin the azureAdTokenAuthentication of the custom task extension is allowed to resume the task processing result without an application permission or role assignment.
POST /identityGovernance/lifecycleWorkflows/workflows/{workflowId}/tasks/{taskId}/taskProcessingResults/{taskProcessingResultsId}/resume| Name | Description |
|---|---|
| Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
| Content-Type | application/json. Required. |
In the request body, supply a custom extension callout response.
The following table shows the parameters that can be used with this action.
| Parameter | Type | Description |
|---|---|---|
| source | String | The source of the taskProcessingResult. |
| type | String | The type of the taskProcessingResult. |
| data | microsoft.graph.identityGovernance.customTaskExtensionCallbackData | The customtaskextensionCallbackData of the taskProcessingResult. The logic app returns an operation status of whether or not it successfully ran. The taskprocessingresult resumes based on how the task was designed in the workflow. |
If successful, this action returns a 204 No Content response code.
The following example shows a request.
POST https://graph.microsoft.com/beta/identityGovernance/lifecycleWorkflows/workflows/4f36da05-5df8-457d-adb3-b132e7b59571/tasks/e07dcdb2-0a77-4ee3-8645-3801fbe1cf9f/taskProcessingResults/6e1ec336-8d06-4386-a377-79dbab1a2eb6/resume
Content-Type: application/json
Content-length: 155
{
"data": {
"operationStatus": "Completed"
},
"source": "sample",
"type": "lifecycleEvent"
}[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
The following example shows the response.
HTTP/1.1 204 No Content