You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/active-directory/multi-tenant-organizations/cross-tenant-synchronization-configure-graph.md
+55-1Lines changed: 55 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ ms.service: active-directory
8
8
ms.workload: identity
9
9
ms.subservice: multi-tenant-organizations
10
10
ms.topic: how-to
11
-
ms.date: 03/08/2023
11
+
ms.date: 04/15/2023
12
12
ms.author: rolyon
13
13
ms.custom: it-pro
14
14
@@ -84,6 +84,8 @@ These steps describe how to use Microsoft Graph Explorer (recommended), but you
84
84
85
85
1. In the target tenant, use the [Create crossTenantAccessPolicyConfigurationPartner](/graph/api/crosstenantaccesspolicy-post-partners?view=graph-rest-beta&preserve-view=true) API to create a new partner configuration in a cross-tenant access policy between the target tenant and the source tenant. Use the source tenant ID in the request.
86
86
87
+
If you get an `Request_MultipleObjectsWithSameKeyValue` error, you might already have an existing configuration. For more information, see [Symptom - Request_MultipleObjectsWithSameKeyValue error](#symptom---request_multipleobjectswithsamekeyvalue-error).
88
+
87
89
**Request**
88
90
89
91
```http
@@ -126,6 +128,8 @@ These steps describe how to use Microsoft Graph Explorer (recommended), but you
126
128
127
129
1. Use the [Create identitySynchronization](/graph/api/crosstenantaccesspolicyconfigurationpartner-put-identitysynchronization?view=graph-rest-beta&preserve-view=true) API to enable user synchronization in the target tenant.
128
130
131
+
If you get an `Request_MultipleObjectsWithSameKeyValue` error, you might already have an existing policy. For more information, see [Symptom - Request_MultipleObjectsWithSameKeyValue error](#symptom---request_multipleobjectswithsamekeyvalue-error).
132
+
129
133
**Request**
130
134
131
135
```http
@@ -180,6 +184,8 @@ These steps describe how to use Microsoft Graph Explorer (recommended), but you
180
184
181
185
1. In the source tenant, use the [Create crossTenantAccessPolicyConfigurationPartner](/graph/api/crosstenantaccesspolicy-post-partners?view=graph-rest-beta&preserve-view=true) API to create a new partner configuration in a cross-tenant access policy between the source tenant and the target tenant. Use the target tenant ID in the request.
182
186
187
+
If you get an `Request_MultipleObjectsWithSameKeyValue` error, you might already have an existing configuration. For more information, see [Symptom - Request_MultipleObjectsWithSameKeyValue error](#symptom---request_multipleobjectswithsamekeyvalue-error).
188
+
183
189
**Request**
184
190
185
191
```http
@@ -757,6 +763,54 @@ Either the signed-in user doesn't have sufficient privileges, or you need to con
757
763
758
764
2. In [Microsoft Graph Explorer tool](https://aka.ms/ge), make sure you consent to the required permissions. See [Step 1: Sign in to tenants and consent to permissions](#step-1-sign-in-to-tenants-and-consent-to-permissions) earlier in this article.
When you try to make a Graph API call, you receive an error message similar to the following:
769
+
770
+
```
771
+
code: Request_MultipleObjectsWithSameKeyValue
772
+
message: Another object with the same value for property tenantId already exists.
773
+
message: A conflicting object with one or more of the specified property values is present in the directory.
774
+
```
775
+
776
+
**Cause**
777
+
778
+
You are likely trying to create a configuration or object that already exists, possibly from a previous configuration.
779
+
780
+
**Solution**
781
+
782
+
1. Verify your request syntax and that you are using the correct tenant ID.
783
+
784
+
1. Make a `GET` request to list the existing object.
785
+
786
+
1. If you have an existing object, instead of making a create request using `POST` or `PUT`, you might need to make an update request using `PATCH`, such as:
0 commit comments