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.
10,771 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. HarmeetSingh7172 4,811 Reputation points

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