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 Apps / Creating an Event with...
Power Apps
Answered

Creating an Event with Recurrence

(0) ShareShare
ReportReport
Posted on by 31

I'm attempting to create resource room bookings that bulk upload from a SP List. I had this working at one point but now for some reason, it doesn't work. Right now it will work as long as I do not have recurrence in the code. Here is the working code without the recurrence.

 

ClearCollect(colUpload, ClassroomBookings);
ForAll(colUpload,
Office365Outlook.V4CalendarPostItem(
 CalID,
 Subject,
 Text(DateTimeValue(StartDateTimeCode),DateTimeFormat.LongDateTime24),
 Text(DateTimeValue(EndDateTimeCode),DateTimeFormat.LongDateTime24),
 "(UTC-05:00) Eastern Time (US & Canada)",
 {
 body:Body,
 Location:Location
 }
));

 

 Here is the non-working code (that once worked) with recurrence:

 

ClearCollect(colUpload, ClassroomBookings);
ForAll(colUpload,
Office365Outlook.V4CalendarPostItem(
 CalID,
 Subject,
 Text(DateTimeValue(StartDateTimeCode),DateTimeFormat.LongDateTime24),
 Text(DateTimeValue(EndDateTimeCode),DateTimeFormat.LongDateTime24),
 "(UTC-05:00) Eastern Time (US & Canada)",
 {
 body:Body, 
 Location:Location,
 recurrence:"weekly",
 selectedDaysOfWeek:[U,M,T,W,R,F,S],
 recurrenceEnd:RecurrenceEnd
 }
));

 

The date format for the recurrenceEnd is YYYY-DD-MM format and I have tried several other formats that don't seem to help. I also tried hard coding in the selectedDaysOfWeek and recurrenceEnd which still fail. With the code as is I get an error of :

 

Office365Outlook.V4CalendarPostItem failed: Cannot send undefined records to a service without risk of corrupting data.

 

 

Categories:
I have the same question (0)
  • Verified answer
    vDaddy78 Profile Picture
    31 on at

    As of this date it looks like there is an issue with the reccurance across multiple days. So for now I just made it to where recurrance is for only the single day. If I have something that is a M/W/F occurance there are now 3 seperate calendar entries created.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 426

#2
WarrenBelz Profile Picture

WarrenBelz 381 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 315 Super User 2026 Season 1

Last 30 days Overall leaderboard