I am getting 404 resource not found for list messages api even after given consents. How to resolve this

abhishek jain 0 Reputation points

I am getting 404 resources not found for list messages API even after giving consent. How to resolve thisUser's image

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
892 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. HarmeetSingh-MSFT 4,026 Reputation points Microsoft Vendor

    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".