Discovery Pattern triggered by Azure Event / Cloud Event fails with "MISSING_DEPENDENCY In payload no relations defined" errorIssue Once Discovery and Service Mapping pattern is upgraded to 1.0.71 or above, Cloud Event (sn_cmp_cloud_event) will trigger patterns instead of Cloud API. The patterns may fail with "MISSING_DEPENDENCY In payload no relations defined" error, showing one of the resource in the payload does not have relation to cloud datacenter. CauseIn the Cloud Event pattern payload, resources use source_native_key to be identified by IRE. > If the resource has relation to Cloud Datacenter in the payload, then the payload must have source_native_key of the datacenter. In this case the root cause is IRE cannot find the source_native_key of the datacenter on sys_object_source table. > If the resource doesn't have relation to Cloud Datacenter in the payload, then the object itself must have source_native_key in the payload for IRE. In this case the root cause is IRE cannot find the source_native_key of the object on sys_object_source table. Resolution1. Migrate CAPI to Pattern. 2. Once CAPI to Pattern migration is done, run Discovery schedule for the service account and related datacenters, this will create the required sys_object_source for the datacenters and infrastructures. 3. Make sure you are running a dedicated discovery schedule for the datacenters. There are issues with using one discovery schedule for multiple datacenters.