Graph api not returning createdBy for OneNote for specific account

Kaustubh Nangare 25 Reputation points
2023-07-03T09:05:03.1+00:00

While getting OneNote note from graph api I am not getting createdBy in the response

Request : https://graph.microsoft.com/v1.0/me/onenote/notebooks?includesharednotebooks=true&$expand=sections,sectionGroups&$select=id,createdDateTime,lastModifiedDateTime,createdBy,sections,sectionGroups,displayName,links,userRole

This is happening for one of the account, works well for others. Is there something specific that I should check on user account level?

OneNote
OneNote
A family of Microsoft products that enable users to capture, organize, and reuse notes electronically.
224 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,799 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 44,756 Reputation points
    2023-07-04T09:53:29.4333333+00:00

    Hi @Kaustubh Nangare

    I can't reproduce the issue locally, it seems to work fine from my tests. Since this issue is specific to your user, I suggest you open a support ticket with the support team on this for better assistance.

    You can raise support ticket from:

    http://aad.portal.azure.com or https://admin.microsoft.com/#/support/requests.

    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.


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.