web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : Li8MnnzBizB0fYQlrXn3+Q
Power Automate - Building Flows
Unanswered

Error; the requested notebook or section may have been deleted or is otherwise inaccessible.

Like (0) ShareShare
ReportReport
Posted on 30 Apr 2019 19:55:05 by 249

I am using the OneNote action Create section in a notebook but cannot get the Notebook to connect to the Flow. The error is Action 'Create section in a notebook 2' failed and the error details are the requested notebook or section may have been deleted or is otherwise inaccessible. I am choosing the Notebook Key parameter from the dropdown. All my notebooks are in a SharePoint library and I can see them all. This is failing for multiple notebooks. Trigger action is When an item is created. In the error details, the Notebook key looks good: Name of my Notebook|$|https://contoso.com/sites/accounting/Shared Documents/Name of my notebook

Any suggestions?

  • matteomessmer Profile Picture
    9 on 05 Jul 2024 at 10:24:40
    Re: Error; the requested notebook or section may have been deleted or is otherwise inaccessible.

    Does anyone have any idea whether it can be solved? Has a ticket ever been opened in microsoft? It's quite an annoying bug

  • ScottT2 Profile Picture
    14 on 15 Jul 2022 at 15:36:35
    Re: Error; the requested notebook or section may have been deleted or is otherwise inaccessible.

    This seems to be a know issue with the OneNote actions.  I've done some testing.  It fails for newly created Notebooks.  But in my testing it will eventually work after some hours... not sure the exact time frame.

     

    I also verified this by running the Get Recent Notebooks action.  I created a notebook.  Ran a flow with this action and that notebook is not in the array of notebooks that is returned.   I ran it again the next day and it was there.

     

    So this is def a bug... as typical with Microsoft!

  • Mattw112b Profile Picture
    1,084 on 05 Jun 2019 at 14:57:15
    Re: Error; the requested notebook or section may have been deleted or is otherwise inaccessible.

    I am having same issue and have verified the name before the $ is fine.

  • v-lin-msft Profile Picture
    728 on 02 May 2019 at 05:21:32
    Re: Error; the requested notebook or section may have been deleted or is otherwise inaccessible.

    Hi @cooper33 ,

     

    I have made a test on my side and the flow works well, and I also reproduce your problem.

    Succeed:52_1.png

    Failed:52_2.jpg

    "message": "Error; the requested notebook or section may have been deleted or is otherwise inaccessible."

    According to these two screenshots, we can see that your problem may be that you filled in the wrong name of Notebook, so the Key of Notebook is wrong. Please make sure that the name of Notebook before '[$]Https' is correct, and then try it again.

     

    Best Regards,

    Community Support Team _ Lin Tu

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • cooper33 Profile Picture
    249 on 30 Apr 2019 at 21:35:24
    Re: Error; the requested notebook or section may have been deleted or is otherwise inaccessible.

    I have also tried initializing a variable (string) and setting it to text value, then plugging the value into the Title section which did not change the error I got

    The Flow is working when I create a new Notebook and add the section there. But not with my original notebook which is where I want to create the section

  • Brad_Groux Profile Picture
    4,556 on 30 Apr 2019 at 20:57:28
    Re: Error; the requested notebook or section may have been deleted or is otherwise inaccessible.

    If you'll review the OneNote Connector documentation, you'll notice that the Create a Section in a Notebook action require that the Name of the new section be a string. Currently, it looks like you are putting in the plain text of Test, which would not be a string. So, you should either pass in Dynamic content like the Name or ID parameter from the When an item is created trigger, or you need to covert your text to a string using an expression

    I just created and ran the following test Flow without issue: CreateOneNoteSection-String.png

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • cooper33 Profile Picture
    249 on 30 Apr 2019 at 20:36:20
    Re: Error; the requested notebook or section may have been deleted or is otherwise inaccessible.

    Here is my Flow configuration (simplified from original) and also the error details

    FlowConfig.PNGFlowError.PNG

  • Brad_Groux Profile Picture
    4,556 on 30 Apr 2019 at 20:30:44
    Re: Error; the requested notebook or section may have been deleted or is otherwise inaccessible.

    If you could provide an expanded screenshot of your Flow and steps, and of any detailed error messages you're receiving, we could likely better assist you. Obviously, you'd want to redact any personal information from the screenshot before sharing - but the more information we have, the better.

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • cooper33 Profile Picture
    249 on 30 Apr 2019 at 20:26:10
    Re: Error; the requested notebook or section may have been deleted or is otherwise inaccessible.

    Thanks for the suggestion. Still getting the same error

  • Brad_Groux Profile Picture
    4,556 on 30 Apr 2019 at 20:14:40
    Re: Error; the requested notebook or section may have been deleted or is otherwise inaccessible.

    Try removing and re-adding and/or refreshing the connection to OneNote from within the Flow Connections page. Connections.png

    You can do so by clicking the ellipsis (...) for the OneNote connection (red circle), and then selecting Switch Account to re-login, or to Delete to completely remove the connector (red box). If you choose to Delete the connector, you would simply re-add it as you normally would.OneNoteConnectionRefresh.png

    Then, in your Flow, click the ellipsis (...) for the OneNote step or steps (red circle), and verify that you have the correct account selected under the My connections heading. OneNoteChooseAccount.pngFinally, if you are still having issues, insure once more that the account(s) that you are trying to use within the Flow have full read/write access to the SharePoint team site(s) where the OneNote notebook(s) is.

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete