Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace: microsoft.graph
Creates a new externalOriginResourceConnector 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. |
HTTP request
POST /identityGovernance/entitlementManagement/externalOriginResourceConnectors
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 a JSON representation of the externalOriginResourceConnector object.
You can specify the following properties when creating an externalOriginResourceConnector.
| Property | Type | Description |
|---|---|---|
| connectionInfo | connectionInfo | The connection information for the external origin resource connector. Required. |
| connectorType | connectorType | The type of connector. The possible values are: sapIag, unknownFutureValue. Required. |
| description | String | The description of the external origin resource connector. Required. |
| displayName | String | The display name of the external origin resource connector. Required. |
Response
If successful, this method returns a 201 Created response code and an externalOriginResourceConnector object in the response body.
Examples
Request
The following example shows a request.
POST https://graph.microsoft.com/v1.0/identityGovernance/entitlementManagement/externalOriginResourceConnectors
Content-Type: application/json
{
"@odata.type": "#microsoft.graph.externalOriginResourceConnector",
"displayName": "SAP IAG Connector",
"description": "This connector helps integrate Microsoft Entra with SAP IAG",
"connectorType": "sapIag",
"connectionInfo": {
"@odata.type": "microsoft.graph.externalTokenBasedSapIagConnectionInfo",
"url": "https://contoso.example.com",
"accessTokenUrl": "https://contoso.example.com/oauth/token",
"clientId": "e9ad8b1d-959c-4e86-8ba2-2cbf4d14bc29",
"keyVaultName": "Keyvault",
"secretName": "clientSecret",
"subscriptionId": "5ee98b73-d9df-43a7-8a92-36855054bdee",
"resourceGroup": "SAP IAG Group"
}
}
Response
The following example shows the response.
Note: The response object shown here might be shortened for readability.
HTTP/1.1 201 Created
Content-Type: application/json
{
"@odata.type": "#microsoft.graph.externalOriginResourceConnector",
"id": "ea32a820-9c92-428d-ba21-a33b0c00cfb2",
"displayName": "SAP IAG Connector",
"description": "This connector helps integrate Microsoft Entra with SAP IAG",
"connectorType": "sapIag",
"connectionInfo": {
"@odata.type": "microsoft.graph.externalTokenBasedSapIagConnectionInfo",
"url": "https://contoso.example.com",
"accessTokenUrl": "https://contoso.example.com/oauth/token",
"clientId": "e9ad8b1d-959c-4e86-8ba2-2cbf4d14bc29",
"keyVaultName": "Keyvault",
"secretName": "clientSecret",
"subscriptionId": "5ee98b73-d9df-43a7-8a92-36855054bdee",
"resourceGroup": "SAP IAG Group"
},
"createdBy": "admin@contoso.com",
"createdDateTime": "2026-02-23T10:15:30Z",
"modifiedBy": null,
"modifiedDateTime": null
}