cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Omi
Helper I
Helper I

Flow to coypy events from one calendar to another calendar

Hi All,

 

I have built one flow to copy events from one calendar to another. This works fine in the developer tenant. When I implemented the same thing in production tenant it is not working. 

 

Please suggest

10 REPLIES 10
JRaasumaa
Memorable Member
Memorable Member


@Omiwrote:

Hi All,

 

I have built one flow to copy events from one calendar to another. This works fine in the developer tenant. When I implemented the same thing in production tenant it is not working. 

 

Please suggest


 

Do you have permissions to access both calendars? Make sure you can write, not just read, from both.

Hi JRaasumaa,

 

Yes I do have edit permissions.

 

Also something starage has happened. suddenly the flow is throwing error in developer tenant, it is getting failed.

Do you know if there is some change has happened?

v-xida-msft
Community Support
Community Support

Hi @Omi,

 

Could you please share a screenshot of your flow's configuration?

Further, could you please show a bit more about the error message?

 

I assume that you want to copy events from one calendar of Outlook to another calendar of Google, is it true? I have made a test on my side and don't have the issue that you mentioned. My flow's configuration as below:

  • Add a proper trigger, here I use Flow Button trigger.
  • Add a "Get events (V2)" action, specify Calendar id.
  • Add a "Filter array" action, From set to output of "Get events (V2)" action. Click "Edit in advanced mode", type the following formula:
@equals(formatDateTime(item()?['DateTimeCreated'], 'MM/dd/yyyy'), utcNow('MM/dd/yyyy'))
  • Add a "Apply to each", input parameter set to output of "Filter array" action.
  • Within "Apply to each", add a "Create an event" action.

Image reference:29.JPG

The flow works successfully as below:30.JPG

 

 

Please check if you have enough permission to access the two calendars. In addition, please check if the connection to the corresponding action is invalid, if yes, please update the connection to these action.

 

Also please consider take a try to re-create a connection to corresponding action and then check if the issue is solved.

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Kris,

I am copying data from one sharepoint calendar to another.

The trigger is based on one ID then based on teh created and modified item the second list should get updated.

 

Please let me know if you need further information.

 

Regards,

Omi

Hi Kris,

 

Please find below the flow configuration.

The Flow is created to copy items from one calendar to another.

Below is the first trigger. This calendar’s name is Calendar and we need to copy the items from this calendar to another calendar called Release calendar.

 

Step 2:

To get items from a list called Business CI. This list has all application which we need to copy to the release calendar.

 

 

Step 3:

Then the next step is a condition where in it check the values. If the title of the Business CI list is equal to the business CI value of the calendar then it should create an item.

 

Step 4:

This is again another calendar. Here based on created and modified date the event should get updated.

 

Step 5:

 

Step 6:

In this step again based on the ID of the event of release calendar item will be updated.

Step 7:

 

I am unable to cpy the screenshots.

The Flow is created to copy items from one calendar to another.

Below is the first trigger. This calendar’s name is Calendar and we need to copy the items from this calendar to another calendar called Release calendar.

Step 2:

To get items from a list called Business CI. This list has all application which we need to copy to the release calendar.

 

 

Step 3:

Then the next s

The Flow is created to copy items from one calendar to another.

Below is the first trigger. This calendar’s name is Calendar and we need to copy the items from this calendar to another calendar called Release calendar.

Step 2:

To get items from a list called Business CI. This list has all application which we need to copy to the release calendar.

 

 

Step 3:

Then the next step is a condition where in it check the values. If the title of the Business CI list is equal to the business CI value of the calendar then it should create an item.

 

Step 4:

This is again another calendar. Here based on created and modified date the event should get updated.

 

Step 5:

 

Step 6:

In this step again based on the ID of the event of release calendar item will be updated.

Step 7:

tep is a condition where in it check the values. If the title of the Business CI list is equal to the business CI value of the calendar then it should create an item.

 

Step 4:

This is again another calendar. Here based on created and modified date the event should get updated.

 

Step 5:

 

Step 6:

In this step again based on the ID of the event of release calendar item will be updated.

Step 71.png2.png3.png4.png5.png6.png7.png

The Flow is created to copy items from one calendar to another.

Below is the first trigger. This calendar’s name is Calendar and we need to copy the items from this calendar to another calendar called Release calendar.

Step 2:

To get items from a list called Business CI. This list has all application which we need to copy to the release calendar.

 

 

Step 3:

Then the next s

The Flow is created to copy items from one calendar to another.

Below is the first trigger. This calendar’s name is Calendar and we need to copy the items from this calendar to another calendar called Release calendar.

Step 2:

To get items from a list called Business CI. This list has all application which we need to copy to the release calendar.

 

 

Step 3:

Then the next step is a condition where in it check the values. If the title of the Business CI list is equal to the business CI value of the calendar then it should create an item.

 

Step 4:

This is again another calendar. Here based on created and modified date the event should get updated.

 

Step 5:

 

Step 6:

In this step again based on the ID of the event of release calendar item will be updated.

Step 7:

tep is a condition where in it check the values. If the title of the Business CI list is equal to the business CI value of the calendar then it should create an item.

 

Step 4:

This is again another calendar. Here based on created and modified date the event should get updated.

 

Step 5:

 

Step 6:

In this step again based on the ID of the event of release calendar item will be updated.

Step 71.png2.png3.png4.png5.png6.png7.png

Hi Kris,

 

Please let me know if you were able to find any thing on the flow issue.

 

Regards,

Omi

Hi Kris,

 

Now in the flow create item has started working but update item is not at all working.

 

Please suggest.

 

Regards,

Omi

oemmanuelli
Regular Visitor

Hi All:

 

Hopefully you can shed some light.  Can this type of FLOW work based on an "IF AN ITEM IS ADDED BY USER X COPY TO CALENDAR X" or something of the like?

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,833)