Share via

MS Graph: Deleting aone note page using graph API is permanently deleting the page and not moving it under delete notes

Deepak Sharma 36 Reputation points
2022-03-24T08:33:43.22+00:00

We are using the following Microsoft Graph API to delete OneNote page.

https://learn.microsoft.com/en-us/graph/api/page-delete?view=graph-rest-1.0&tabs=http

When deleting the page using API its permanently getting deleted and is not moved in the Deleted notes, but if we delete from OneNote client then the page is moved under delete notes.

We really need a way to recover deleted notes, this should work consistent from OneNote client UI and API.

Microsoft Security | Microsoft Graph
0 comments No comments

2 answers

Sort by: Most helpful
  1. HarmeetSingh7172 4,831 Reputation points
    2022-03-24T12:20:22.797+00:00

    Hi @Deepak Sharma

    Hope you are doing well.

    I'm also able to replicate this issue. Yes agreed, In graph API there is no documentation clearly called it out. But I could able to find some reference related to OneNote Office 365 REST APIs and I think the graph API also behaves the same way as Office 365 REST APIs like before.

    186474-deletepage.png

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".

    Was this answer helpful?

    0 comments No comments

  2. Zehui Yao_MSFT 5,881 Reputation points
    2022-03-24T10:28:25.643+00:00

    Hello @Deepak Sharma , According to my understanding, the delete operation of graph means that the data has been completely removed. You can open a support ticket and ask for help in the Microsoft back end to see if there are any good suggestions.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?


Your answer

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