Get your To Do tasks daily in Teams using Power Automate

Published Jan 12 2021 03:12 PM 2,896 Views

This blog post is inspired by Ayca Bas's excellent blog post on this subject using Azure Logic Apps instead of Power Automate

Introduction

Microsoft To Do is a great tool for allowing you to keep lists of tasks across your personal and work life. This could be something as simple as a shopping list or a project or anything that can be split down into individual tasks.

 

With the release of the To Do APIs in Microsoft Graph, it is now possible to integrate with your To Do tasks outside of To Do.

 

Teams.png

 

A Helpful Reminder

Whilst you can set reminders against tasks in To Do, wouldn't it be awesome to have these surface outside of the To Do app too? Before we start, make sure you have some pending tasks on your Tasks list in To Do!

 

ToDo.png

 

In this article, we will go over how we can have Power Automate send your outstanding tasks daily into Microsoft Teams. To achieve this, we will undertake the following:

  • Learn how to interact with the Microsoft Graph To Do APIs in Microsoft Graph Explorer
  • Register an Azure Active Directory app
  • Create a Power Automate Custom Connector to interface with the Microsoft Graph To Do APIs
  • Create a Power Automate Flow to automate sending tasks to Microsoft Teams using the Microsoft Teams Flow Bot

 

Microsoft Graph To Do APIs in Graph Explorer

To understand how the Microsoft Graph To Do API queries work, let's use Microsoft Graph Explorer to make a query against your own data. The first task is to select Sign in to Graph Explorer. Microsoft Graph Explorer is a great web-based tool for using Microsoft Graph without having to create anything yourself. If you want to test something will work (before you create your app) or try out a new command, this is the quickest and easiest way to do so.

 

Once signed in, under the Getting Started section of Sample queries run the my To Do task lists query. This should run the query of https://graph.microsoft.com/v1.0/me/todo/lists and return your task lists.

 

GraphExplorer.png

You will notice inside the response there is a task list with an id. Using the id, change the address of the query to https://graph.microsoft.com/v1.0/me/todo/lists/{taskListId}/tasks, with {taskListId} being replaced with the id in the response.

 

If the task lists response contains multiple task lists, don't worry, just choose the list with the name Tasks

Based on my response above, my query would be https://graph.microsoft.com/v1.0/me/todo/lists/AQMkAGYxYjhlNDIxLTRlN2YtNGMwNi1hYzg2LTJmMzVkMDYxYzQ1N...

 

GraphExplorer2.png

 

Ensure you set the request type to GET and the version to v1.0

Take a copy of your request address as we will need that later on.

 

Register an app in Azure Active Directory

To be able to read your To Do task data using Microsoft Graph, we will need to grant an Azure AD application permission to access it.

 

This app registration can be used for more than one user, should you wish for multiple users to use this solution, the same registration can be used for each Power Automate Flow

Registration

First, go to Azure Active Directory in the Azure Portal. Under App registrations select New registration from the top menu.

 

AADApp.png

 

Give the app an arbitrary Name e.g. To Do_PowerAutomate, leave Supported account types and Redirect URI with the default values. Select Register to create the app.

 

AADApp2.png

 

With the app created, take note of the Application (client) ID as this will be needed later.

 

AADApp3.png

 

Create a secret

Next, we need to create a secret under Certificates and secrets on the left-hand menu. To create a secret, select New client secret and give the secret a Description and when it Expires.

 

AADApp4.png

AADApp5.png

 

Before the next step, take a copy of the Value of the secret and store it securely somewhere. This has to be copied now as once we move away the secret value will be hidden.

 

AADApp6.png

 

Assign Microsoft Graph permissions

Finally, we need to assign Microsoft Graph To Do permissions to our app. This allows our app to query To Do APIs in Microsoft Graph as we did in Microsoft Graph Explorer earlier.

 

Under API permissions on the left-hand menu, select Add a permission.

 

AADApp7.png

 

Select Microsoft Graph as the Microsoft API and Delegated permissions. Search for Tasks and choose the Tasks.Read permission and select Add permissions.

 

AADApp8.png

 

You should now see Tasks.Read under Configured permissions.

 

Tasks.Read is one of many different API permissions in Graph. Helpfully, there is a full breakdown of the different Microsoft Graph Permissions

AADApp9.png

 

That is all we need to do here for now, but there is one final step to be done, later on, so leave the page open in your browser.

 

Create Power Automate Custom Connector

Moving over to Power Automate, we need to create a Custom Connector. A Custom Connector is a way of interfacing with APIs in specific ways, in our case - talking to Microsoft Graph and obtaining our list of tasks.

 

To create a Custom Connector, go to Data > Custom connectors on the left-hand menu in Power Automate. Here, select New custom connector and Create from blank

 

PA.png

 

Give your connector an arbitrary Connector name e.g. To Do_Connector and choose Continue

 

PA2.png

 

For the first step, we need to specify the Host as graph.microsoft.com and select Security to move on to the next step.

 

PA3.png

 

For security, set as follows:

  • Authentication type: OAuth 2.0
  • Identity Provider: Azure Active Directory
  • Client id: Application (client) ID we noted down when creating the Azure AD app
  • Client secret: Client secret we noted down when creating the Azure AD app
  • Resource URL: https://graph.microsoft.com with no trailing /
  • Everything else can be left as it is

Select Definition to move on to the next step.

 

PA4.png

 

We now need to create an Action. An Action is an operation that our connector will perform when asked. In our case, our connector will retrieve our To Do tasks for us.

 

Select New action and provide the action with the following:

  • Summary: A summary of what the action is doing e.g. Get To Do tasks
  • Description: A more in-depth description on what the action is doing e.g. Get To Do tasks for signed-in user
  • Operation ID: Unique identifier of the action. Use GetToDoTasks
  • Visibility: Important

 

PA5.png

 

Under the Request section, we need to provide it with sample data so the action understands what the data from Microsoft Graph will look like. Choose Import from sample and provide the following:

Select Import

 

PA6.png

 

Finally, select Create connector at the top right. Once saved, go to the Security section and copy the Redirect URI

 

PA7.png

 

If we now briefly head back to the Azure AD App with the Redirect URI. Under Authentication, select Add a platform and paste the Redirect URI you copied into the Redirect URIs text box. Select Configure to add it.

 

AADApp10.png

 

Create Power Automate Flow

Now we are going to tie everything together with a Power Automate Flow. A Flow is essentially a no/low code way to script something. In our case, we are scripting retrieving our To Do tasks and sending them into Microsoft Teams.

 

To do this, head back the Power Automate and select Create from the left-hand menu and choose Scheduled cloud flow.

 

PA8.png

 

By sheduling this flow trigger type, it can be scheduled to run as frequently as you like.

Give your flow a Name and set a Repeat every of 1 Day. Once done, select Create

 

PA9.png

As this is a Flow, the logic will behave as a flow chart would. Under the Recurrance trigger, we need to add some additional steps to the Flow.

 

To start, select New step and here we need to find the action we created. The quickest way is to change the type to Custom and then select it under Actions.

 

PA10.png

 

Next, you need to sign in to your account to get your tasks.

 

As mentioned earlier, this can be used in multiple flows, allowing a whole team to use the connector to get their own tasks

PA11.png

 

During the sign-in process, you will need to consent the app to read your task lists.

 

PA12.png

 

Before we go any further, select Save at the top of the page and then go back to My flows. Hover over the Flow you created and choose Run.

 

PA13.png

 

Hopefully, it was successful and you can see the result in the Flow Runs Page.

 

PA14.png

 

Looking at the body of the Output there is some data (which is the same as what was shown in Graph Explorer earlier). Copy the body output and then select Edit at the top of the page to finish off the last bits of the Flow.

 

PA15.png

 

The body output is great in JSON format, but we need to be able to split it down into smaller chunks (tasks). To do this, we need to be able to parse (read) the JSON output. Add a Parse JSON step and set the Content as Body. To create a Schema choose Generate from sample.

 

PA16.png

 

Paste in the body output from earlier and select Done.

 

PA17.png

 

The next step we need to add is Initialize variable. We need to create an Array. An array is a collection of values or objects. In our case, ours is a collection of tasks. Give the variable the name of Tasks and set the type to Array.

 

PA18.png

 

After creating the Tasks array, we need to populate it with the tasks. This is achieved by adding an Apply to each step. A Apply to each is a type of loop. In our case, it will loop through all the tasks in our body JSON we parsed earlier and pick out the values for each task.

 

Start by adding an Apply to each loop and selecting value output from Parse JSON

 

PA19.png

 

Next, within the Apply to each step, Add an action and choose Compose. This will take a specific value from the task. Under inputs, choose title under Parse JSON.

 

PA20.png

 

The next step we need to add in the loop is an Append to array variable. We will use this to add the task title to the Tasks array we created earlier. Set the Value to the Outputs of Compose.

 

PA21.png

 

Now we should have a list of tasks ready to use. The next step is to send these to us in Teams. To do this, we need to add Post a choice of options as the Flow bot to a user, making sure this is added after the Apply to each and not inside it.

 

Before entering any details, change the options type to an array by clicking the T icon.

 

PA22.png

 

Now, add the following:

  • Options: Tasks variable
  • Recipient: The same account you signed in to the Flow with
  • Message: Something like Hey, here are your outstanding tasks for today
  • Headline: Something like Your tasks for the day
  • IsAlert: Yes - This makes it so you are notified of the message in Teams

 

PA23.png

 

If you were to run the Flow now, you will see the list of tasks appear in Teams. However, choosing any of the tasks doesn't do anything.

 

Teams.png

 

Back in the Flow, we need to fix it so when an option (task) is chosen, we do something with it. Add another Apply to each and like the previous loop, select value output from Parse JSON.

 

PA24.png

 

Within this Apply to each step, Add an action and choose Condition. A Condition is a way to verifying a value is what we want/don't want. In our scenario, we are looping through tasks and looking for the one that matches what the user selected in Teams. To do this set the first value as selectedOption under Post a choice... and the second value is title under Parse JSON.

 

PA25.png

 

We now need to act upon when the condition is met (the task equals the chosen option in Teams). Under If yes, add Post message as the Flow bot to a user. Complete it as follows:

  • Recipient: The same account you signed in to the Flow with
  • Message: A message containing the details of the task (see image)
  • Headline: Title from Parse JSON
  • IsAlert: Yes - This makes it so you are notified of the message in Teams

 

PA26.png

 

Leave If no blank.

 

Finishing up

If you now run the Flow it should send you a message with your tasks.

 

Teams2.png

 

Choosing a task will then return details on that task.

 

Teams3.png

 

Congratulations, you have now managed to create an Azure AD application, talk to Microsoft Graph, pass that into Power Automate and on to Teams!

This is post is cross-posted at my personal blog

3 Comments
Frequent Contributor

Great article Lee!

Hey @Brian Smith thank you for your nice comment! May I ask which kind of content you are interested in? What would you like to read in Microsoft 365 PnP Community? 

Frequent Contributor

Automation around managing Microsoft 365 always gets my attention @Luise Freese .  Good use of the Graph API or the M365 Communications API, and of course wrapping this all up with Power Automate.

%3CLINGO-SUB%20id%3D%22lingo-sub-2053519%22%20slang%3D%22en-US%22%3EGet%20your%20To%20Do%20tasks%20daily%20in%20Teams%20using%20Power%20Automate%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2053519%22%20slang%3D%22en-US%22%3E%3CBLOCKQUOTE%3E%3CP%3EThis%20blog%20post%20is%20inspired%20by%20Ayca%20Bas's%20%3CA%20href%3D%22https%3A%2F%2Fdev.to%2Fazure%2Fget-your-to-do-tasks-every-morning-on-microsoft-teams-using-azure-logic-apps-3ci1%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Eexcellent%20blog%20post%3C%2FA%3E%20on%20this%20subject%20using%20Azure%20Logic%20Apps%20instead%20of%20Power%20Automate%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3CP%3E%3CFONT%20size%3D%225%22%3E%3CSTRONG%3EIntroduction%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3EMicrosoft%20To%20Do%20is%20a%20great%20tool%20for%20allowing%20you%20to%20keep%20lists%20of%20tasks%20across%20your%20personal%20and%20work%20life.%20This%20could%20be%20something%20as%20simple%20as%20a%20shopping%20list%20or%20a%20project%20or%20anything%20that%20can%20be%20split%20down%20into%20individual%20tasks.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWith%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-gb%2Fgraph%2Ftodo-concept-overview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Erelease%20of%20the%20To%20Do%20APIs%20in%20Microsoft%20Graph%3C%2FA%3E%2C%20it%20is%20now%20possible%20to%20integrate%20with%20your%20To%20Do%20tasks%20outside%20of%20To%20Do.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Teams.png%22%20style%3D%22width%3A%20559px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245849i3FA0C05920113D92%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Teams.png%22%20alt%3D%22Teams.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%225%22%3E%3CSTRONG%3EA%20Helpful%20Reminder%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3EWhilst%20you%20can%20set%20reminders%20against%20tasks%20in%20To%20Do%2C%20wouldn't%20it%20be%20awesome%20to%20have%20these%20surface%20outside%20of%20the%20To%20Do%20app%20too%3F%20Before%20we%20start%2C%20make%20sure%20you%20have%20some%20pending%20tasks%20on%20your%20%3CSTRONG%3ETasks%3C%2FSTRONG%3E%20list%20in%20To%20Do!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22ToDo.png%22%20style%3D%22width%3A%20534px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245688i7EA647F5E44B6DDA%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22ToDo.png%22%20alt%3D%22ToDo.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20this%20article%2C%20we%20will%20go%20over%20how%20we%20can%20have%20Power%20Automate%20send%20your%20outstanding%20tasks%20daily%20into%20Microsoft%20Teams.%20To%20achieve%20this%2C%20we%20will%20undertake%20the%20following%3A%3C%2FP%3E%3CUL%3E%3CLI%3ELearn%20how%20to%20interact%20with%20the%20Microsoft%20Graph%20To%20Do%20APIs%20in%20%3CA%20href%3D%22https%3A%2F%2Fdeveloper.microsoft.com%2Fgraph%2Fgraph-explorer%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EMicrosoft%20Graph%20Explorer%3C%2FA%3E%3C%2FLI%3E%3CLI%3ERegister%20an%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Factive-directory%2Fdevelop%2Fquickstart-register-app%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20Active%20Directory%20app%3C%2FA%3E%3C%2FLI%3E%3CLI%3ECreate%20a%20Power%20Automate%20Custom%20Connector%20to%20interface%20with%20the%20Microsoft%20Graph%20To%20Do%20APIs%3C%2FLI%3E%3CLI%3ECreate%20a%20Power%20Automate%20Flow%20to%20automate%20sending%20tasks%20to%20Microsoft%20Teams%20using%20the%20Microsoft%20Teams%20Flow%20Bot%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%225%22%3E%3CSTRONG%3EMicrosoft%20Graph%20To%20Do%20APIs%20in%20Graph%20Explorer%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3ETo%20understand%20how%20the%20Microsoft%20Graph%20To%20Do%20API%20queries%20work%2C%20let's%20use%20%3CA%20href%3D%22https%3A%2F%2Fdeveloper.microsoft.com%2Fgraph%2Fgraph-explorer%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EMicrosoft%20Graph%20Explorer%3C%2FA%3E%20to%20make%20a%20query%20against%20your%20own%20data.%20The%20first%20task%20is%20to%20select%20%3CSTRONG%3ESign%20in%20to%20Graph%20Explorer%3C%2FSTRONG%3E.%20Microsoft%20Graph%20Explorer%20is%20a%20great%20web-based%20tool%20for%20using%20Microsoft%20Graph%20without%20having%20to%20create%20anything%20yourself.%20If%20you%20want%20to%20test%20something%20will%20work%20(before%20you%20create%20your%20app)%20or%20try%20out%20a%20new%20command%2C%20this%20is%20the%20quickest%20and%20easiest%20way%20to%20do%20so.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOnce%20signed%20in%2C%20under%20the%20%3CSTRONG%3EGetting%20Started%3C%2FSTRONG%3E%20section%20of%20%3CSTRONG%3ESample%20queries%3C%2FSTRONG%3E%20run%20the%20%3CSTRONG%3Emy%20To%20Do%20task%20lists%3C%2FSTRONG%3E%20query.%20This%20should%20run%20the%20query%20of%20%3CEM%3E%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fme%2Ftodo%2Flists%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fme%2Ftodo%2Flists%3C%2FA%3E%3C%2FEM%3E%20and%20return%20your%20task%20lists.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22GraphExplorer.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245753iED0171EDC50DAC9D%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22GraphExplorer.png%22%20alt%3D%22GraphExplorer.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EYou%20will%20notice%20inside%20the%20response%20there%20is%20a%20task%20list%20with%20an%20%3CEM%3Eid%3C%2FEM%3E.%20Using%20the%20%3CEM%3Eid%3C%2FEM%3E%2C%20change%20the%20address%20of%20the%20query%20to%20%3CEM%3E%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fme%2Ftodo%2Flists%2F%7BtaskListId%7D%2Ftasks%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fme%2Ftodo%2Flists%2F%7BtaskListId%7D%2Ftasks%3C%2FA%3E%3C%2FEM%3E%2C%20with%20%3CEM%3E%7BtaskListId%7D%3C%2FEM%3E%20being%20replaced%20with%20the%20%3CEM%3Eid%3C%2FEM%3E%20in%20the%20response.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CBLOCKQUOTE%3E%3CP%3EIf%20the%20task%20lists%20response%20contains%20multiple%20task%20lists%2C%20don't%20worry%2C%20just%20choose%20the%20list%20with%20the%20name%20%3CEM%3ETasks%3C%2FEM%3E%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3CP%3EBased%20on%20my%20response%20above%2C%20my%20query%20would%20be%20%3CEM%3E%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fme%2Ftodo%2Flists%2FAQMkAGYxYjhlNDIxLTRlN2YtNGMwNi1hYzg2LTJmMzVkMDYxYzQ1NQAALgAAA_Q4rkw0lJdNrFQfLSNpWB8BAA_o0Quzv4FCs60F7sB5NAAAAwESAAAA%2Ftasks%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fme%2Ftodo%2Flists%2FAQMkAGYxYjhlNDIxLTRlN2YtNGMwNi1hYzg2LTJmMzVkMDYxYzQ1NQAALgAAA_Q4rkw0lJdNrFQfLSNpWB8BAA_o0Quzv4FCs60F7sB5NAAAAwESAAAA%2Ftasks%3C%2FA%3E%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22GraphExplorer2.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245757i889702901E927AC7%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22GraphExplorer2.png%22%20alt%3D%22GraphExplorer2.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CBLOCKQUOTE%3E%3CP%3EEnsure%20you%20set%20the%20request%20type%20to%20%3CEM%3EGET%3C%2FEM%3E%20and%20the%20version%20to%20%3CEM%3Ev1.0%3C%2FEM%3E%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3CP%3ETake%20a%20copy%20of%20your%20request%20address%20as%20we%20will%20need%20that%20later%20on.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%225%22%3E%3CSTRONG%3ERegister%20an%20app%20in%20Azure%20Active%20Directory%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3ETo%20be%20able%20to%20read%20your%20To%20Do%20task%20data%20using%20Microsoft%20Graph%2C%20we%20will%20need%20to%20grant%20an%20Azure%20AD%20application%20permission%20to%20access%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CBLOCKQUOTE%3E%3CP%3EThis%20app%20registration%20can%20be%20used%20for%20more%20than%20one%20user%2C%20should%20you%20wish%20for%20multiple%20users%20to%20use%20this%20solution%2C%20the%20same%20registration%20can%20be%20used%20for%20each%20Power%20Automate%20Flow%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3CP%3E%3CFONT%20size%3D%224%22%3E%3CSTRONG%3ERegistration%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3EFirst%2C%20go%20to%20%3CSTRONG%3EAzure%20Active%20Directory%3C%2FSTRONG%3E%20in%20the%20%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EAzure%20Portal%3C%2FA%3E.%20Under%20%3CSTRONG%3EApp%20registrations%3C%2FSTRONG%3E%20select%20%3CSTRONG%3ENew%20registration%3C%2FSTRONG%3E%20from%20the%20top%20menu.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AADApp.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245759i56DFC5535ED9BB02%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22AADApp.png%22%20alt%3D%22AADApp.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGive%20the%20app%20an%20arbitrary%20%3CSTRONG%3EName%3C%2FSTRONG%3E%20e.g.%20%3CEM%3ETo%20Do_PowerAutomate%3C%2FEM%3E%2C%20leave%20%3CSTRONG%3ESupported%20account%20types%3C%2FSTRONG%3E%20and%20%3CSTRONG%3ERedirect%20URI%3C%2FSTRONG%3E%20with%20the%20default%20values.%20Select%20%3CSTRONG%3ERegister%3C%2FSTRONG%3E%20to%20create%20the%20app.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AADApp2.png%22%20style%3D%22width%3A%20825px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245760i1F42F39516307165%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22AADApp2.png%22%20alt%3D%22AADApp2.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWith%20the%20app%20created%2C%20take%20note%20of%20the%20%3CSTRONG%3EApplication%20(client)%20ID%3C%2FSTRONG%3E%20as%20this%20will%20be%20needed%20later.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AADApp3.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245761iBDE27564A4DDCCE6%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22AADApp3.png%22%20alt%3D%22AADApp3.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%224%22%3E%3CSTRONG%3ECreate%20a%20secret%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3ENext%2C%20we%20need%20to%20create%20a%20secret%20under%20%3CSTRONG%3ECertificates%20and%20secrets%3C%2FSTRONG%3E%20on%20the%20left-hand%20menu.%20To%20create%20a%20secret%2C%20select%20%3CSTRONG%3ENew%20client%20secret%3C%2FSTRONG%3E%20and%20give%20the%20secret%20a%20%3CSTRONG%3EDescription%3C%2FSTRONG%3E%20and%20when%20it%20%3CSTRONG%3EExpires%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AADApp4.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245762i758432F4EE0E0431%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22AADApp4.png%22%20alt%3D%22AADApp4.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AADApp5.png%22%20style%3D%22width%3A%20987px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245763i74F3C3EF6341C092%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22AADApp5.png%22%20alt%3D%22AADApp5.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBefore%20the%20next%20step%2C%20take%20a%20copy%20of%20the%20%3CSTRONG%3EValue%3C%2FSTRONG%3E%20of%20the%20secret%20and%20store%20it%20securely%20somewhere.%20This%20has%20to%20be%20copied%20now%20as%20once%20we%20move%20away%20the%20secret%20value%20will%20be%20hidden.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AADApp6.png%22%20style%3D%22width%3A%20897px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245764i5A30F1752E933DDF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22AADApp6.png%22%20alt%3D%22AADApp6.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%224%22%3E%3CSTRONG%3EAssign%20Microsoft%20Graph%20permissions%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3EFinally%2C%20we%20need%20to%20assign%20Microsoft%20Graph%20To%20Do%20permissions%20to%20our%20app.%20This%20allows%20our%20app%20to%20query%20To%20Do%20APIs%20in%20Microsoft%20Graph%20as%20we%20did%20in%20Microsoft%20Graph%20Explorer%20earlier.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUnder%20%3CSTRONG%3EAPI%20permissions%3C%2FSTRONG%3E%20on%20the%20left-hand%20menu%2C%20select%20%3CSTRONG%3EAdd%20a%20permission%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AADApp7.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245765i3891D83C9022133B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22AADApp7.png%22%20alt%3D%22AADApp7.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESelect%20%3CSTRONG%3EMicrosoft%20Graph%3C%2FSTRONG%3E%20as%20the%20%3CSTRONG%3EMicrosoft%20API%3C%2FSTRONG%3E%20and%20%3CSTRONG%3EDelegated%20permissions%3C%2FSTRONG%3E.%20Search%20for%20%3CEM%3ETasks%3C%2FEM%3E%20and%20choose%20the%20%3CEM%3ETasks.Read%3C%2FEM%3E%20permission%20and%20select%20%3CSTRONG%3EAdd%20permissions%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AADApp8.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245766iF23A7B2DF70D8722%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22AADApp8.png%22%20alt%3D%22AADApp8.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20should%20now%20see%20%3CEM%3ETasks.Read%3C%2FEM%3E%20under%20%3CSTRONG%3EConfigured%20permissions%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CBLOCKQUOTE%3ETasks.Read%20is%20one%20of%20many%20different%20API%20permissions%20in%20Graph.%20Helpfully%2C%20there%20is%20a%20full%20breakdown%20of%20the%20different%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fpermissions-reference%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EMicrosoft%20Graph%20Permissions%3C%2FA%3E%3C%2FBLOCKQUOTE%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AADApp9.png%22%20style%3D%22width%3A%20975px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245767i9CE488B6EC5A031A%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22AADApp9.png%22%20alt%3D%22AADApp9.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThat%20is%20all%20we%20need%20to%20do%20here%20for%20now%2C%20but%20there%20is%20one%20final%20step%20to%20be%20done%2C%20later%20on%2C%20so%20leave%20the%20page%20open%20in%20your%20browser.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%225%22%3E%3CSTRONG%3ECreate%20Power%20Automate%20Custom%20Connector%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3EMoving%20over%20to%20%3CA%20href%3D%22https%3A%2F%2Fflow.microsoft.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EPower%20Automate%3C%2FA%3E%2C%20we%20need%20to%20create%20a%20Custom%20Connector.%20A%20Custom%20Connector%20is%20a%20way%20of%20interfacing%20with%20APIs%20in%20specific%20ways%2C%20in%20our%20case%20-%20talking%20to%20Microsoft%20Graph%20and%20obtaining%20our%20list%20of%20tasks.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETo%20create%20a%20Custom%20Connector%2C%20go%20to%20%3CSTRONG%3EData%20%26gt%3B%20Custom%20connectors%3C%2FSTRONG%3E%20on%20the%20left-hand%20menu%20in%20Power%20Automate.%20Here%2C%20select%20%3CSTRONG%3ENew%20custom%20connector%3C%2FSTRONG%3E%20and%20%3CSTRONG%3ECreate%20from%20blank%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PA.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245780i2C1ADE3FF6D69ABC%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PA.png%22%20alt%3D%22PA.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGive%20your%20connector%20an%20arbitrary%20%3CSTRONG%3EConnector%20name%3C%2FSTRONG%3E%20e.g.%20%3CEM%3ETo%20Do_Connector%3C%2FEM%3E%20and%20choose%20%3CSTRONG%3EContinue%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PA2.png%22%20style%3D%22width%3A%20493px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245794i108894087E99C2AD%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PA2.png%22%20alt%3D%22PA2.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20the%20first%20step%2C%20we%20need%20to%20specify%20the%20%3CSTRONG%3EHost%3C%2FSTRONG%3E%20as%20%3CEM%3Egraph.microsoft.com%3C%2FEM%3E%20and%20select%20%3CSTRONG%3ESecurity%3C%2FSTRONG%3E%20to%20move%20on%20to%20the%20next%20step.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PA3.png%22%20style%3D%22width%3A%20947px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245795iEA875EBACC11D3FE%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PA3.png%22%20alt%3D%22PA3.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20security%2C%20set%20as%20follows%3A%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSTRONG%3EAuthentication%20type%3C%2FSTRONG%3E%3A%20%3CEM%3EOAuth%202.0%3C%2FEM%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EIdentity%20Provider%3C%2FSTRONG%3E%3A%20%3CEM%3EAzure%20Active%20Directory%3C%2FEM%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EClient%20id%3C%2FSTRONG%3E%3A%20%3CSTRONG%3EApplication%20(client)%20ID%3C%2FSTRONG%3E%20we%20noted%20down%20when%20creating%20the%20Azure%20AD%20app%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EClient%20secret%3C%2FSTRONG%3E%3A%20%3CSTRONG%3EClient%20secret%3C%2FSTRONG%3E%20we%20noted%20down%20when%20creating%20the%20Azure%20AD%20app%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EResource%20URL%3C%2FSTRONG%3E%3A%20%3CEM%3E%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%3C%2FA%3E%3C%2FEM%3E%20with%20no%20trailing%20%3CEM%3E%2F%3C%2FEM%3E%3C%2FLI%3E%3CLI%3EEverything%20else%20can%20be%20left%20as%20it%20is%3C%2FLI%3E%3C%2FUL%3E%3CP%3ESelect%20%3CSTRONG%3EDefinition%3C%2FSTRONG%3E%20to%20move%20on%20to%20the%20next%20step.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PA4.png%22%20style%3D%22width%3A%20888px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245796i6BAE1C83486FCAFC%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PA4.png%22%20alt%3D%22PA4.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20now%20need%20to%20create%20an%20%3CSTRONG%3EAction%3C%2FSTRONG%3E.%20An%20%3CSTRONG%3EAction%3C%2FSTRONG%3E%20is%20an%20operation%20that%20our%20connector%20will%20perform%20when%20asked.%20In%20our%20case%2C%20our%20connector%20will%20retrieve%20our%20To%20Do%20tasks%20for%20us.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESelect%20%3CSTRONG%3ENew%20action%3C%2FSTRONG%3E%20and%20provide%20the%20action%20with%20the%20following%3A%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSTRONG%3ESummary%3C%2FSTRONG%3E%3A%20A%20summary%20of%20what%20the%20action%20is%20doing%20e.g.%20%3CEM%3EGet%20To%20Do%20tasks%3C%2FEM%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EDescription%3C%2FSTRONG%3E%3A%20A%20more%20in-depth%20description%20on%20what%20the%20action%20is%20doing%20e.g.%20%3CEM%3EGet%20To%20Do%20tasks%20for%20signed-in%20user%3C%2FEM%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EOperation%20ID%3C%2FSTRONG%3E%3A%20Unique%20identifier%20of%20the%20action.%20Use%20%3CEM%3EGetToDoTasks%3C%2FEM%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EVisibility%3C%2FSTRONG%3E%3A%20%3CEM%3EImportant%3C%2FEM%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PA5.png%22%20style%3D%22width%3A%20956px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245797i2E15098A725D16D4%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PA5.png%22%20alt%3D%22PA5.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUnder%20the%20%3CSTRONG%3ERequest%3C%2FSTRONG%3E%20section%2C%20we%20need%20to%20provide%20it%20with%20sample%20data%20so%20the%20action%20understands%20what%20the%20data%20from%20Microsoft%20Graph%20will%20look%20like.%20Choose%20%3CSTRONG%3EImport%20from%20sample%3C%2FSTRONG%3E%20and%20provide%20the%20following%3A%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSTRONG%3EVerb%3C%2FSTRONG%3E%3A%20%3CEM%3EGET%3C%2FEM%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EURL%3C%2FSTRONG%3E%3A%20%3CEM%3E%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fme%2Ftodo%2Flists%2F%7BtaskListId%7D%2Ftasks%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fme%2Ftodo%2Flists%2F%7BtaskListId%7D%2Ftasks%3C%2FA%3E%3C%2FEM%3E%20-%20you%20should%20have%20a%20copy%20of%20this%20(with%20your%20%3CEM%3EtaskListId%3C%2FEM%3E)%20from%20when%20we%20used%20Graph%20Explorer%20earlier.%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EHeaders%3C%2FSTRONG%3E%3A%20Leave%20blank%3C%2FLI%3E%3C%2FUL%3E%3CP%3ESelect%20%3CSTRONG%3EImport%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PA6.png%22%20style%3D%22width%3A%20495px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245801iFEC50E3909D2E0CE%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PA6.png%22%20alt%3D%22PA6.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFinally%2C%20select%20%3CSTRONG%3ECreate%20connector%3C%2FSTRONG%3E%20at%20the%20top%20right.%20Once%20saved%2C%20go%20to%20the%20%3CSTRONG%3ESecurity%3C%2FSTRONG%3E%20section%20and%20copy%20the%20%3CSTRONG%3ERedirect%20URI%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PA7.png%22%20style%3D%22width%3A%20910px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245802iBF01B09F9378DFEE%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PA7.png%22%20alt%3D%22PA7.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20we%20now%20briefly%20head%20back%20to%20the%20Azure%20AD%20App%20with%20the%20%3CSTRONG%3ERedirect%20URI%3C%2FSTRONG%3E.%20Under%20%3CSTRONG%3EAuthentication%3C%2FSTRONG%3E%2C%20select%20%3CSTRONG%3EAdd%20a%20platform%3C%2FSTRONG%3E%20and%20paste%20the%20%3CSTRONG%3ERedirect%20URI%3C%2FSTRONG%3E%20you%20copied%20into%20the%20%3CSTRONG%3ERedirect%20URIs%3C%2FSTRONG%3E%20text%20box.%20Select%20%3CSTRONG%3EConfigure%3C%2FSTRONG%3E%20to%20add%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AADApp10.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245807i6E61EC564B9407C2%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22AADApp10.png%22%20alt%3D%22AADApp10.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%225%22%3E%3CSTRONG%3ECreate%20Power%20Automate%20Flow%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3ENow%20we%20are%20going%20to%20tie%20everything%20together%20with%20a%20Power%20Automate%20Flow.%20A%20Flow%20is%20essentially%20a%20no%2Flow%20code%20way%20to%20script%20something.%20In%20our%20case%2C%20we%20are%20scripting%20retrieving%20our%20To%20Do%20tasks%20and%20sending%20them%20into%20Microsoft%20Teams.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETo%20do%20this%2C%20head%20back%20the%20%3CA%20href%3D%22https%3A%2F%2Fflow.microsoft.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EPower%20Automate%3C%2FA%3E%20and%20select%20%3CSTRONG%3ECreate%3C%2FSTRONG%3E%20from%20the%20left-hand%20menu%20and%20choose%20%3CSTRONG%3EScheduled%20cloud%20flow%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PA8.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245809i97B9CEC609D3FB9D%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PA8.png%22%20alt%3D%22PA8.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CBLOCKQUOTE%3E%3CP%3EBy%20sheduling%20this%20flow%20trigger%20type%2C%20it%20can%20be%20scheduled%20to%20run%20as%20frequently%20as%20you%20like.%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3CP%3EGive%20your%20flow%20a%20%3CSTRONG%3EName%3C%2FSTRONG%3E%20and%20set%20a%20%3CSTRONG%3ERepeat%20every%3C%2FSTRONG%3E%20of%20%3CEM%3E1%20Day%3C%2FEM%3E.%20Once%20done%2C%20select%20%3CSTRONG%3ECreate%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PA9.png%22%20style%3D%22width%3A%20890px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245812iA5046D77773721FC%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PA9.png%22%20alt%3D%22PA9.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EAs%20this%20is%20a%20Flow%2C%20the%20logic%20will%20behave%20as%20a%20flow%20chart%20would.%20Under%20the%20%3CSTRONG%3ERecurrance%3C%2FSTRONG%3E%20trigger%2C%20we%20need%20to%20add%20some%20additional%20steps%20to%20the%20Flow.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETo%20start%2C%20select%20%3CSTRONG%3ENew%20step%3C%2FSTRONG%3E%20and%20here%20we%20need%20to%20find%20the%20action%20we%20created.%20The%20quickest%20way%20is%20to%20change%20the%20type%20to%20%3CSTRONG%3ECustom%3C%2FSTRONG%3E%20and%20then%20select%20it%20under%20%3CSTRONG%3EActions%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PA10.png%22%20style%3D%22width%3A%20624px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245814i36ABD55588464ACC%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PA10.png%22%20alt%3D%22PA10.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENext%2C%20you%20need%20to%20sign%20in%20to%20your%20account%20to%20get%20your%20tasks.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CBLOCKQUOTE%3E%3CP%3EAs%20mentioned%20earlier%2C%20this%20can%20be%20used%20in%20multiple%20flows%2C%20allowing%20a%20whole%20team%20to%20use%20the%20connector%20to%20get%20their%20own%20tasks%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PA11.png%22%20style%3D%22width%3A%20612px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245817i876D70B08BDA0DB4%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PA11.png%22%20alt%3D%22PA11.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDuring%20the%20sign-in%20process%2C%20you%20will%20need%20to%20consent%20the%20app%20to%20read%20your%20task%20lists.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PA12.png%22%20style%3D%22width%3A%20464px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245818i20B02689DC01E40F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PA12.png%22%20alt%3D%22PA12.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBefore%20we%20go%20any%20further%2C%20select%20%3CSTRONG%3ESave%3C%2FSTRONG%3E%20at%20the%20top%20of%20the%20page%20and%20then%20go%20back%20to%20%3CSTRONG%3EMy%20flows%3C%2FSTRONG%3E.%20Hover%20over%20the%20Flow%20you%20created%20and%20choose%20%3CSTRONG%3ERun%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PA13.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245819i0CBEF69E85824469%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PA13.png%22%20alt%3D%22PA13.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHopefully%2C%20it%20was%20successful%20and%20you%20can%20see%20the%20result%20in%20the%20%3CSTRONG%3EFlow%20Runs%20Page%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PA14.png%22%20style%3D%22width%3A%20323px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245820i176D980E41B63EBF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PA14.png%22%20alt%3D%22PA14.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELooking%20at%20the%20%3CSTRONG%3Ebody%3C%2FSTRONG%3E%20of%20the%20%3CSTRONG%3EOutput%3C%2FSTRONG%3E%20there%20is%20some%20data%20(which%20is%20the%20same%20as%20what%20was%20shown%20in%20Graph%20Explorer%20earlier).%20Copy%20the%20%3CSTRONG%3Ebody%3C%2FSTRONG%3E%20output%20and%20then%20select%20%3CSTRONG%3EEdit%3C%2FSTRONG%3E%20at%20the%20top%20of%20the%20page%20to%20finish%20off%20the%20last%20bits%20of%20the%20Flow.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PA15.png%22%20style%3D%22width%3A%20620px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245821i82E0B33D68481408%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PA15.png%22%20alt%3D%22PA15.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20body%20output%20is%20great%20in%20JSON%20format%2C%20but%20we%20need%20to%20be%20able%20to%20split%20it%20down%20into%20smaller%20chunks%20(tasks).%20To%20do%20this%2C%20we%20need%20to%20be%20able%20to%20parse%20(read)%20the%20JSON%20output.%20Add%20a%20%3CSTRONG%3EParse%20JSON%3C%2FSTRONG%3E%20step%20and%20set%20the%20%3CSTRONG%3EContent%3C%2FSTRONG%3E%20as%20%3CEM%3EBody%3C%2FEM%3E.%20To%20create%20a%20%3CSTRONG%3ESchema%3C%2FSTRONG%3E%20choose%20%3CSTRONG%3EGenerate%20from%20sample%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PA16.png%22%20style%3D%22width%3A%20619px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245825iAF8103FBC8DDBCF0%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PA16.png%22%20alt%3D%22PA16.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPaste%20in%20the%20body%20output%20from%20earlier%20and%20select%20%3CSTRONG%3EDone%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PA17.png%22%20style%3D%22width%3A%20660px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245834iE30A3AA1BCC73B4A%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PA17.png%22%20alt%3D%22PA17.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20next%20step%20we%20need%20to%20add%20is%20%3CSTRONG%3EInitialize%20variable%3C%2FSTRONG%3E.%20We%20need%20to%20create%20an%20Array.%20An%20array%20is%20a%20collection%20of%20values%20or%20objects.%20In%20our%20case%2C%20ours%20is%20a%20collection%20of%20tasks.%20Give%20the%20variable%20the%20name%20of%20%3CEM%3ETasks%3C%2FEM%3E%20and%20set%20the%20type%20to%20%3CEM%3EArray%3C%2FEM%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PA18.png%22%20style%3D%22width%3A%20674px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245835iA4537F0B6CE97218%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PA18.png%22%20alt%3D%22PA18.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAfter%20creating%20the%20%3CEM%3ETasks%3C%2FEM%3E%20array%2C%20we%20need%20to%20populate%20it%20with%20the%20tasks.%20This%20is%20achieved%20by%20adding%20an%20%3CSTRONG%3EApply%20to%20each%3C%2FSTRONG%3E%20step.%20A%20%3CSTRONG%3EApply%20to%20each%3C%2FSTRONG%3E%20is%20a%20type%20of%20loop.%20In%20our%20case%2C%20it%20will%20loop%20through%20all%20the%20tasks%20in%20our%20body%20JSON%20we%20parsed%20earlier%20and%20pick%20out%20the%20values%20for%20each%20task.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EStart%20by%20adding%20an%20%3CSTRONG%3EApply%20to%20each%3C%2FSTRONG%3E%20loop%20and%20selecting%20%3CEM%3Evalue%3C%2FEM%3E%20output%20from%20%3CSTRONG%3EParse%20JSON%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PA19.png%22%20style%3D%22width%3A%20681px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245836i9D5F82B4B682D56F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PA19.png%22%20alt%3D%22PA19.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENext%2C%20within%20the%20%3CSTRONG%3EApply%20to%20each%3C%2FSTRONG%3E%20step%2C%20%3CSTRONG%3EAdd%20an%20action%3C%2FSTRONG%3E%20and%20choose%20%3CSTRONG%3ECompose%3C%2FSTRONG%3E.%20This%20will%20take%20a%20specific%20value%20from%20the%20task.%20Under%20inputs%2C%20choose%20%3CEM%3Etitle%3C%2FEM%3E%20under%20%3CSTRONG%3EParse%20JSON%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PA20.png%22%20style%3D%22width%3A%20712px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245838i94C08EF510F64F21%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PA20.png%22%20alt%3D%22PA20.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20next%20step%20we%20need%20to%20add%20in%20the%20loop%20is%20an%20%3CSTRONG%3EAppend%20to%20array%20variable%3C%2FSTRONG%3E.%20We%20will%20use%20this%20to%20add%20the%20task%20%3CEM%3Etitle%3C%2FEM%3E%20to%20the%20%3CEM%3ETasks%3C%2FEM%3E%20array%20we%20created%20earlier.%20Set%20the%20%3CSTRONG%3EValue%3C%2FSTRONG%3E%20to%20the%20%3CEM%3EOutputs%3C%2FEM%3E%20of%20%3CSTRONG%3ECompose%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PA21.png%22%20style%3D%22width%3A%20716px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245839iEBF3A6C654F2F608%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PA21.png%22%20alt%3D%22PA21.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENow%20we%20should%20have%20a%20list%20of%20tasks%20ready%20to%20use.%20The%20next%20step%20is%20to%20send%20these%20to%20us%20in%20Teams.%20To%20do%20this%2C%20we%20need%20to%20add%20%3CSTRONG%3EPost%20a%20choice%20of%20options%20as%20the%20Flow%20bot%20to%20a%20user%3C%2FSTRONG%3E%2C%20making%20sure%20this%20is%20added%20after%20the%20%3CSTRONG%3EApply%20to%20each%3C%2FSTRONG%3E%20and%20not%20inside%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBefore%20entering%20any%20details%2C%20change%20the%20options%20type%20to%20an%20array%20by%20clicking%20the%20%3CEM%3ET%3C%2FEM%3E%20icon.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PA22.png%22%20style%3D%22width%3A%20671px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245842i5EDAC0B59D79499A%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PA22.png%22%20alt%3D%22PA22.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENow%2C%20add%20the%20following%3A%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSTRONG%3EOptions%3C%2FSTRONG%3E%3A%20%3CEM%3ETasks%3C%2FEM%3E%20variable%3C%2FLI%3E%3CLI%3E%3CSTRONG%3ERecipient%3C%2FSTRONG%3E%3A%20The%20same%20account%20you%20signed%20in%20to%20the%20Flow%20with%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EMessage%3C%2FSTRONG%3E%3A%20Something%20like%20%3CEM%3EHey%2C%20here%20are%20your%20outstanding%20tasks%20for%20today%3C%2FEM%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EHeadline%3C%2FSTRONG%3E%3A%20Something%20like%20%3CEM%3EYour%20tasks%20for%20the%20day%3C%2FEM%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EIsAlert%3C%2FSTRONG%3E%3A%20%3CEM%3EYes%3C%2FEM%3E%20-%20This%20makes%20it%20so%20you%20are%20notified%20of%20the%20message%20in%20Teams%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PA23.png%22%20style%3D%22width%3A%20679px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245844iA6ACB891F17FB1AB%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PA23.png%22%20alt%3D%22PA23.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20were%20to%20run%20the%20Flow%20now%2C%20you%20will%20see%20the%20list%20of%20tasks%20appear%20in%20Teams.%20However%2C%20choosing%20any%20of%20the%20tasks%20doesn't%20do%20anything.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Teams.png%22%20style%3D%22width%3A%20559px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245845iC63F90C632DB47BD%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Teams.png%22%20alt%3D%22Teams.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBack%20in%20the%20Flow%2C%20we%20need%20to%20fix%20it%20so%20when%20an%20option%20(task)%20is%20chosen%2C%20we%20do%20something%20with%20it.%20Add%20another%20%3CSTRONG%3EApply%20to%20each%3C%2FSTRONG%3E%20and%20like%20the%20previous%20loop%2C%20select%20%3CEM%3Evalue%3C%2FEM%3E%20output%20from%20%3CSTRONG%3EParse%20JSON%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PA24.png%22%20style%3D%22width%3A%20675px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245846i95159C56E04D0C49%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PA24.png%22%20alt%3D%22PA24.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWithin%20this%20%3CSTRONG%3EApply%20to%20each%3C%2FSTRONG%3E%20step%2C%20%3CSTRONG%3EAdd%20an%20action%3C%2FSTRONG%3E%20and%20choose%20%3CSTRONG%3ECondition%3C%2FSTRONG%3E.%20A%20%3CSTRONG%3ECondition%3C%2FSTRONG%3E%20is%20a%20way%20to%20verifying%20a%20value%20is%20what%20we%20want%2Fdon't%20want.%20In%20our%20scenario%2C%20we%20are%20looping%20through%20tasks%20and%20looking%20for%20the%20one%20that%20matches%20what%20the%20user%20selected%20in%20Teams.%20To%20do%20this%20set%20the%20first%20value%20as%20%3CEM%3EselectedOption%3C%2FEM%3E%20under%20%3CSTRONG%3EPost%20a%20choice...%3C%2FSTRONG%3E%20and%20the%20second%20value%20is%20%3CEM%3Etitle%3C%2FEM%3E%20under%20%3CSTRONG%3EParse%20JSON%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PA25.png%22%20style%3D%22width%3A%20688px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245847i85D52C9197BB304A%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PA25.png%22%20alt%3D%22PA25.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20now%20need%20to%20act%20upon%20when%20the%20condition%20is%20met%20(the%20task%20equals%20the%20chosen%20option%20in%20Teams).%20Under%20%3CSTRONG%3EIf%20yes%3C%2FSTRONG%3E%2C%20add%20%3CSTRONG%3EPost%20message%20as%20the%20Flow%20bot%20to%20a%20user%3C%2FSTRONG%3E.%20Complete%20it%20as%20follows%3A%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSTRONG%3ERecipient%3C%2FSTRONG%3E%3A%20The%20same%20account%20you%20signed%20in%20to%20the%20Flow%20with%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EMessage%3C%2FSTRONG%3E%3A%20A%20message%20containing%20the%20details%20of%20the%20task%20(see%20image)%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EHeadline%3C%2FSTRONG%3E%3A%20%3CEM%3ETitle%3C%2FEM%3E%20from%20%3CSTRONG%3EParse%20JSON%3C%2FSTRONG%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EIsAlert%3C%2FSTRONG%3E%3A%20%3CEM%3EYes%3C%2FEM%3E%20-%20This%20makes%20it%20so%20you%20are%20notified%20of%20the%20message%20in%20Teams%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PA26.png%22%20style%3D%22width%3A%20714px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245848i992B3A317A98890A%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PA26.png%22%20alt%3D%22PA26.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELeave%20%3CSTRONG%3EIf%20no%3C%2FSTRONG%3E%20blank.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%225%22%3E%3CSTRONG%3EFinishing%20up%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3EIf%20you%20now%20run%20the%20Flow%20it%20should%20send%20you%20a%20message%20with%20your%20tasks.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Teams2.png%22%20style%3D%22width%3A%20496px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245850iCBE0A14570400381%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Teams2.png%22%20alt%3D%22Teams2.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EChoosing%20a%20task%20will%20then%20return%20details%20on%20that%20task.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Teams3.png%22%20style%3D%22width%3A%20546px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F245852iAFFCF7438AF60C56%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Teams3.png%22%20alt%3D%22Teams3.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECongratulations%2C%20you%20have%20now%20managed%20to%20create%20an%20Azure%20AD%20application%2C%20talk%20to%20Microsoft%20Graph%2C%20pass%20that%20into%20Power%20Automate%20and%20on%20to%20Teams!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2053519%22%20slang%3D%22en-US%22%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3EWhilst%20you%20can%20set%20reminders%20against%20tasks%20in%20To-Do%2C%20wouldn't%20it%20be%20awesome%20to%20have%20these%20surface%20outside%20of%20the%20To-Do%20app%20too%3F%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2053519%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Graph%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20To-Do%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPower%20Automate%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2116095%22%20slang%3D%22en-US%22%3ERe%3A%20Get%20your%20To%20Do%20tasks%20daily%20in%20Teams%20using%20Power%20Automate%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2116095%22%20slang%3D%22en-US%22%3E%3CP%3EGreat%20article%20Lee!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2129377%22%20slang%3D%22en-US%22%3ERe%3A%20Get%20your%20To%20Do%20tasks%20daily%20in%20Teams%20using%20Power%20Automate%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2129377%22%20slang%3D%22en-US%22%3E%3CP%3EHey%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F68%22%20target%3D%22_blank%22%3E%40Brian%20Smith%3C%2FA%3E%26nbsp%3Bthank%20you%20for%20your%20nice%20comment!%20May%20I%20ask%20which%20kind%20of%20content%20you%20are%20interested%20in%3F%20What%20would%20you%20like%20to%20read%20in%20Microsoft%20365%20PnP%20Community%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Version history
Last update:
‎Jan 13 2021 04:39 AM
Updated by: