Graph API - ResourceNotFound Resource could not be discovered

gabr brac 21 Reputation points
2022-09-06T12:55:17.32+00:00

Hello my goal is to get exchange server data like: email,firstname,lastname and save in DB

For doing this i've read that i have to make this callback request:

https://graph.microsoft.com/v1.0/me/contacts
from microsoft graph and get the data in n8n workflow system

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,068 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,637 questions
0 comments No comments
{count} votes

Accepted answer
  1. Shivam Dhiman 6,056 Reputation points
    2022-09-07T01:07:53.797+00:00

    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.
    238367-resource.png

    After providing license to the user, I am able to get the contacts for this user.
    238411-resource2.png

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

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.