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 / Outlook Tasks Connecto...
Power Apps
Answered

Outlook Tasks Connector Expects Record(?) for DueDateTime

(0) ShareShare
ReportReport
Posted on by 94

Hi,

 

I am currently building a canvas app to help me with daily planning on the various apps I use at home and at work, and the button I am working on at the moment returns an error on my Power Fx whilst trying to use the Outlook Tasks Connector because the DueDateTime value isn't a record.

 

This seems to be in conflict with what the documentation says where DueDateTime should expect a Date type according to Microsoft's documentation: Outlook Tasks - Connectors | Microsoft Docs

 

Code explained: Create a task where Subject = TextInput1_1, Folder ID = the ID which we lookup from the Dropdown1_1.SelectedText.Value which stores the label/friendly name of the Folder in a dropdown, and finally where I get the error DueDateTime = selected date from DatePicker1_1.

 

 

 

OutlookTasks.CreateTaskV3(
 TextInput1_1,
 {
 folderId: (LookUp(
 MyToDoFolders,
 Name = Dropdown1_1.SelectedText.Value,
 Id
 )),
 DueDateTime: DatePicker1_1.SelectedDate
 }
);

 

 

 

"Incompatible Type. The 'DueDateTime' column in the data source that you're updating expects a 'Record' type and you're using a 'Date' type.

 

AaronKGumbs_0-1659016577762.png

 

Can anyone advise if this is a bug, or whether I am doing something wrong please?

 

Thanks,

Aaron

 

 

Categories:
  • Verified answer
    AaronKGumbs Profile Picture
    94 on at

    I've managed to solve this myself this afternoon using the following code:

    DueDateTime: {DateTime: DateAdd(DatePicker1_1.SelectedDate,60,Minutes), TimeZone: UTC}

    The question now is whether this is whether this is a product bug or whether the documentation is incorrect. 

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 Apps

#1
11manish Profile Picture

11manish 339 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 289

#3
Mohsin Ali Profile Picture

Mohsin Ali 228

Last 30 days Overall leaderboard