Hello abhishek jain,
Generally this error - "Resource could not be discovered" - occurs when users are not assigned with license or the mailbox is not configured for them.
Please check and confirm if there is a mailbox present/active in the Outlook account you are logging in with.
As mentioned in the referred document you need to have a personal Microsoft account with a mailbox on Outlook. com
Hope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".