Skip to content

Commit 2d0819f

Browse files
committed
Directory_ObjectNotFound
1 parent 6bfa7f0 commit 2d0819f

File tree

1 file changed

+26
-3
lines changed

1 file changed

+26
-3
lines changed

articles/active-directory/multi-tenant-organizations/cross-tenant-synchronization-configure-graph.md

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.service: active-directory
88
ms.workload: identity
99
ms.subservice: multi-tenant-organizations
1010
ms.topic: how-to
11-
ms.date: 03/08/2023
11+
ms.date: 04/15/2023
1212
ms.author: rolyon
1313
ms.custom: it-pro
1414

@@ -775,11 +775,11 @@ message: A conflicting object with one or more of the specified property values
775775
776776
**Cause**
777777
778-
You are trying to create a configuration or object that already exists, possibly from a previous configuration.
778+
You are likely trying to create a configuration or object that already exists, possibly from a previous configuration.
779779
780780
**Solution**
781781
782-
1. Verify that you are using the correct tenant ID.
782+
1. Verify your request syntax and that you are using the correct tenant ID.
783783
784784
1. Make a `GET` call to list the existing object.
785785
@@ -788,6 +788,29 @@ You are trying to create a configuration or object that already exists, possibly
788788
- [Update crossTenantAccessPolicyConfigurationPartner](/graph/api/crosstenantaccesspolicyconfigurationpartner-update?view=graph-rest-beta&preserve-view=true)
789789
- [Update crossTenantIdentitySyncPolicyPartner](/graph/api/crosstenantidentitysyncpolicypartner-update?view=graph-rest-beta&preserve-view=true)
790790
791+
#### Symptom - Directory_ObjectNotFound error
792+
793+
When you try to make a Graph API call, you receive an error message similar to the following:
794+
795+
```
796+
code: Directory_ObjectNotFound
797+
message: Unable to read the company information from the directory.
798+
```
799+
800+
**Cause**
801+
802+
You are likely trying to update an object that doesn't exist using `PATCH`.
803+
804+
**Solution**
805+
806+
1. Verify your request syntax and that you are using the correct tenant ID.
807+
808+
1. Make a `GET` call to verify the object doesn't exist.
809+
810+
1. If object doesn't exist, instead of making an update call using `PATCH`, you might need to make a create call using `POST` or `PUT`, such as:
811+
812+
- [Create identitySynchronization](/graph/api/crosstenantaccesspolicyconfigurationpartner-put-identitysynchronization?view=graph-rest-beta&preserve-view=true)
813+
791814
## Next steps
792815
793816
- [Azure AD synchronization API overview](/graph/api/resources/synchronization-overview?view=graph-rest-beta&preserve-view=true)

0 commit comments

Comments
 (0)