Hello Nam Nguyen Duc
Thanks for reaching out!
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. Please check and confirm if there is a mailbox present/active for this specific user. Ensure that the user's mailbox is not inactive, soft-deleted, or is hosted on-premises.
Additionally, you can check whether the token generated from authentication method has the right permissions to access the List Contacts API. You can decode the generated token on https://jwt.ms/ and check for permissions under scp/roles property. Please use an API client like Postman to test the API with a token generated using auth code flow.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.