We have a custom metadata type (Recovery_API_Parameters__mdt) that store some endpoints and keys for one of our integrations (the recovery attempt process), because each environment has its own set of configurations, we have one field "OrgId" that contains the Organization Id for the correspondent sandbox, sometimes when refreshing a sandbox the org id changes, so we will need to update it here as well.
Lets say that we refreshed UAT, then we should go to the UAT record and ensure that the org ID is the same org ID of our fresh UAT sandbox.
Because of the refresh, the new sandbox connected applications are going to have new Consumer Keys and Consumer Secret keys, these keys (for the Cognito connected App) need to be provided to the integration team so that they can reconnect all systems with salesforce.
...