Hi @gabr brac
I am able to replicate the same scenario. Generally this error - "Resource could not be discovered" - occurs when users are not assigned with Exchange license or the mailbox is not configured for them.
After providing license to the user, I am able to get the contacts for this user.
Please make sure your mailbox is not inactive, soft-deleted, or is hosted on-premise.
Hope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".