Get To-do lists & tasks
Scenario
Get a list of To-do tasks for a user in Microsoft Graph using a GET REST function and display the tasks in a list jig.
Resource links:
List tasks - MS Graph documentation
Required OAuth scope (least to most privilege):
Tasks.Read Tasks.ReadWrite

Examples and code snippets
General
name: ms-graph-demonstrator
title: MS Graph Demonstrator
description: A solution using Microsoft Graph APIs .
category: business
onLoad:
type: action.execute-action
options:
action: full-sync
onRefresh:
type: action.execute-action
options:
action: full-sync
expressions:
today: =$substring($now(), 0, 10)
todayStart: =$toMillis($today)
weekdayStr: =$floor($todayStart/86400000)
weekdayNum: =($weekdayStr + 4) % 7
startOfWeek: =$todayStart - ($weekdayNum * 86400000)
thisWeek: =$startOfWeek + 604800000
next7: =$number($todayStart) + 604800000
tabs:
home:
jigId: home
icon: homeFunctions
MS Graph list To-do tasks function in GitHub.
Jigs
MS Graph list To-do tasks jig in GitHub.
Last updated
Was this helpful?