Does this issue only occur with a certain external domain? If yes, are they in a hybrid deplyoment?
Can these two users search and messages to users in your domain?
Here is a thread with the similar symptom which may be helpful:
Urgent Federation is working in ONe way between Teams only and S4B Hybrid with Teams….
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.