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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / OneNote connection issues
Power Automate
Unanswered

OneNote connection issues

(0) ShareShare
ReportReport
Posted on by

So I'm trying to make a flow that connects my google calendar to my OneNote, so that when I add/edit/delete an even on my google calendar, it does the same thing in my OneNote. I'm not entirely sure if this is actually possible, or if it'll just be a chaotic mess of information if I can figure out how to make this work. But anyways, I get an error that basically says that it can't get to my notebook sections; it can access and add the notebook itself, but doesn't have any sections, so it can't pick any pages either, so I can't actually run it because it has nowhere to put the information.

 

I'm super new to this so there's probably just some simple mistake that I'm making, but thanks in advance for taking your time to help me : )

 

Here's the error:

 

Could not retrieve values. The dynamic invocation request failed with error: {
"error": {
"code": 400,
"message": "Error; unknown error code encountered when attempting to retrieve the site Id for the supplied notebook. Code: 40001",
"source": "unitedstates-002.azure-apim.net",
"path": "choose[4]\\when[1]\\choose[2]\\when[1]",
"policyId": "",
"clientRequestId": "36791dd5-8294-4e70-93ee-09cf-306f0b27"
}
}.

 

 

Screenshot (12).png

Categories:
  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @grack ,

     

    Did you create a section in your notebook?

    You could try to delete the action and add it again to check if you can find the section.

     

    Best Regards,

    Wearsky

  • mobashee Profile Picture
    Microsoft Employee on at

    Dear partner,

    I am able to retrieve values for Notebook section, please validate you have a valid section in OneNote
    if you have a valid section, then try to delete the action & revalidate it.
    It should work 🙂

     

    mobashee_0-1630299010216.png

    mobashee_1-1630299026597.png

     

    Did I answer your question? Please consider to mark my post as a solution to help others.

     

    Regards,

    Mohamed Sanuj Basheer

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 273 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 235

#3
David_MA Profile Picture

David_MA 172 Super User 2026 Season 2

Last 30 days Overall leaderboard