Update customAccessPackageWorkflowExtension
Namespace: microsoft.graph
Important
APIs under the /beta
version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
Update the properties of an existing customAccessPackageWorkflowExtension object.
Permissions
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.
Permission type | Least privileged permissions | Higher privileged permissions |
---|---|---|
Delegated (work or school account) | EntitlementManagement.ReadWrite.All | Not available. |
Delegated (personal Microsoft account) | Not supported. | Not supported. |
Application | EntitlementManagement.ReadWrite.All | Not available. |
Tip
In delegated scenarios with work or school accounts, the signed-in user must also be assigned an administrator role with supported role permissions through one of the following options:
- One of the following Azure role assignments are required either on the Logic App itself, or on a higher scope such as the resource group, subscription or management group:
- Logic App contributor
- Contributor
- Owner
And one of the following:
- A role in the Entitlement Management system where the least privileged role is Catalog owner. This is the least privileged option.
- More privileged Microsoft Entra roles supported for this operation:
- Identity Governance Administrator
In app-only scenarios, the calling app can be assigned one of the preceding supported roles instead of the EntitlementManagement.ReadWrite.All
application permission. The Catalog owner role is less privileged than the EntitlementManagement.Read.All
application permission.. If it's a delegated call without the URL
property in logicAppTriggerEndpointConfiguration, the caller also needs to be authorized on the Logic App.
For more information, see Delegation and roles in entitlement management and how to delegate access governance to access package managers in entitlement management.
HTTP request
PUT /identityGovernance/entitlementManagement/accessPackageCatalogs/{catalogId}/customAccessPackageWorkflowExtensions/{customAccessPackageWorkflowExtensionId}
Request headers
Name | Description |
---|---|
Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Content-Type | application/json. Required. |
Request body
In the request body, supply only the values for properties to update. Existing properties that aren't included in the request body maintain their previous values or are recalculated based on changes to other property values.
The following table specifies the properties that can be updated.
Property | Type | Description |
---|---|---|
description | String | Description for the customAccessPackageWorkflowExtension object. |
displayName | String | Display name for the customAccessPackageWorkflowExtension. |
endpointConfiguration | customExtensionEndpointConfiguration | The type and details for configuring the endpoint to call the logic app's workflow. |
authenticationConfiguration | customExtensionAuthenticationConfiguration | Configuration for securing the API call to the logic app. For example, using OAuth client credentials flow. |
Response
If successful, this method returns a 200 OK
response code and an updated customAccessPackageWorkflowExtension object in the response body.
Examples
Request
PUT https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageCatalogs/32efb28c-9a7a-446c-986b-ca6528c6669d/customAccessPackageWorkflowExtensions/98ffaec5-ae8e-4902-a434-5ffc5d3d3cd0
Content-Type: application/json
{
"@odata.type": "#microsoft.graph.customAccessPackageWorkflowExtension",
"displayName": "test_action_0124_email",
"description": "this is for graph testing only"
}
Response
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OK
Content-Type: application/json
{
"displayName": "test_action_0124_email",
"description": "this is for graph testing only",
"endpointConfiguration": {
"@odata.type": "#microsoft.graph.logicAppTriggerEndpointConfiguration",
"subscriptionId": "38ab2ccc-3747-4567-b36b-9478f5602f0d",
"resourceGroupName": "EMLogicApp",
"logicAppWorkflowName": "elm-extension-email"
},
"authenticationConfiguration": {
"@odata.type": "#microsoft.graph.azureAdTokenAuthentication",
"resourceId": "eed6dee9-7ff7-44a5-8980-c11e8886cea2"
}
}