cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
spatel
Frequent Visitor

copy event notes to OneNote from Outlook calendar

Hello,

 

I am trying to setup flow , that copy all event from now to all future event from Outlook Calender to OneNote (My Notes) section. 

 

some how its not working

 

here are the snapshot

 

flow 1.jpg

 

Thank you!

18 REPLIES 18
AlanPs1
Resident Rockstar
Resident Rockstar

Hi @spatel , thank you for your post.

From your description, you say you want to "copy all event from now to all future event".

Based on this, it doesn't sound to me that you would need your condition.

Could the Flow you want just be the following perhaps?Capture-431.png

I have tested this and it is working, although when I edit an existing event this happens:Capture-432.png

So I have made the following changes:Capture-433.png

Just some food for thought above, but in simple terms ... When you say:

"I am trying to setup flow , that copy all event from now to all future event from Outlook Calender to OneNote (My Notes) section. "

 

I cannot see any need for the condition you are using. To copy "All" events, thre is no need for a condition.

 

If you have found my post helpful, please mark thumbs up.

 

Any other questions, just ask.

 

Thanks, Alan

Hello Alan,

 

Thank you!

 

could you please advice on following question?

condition.jpg

 

Thank you

Hello Alan,

 

Well i followed the same path that you have provided and it work well with first event creation and i added other event to calender and it failed and error message says "

An item with this name already exists in this location" is there a way tha if can keep loop running even the event is not updated the exsisiting one. 
 
and it only grabbing the current date event not the all event that we laready created for future event.
 
Please advice, if i am doing incorrect steps!
 
Thank you very much

 

 

conflict with error.jpg

Hi @spatel 

In your OneNote notebook, what are the names of the sections you have in there at present?

Is there a section called "Test Event" already perhaps?

 

Maybe post a picture of your onenote so I can see the names of the sections you have in there already.

 

If you have found my post helpful, please mark thumbs up.

 

Any other questions, just ask.

 

Thanks, Alan

Hello Alan,

 

Please see snapshot of OneNote.

 

Note: it takes a while to create a section, is there a condition that i can add as soon as event created it create a OneNote section.

 

Test Event.jpg

 

Thank you!

Hi Spatel.

Forgive me if I am missing anything. But you have a section called “Test Event”. It can’t create another with the same name hence the error.

Thanks, Alan.

Hello Alan,

 

From outlook it only one "Test Event" created from calender and through FLOW it create a OneNote Section, as soon as it created if i test run and it failed with conflict error "

An item with this name already exists in this location". now my question is, is there a way that if i can avoid these conflict error and let the exsisting event from outlook to update to OneNote. in this case if my event fromoutlook updated or not updated then still FLOW look will run and check if necessary to update the exsisitng event or not but still it will not throw any error. it jusy the sync cycle will continue. and once the evet date expire then it will close the connection and flow will start to sync event from outlook caleder on next date.
 
Please advice!
 
Thank you

Hi @spatel , thank you for the clarification ... 2 things to consider.

1) when testing, as there is already a section, the test will always fail as you are trying to recreate a section with the same name.

2) Please see the further enhancement I have made, it creates a page within the section if the section is found to exist.Capture-445.png

When I do this using the same section name, let's say test event, I get the following in OneNote:Capture-446.png

It creates a new page called "untitled page" within the existing section:

The value I have used in "Notebook Selection" is:

items('Apply_to_each')?['pagesUrl']

The action to use in the "No" branch is called "Create page in a section". I can't see a way to name these pages (OOTB) but at least there is a way to add multiple updates to a section and also avoid the conflict.

 

Please give it a try.

 

If you have found my post helpful, please mark thumbs up.

 

Any other questions, just ask.

 

Thanks, Alan

Hell Alan,

 

Thank you very much for help!

 

Still it's not working see below snapshot!

 

 

Updated flow error.jpgUpdated flow.jpg

Hi @spatel 

The error is on the left hand side, it is showing conflict againCapture-447.png

Can you please try creating a completely new email with a completely diferent subject and allowing the Flow to trigger normally.

Once you have done that, run the test flow again and see what happens.

It is working for me when I do this.

 

If you have found my post helpful, please mark thumbs up.

 

Any other questions, just ask.

 

Thanks, Alan

FYI

 

ERROR : The caller with object id '4253d68d-cd70-4408-95f8-fb776157d639' does not have permission for connection '7bfd1acb-296e-4050-9205-c61c6acde498' under Api 'shared_logicflows'.

error.jpg

Hi @spatel 

This looks to be a diferent issue. Some information on that here - https://powerusers.microsoft.com/t5/Using-Flows/Invalid-Connection-error-on-a-Flow-that-has-been-wor...

 

Looks to be permission related and was resolved after a few hours. Maybe you could recreate the connection to the connectors you are using.

 

If you have found my post helpful, please mark thumbs up.

 

Any other questions, just ask.

 

Thanks, Alan

Hello Alan,

 

It ran yestereday succesfully and i ran today in morning and it failed only with both YES/ NO Condition "Create a section OneNote"

history.jpgupdate.jpg

 

OneNote: auto sync few minutes ago and it popup " Monday Test" with body message that was created yesterday.

OneNote.jpg

 

Hi @spatel .

 

If I am understanding correctly, is that it all working for you now?

 

If so, in order to assist the other forum users when they search, can you please click "Accept as solution"

 

If you have found my post helpful, please mark thumbs up.

Any other questions, just ask.

Thanks, Alan

Hello Alan

 

Well it work and not. while i manually test condition YES and NO both failed, may i know why? beside i can see the event created in onenote but it did not include the BODY message from OneNote!

 

also i have many event already created in Outlook calender from current date to future date. then why it not create all those future event in OneNote? it just create a current date!

 

Thank you,

Sagar Patel

Hello Alan,

 

Finally it fixed through following snapshot (i added second condition in apply to each)

Now: only error is exsisit is it create page in section ( i mean it duplcating the same event while it run)

how do i stop to duplicate?

how do i make trigger, if there is outlook calender evetn chnages then update the exsisitng page in OneNote ection?

fixed.jpg

 

items('Apply_to_each')?['pagesUrl']

above value copy the event from calender to OneNote but some how it copy the same event in all section and on your image attached Note for event 1 is keep generiing Untiled page as many while it sync.

whta i am looking that it update the exsiting untitled page insted of generating more untitled page.

 

Hi @spatel , sorry for the late reply. 

As far as I can see there are no actions that allow you to either ...

1) Update a section

2) Update a page in a section

 

Only to create.

 

So, out the box it doesn't look possible. You could consider creating a custom connector to see if you can get it working maybe, but that will take you into "developer territory",

 

If you have found my post helpful, please mark thumbs up.

Any other questions, just ask.

Thanks, Alan

Helpful resources

Announcements

Community will be READ ONLY July 16th, 5p PDT -July 22nd

Dear Community Members,   We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd.   During this period, members will not be able to Kudo, Comment, or Reply to any posts.   On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities.   What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!

Summer of Solutions | Week 4 Results | Winners will be posted on July 24th

We are excited to announce the Summer of Solutions Challenge!    This challenge is kicking off on Monday, June 17th and will run for (4) weeks.  The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions to as many questions as you can. Answers can be provided in all the communities.    Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”)   - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024   Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods.  You must enter into each weekly Entry Period separately.   How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different.    Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers.  At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing.  Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner.  A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random.  Individuals will be contacted before the announcement with the opportunity to claim or deny the prize.  Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners.   Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event.   ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE**   Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Community MembersNumber SolutionsSuper UsersNumber Solutions Deenuji 9 @NathanAlvares24  17 @Anil_g  7 @ManishSolanki  13 @eetuRobo  5 @David_MA  10 @VishnuReddy1997  5 @SpongYe  9JhonatanOB19932 (tie) @Nived_Nambiar  8 @maltie  2 (tie)   @PA-Noob  2 (tie)   @LukeMcG  2 (tie)   @tgut03  2 (tie)       Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 2: Community MembersSolutionsSuper UsersSolutionsPower Automate  @Deenuji  12@ManishSolanki 19 @Anil_g  10 @NathanAlvares24  17 @VishnuReddy1997  6 @Expiscornovus  10 @Tjan  5 @Nived_Nambiar  10 @eetuRobo  3 @SudeepGhatakNZ 8     Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 3:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji32ManishSolanki55VishnuReddy199724NathanAlvares2444Anil_g22SudeepGhatakNZ40eetuRobo18Nived_Nambiar28Tjan8David_MA22   Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 4:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji11FLMike31Sayan11ManishSolanki16VishnuReddy199710creativeopinion14Akshansh-Sharma3SudeepGhatakNZ7claudiovc2CFernandes5 misc2Nived_Nambiar5 Usernametwice232rzaneti5 eetuRobo2   Anil_g2   SharonS2  

Check Out | 2024 Release Wave 2 Plans for Microsoft Dynamics 365 and Microsoft Power Platform

On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners.    The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights.    Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.    

Updates to Transitions in the Power Platform Communities

We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for.  We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer.   Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together.   Here's to new beginnings and endless possibilities!   If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport.   To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages

Users online (1,412)