How To Use Microsoft To Do



-->

You can use the Microsoft Graph Postman collection to get started with Microsoft Graph APIs in minutes.

Use

This article explains how to get up and running with Postman and Microsoft Graph. You can also explore Microsoft Graph APIs directly in your web browser by using Graph Explorer.

For details about how to do this, follow the steps in this article or watch the Getting started with Microsoft Graph Postman workspace video.

Use the Microsoft Emulator with the Windows 10X Emulator Image Preview to test your app without a physical device. The emulator is integrated into your development environment and simulates postures, gestures, hinge angle, mimicking the seam between the two screens, and more. To create a list group in Microsoft To Do: Click the '+' button next to 'New list' in the sidebar. Name your group. Drag and drop task lists into the group. Applies to All Windows 10 Versions. Change List Order. The Microsoft To-do app shows the list in the order of their creation. If you use Microsoft To-Do to plan your life you might be interested to know that you can add items to your lists using just your voice and an Amazon Echo. Here's how to do it.

Step 1 - Forking the Microsoft Graph Postman collection

To use the Postman collection, fork it to your own Postman workspace. Do this from the web browser.

How To Use Microsoft To Do List

  1. Go to Postman and sign in.
  2. Go to the Postman collection labeled Microsoft Graph.
  3. Fill in a label for your own fork. This can be any text.
  4. Under Workspace, ensure that My Workspace is selected in the drop-down list.
  5. Click Fork Collection.

You will be redirected to a fork of the main Microsoft Graph Postman collection in your own workspace.

How To Use Microsoft To Do List

Step 2 - (Optional - Postman Web browser only) Download the Postman Agent

To use this particular Postman collection in your web browser, download the Postman Desktop Agent. You can't use Postman for the web without this due to CORS restrictions in the web browser.

You don't need the agent if you're using the Postman for Windows app. If you open Postman for Windows, you will see this forked collection in your workspace.

Step 3 - Create an Azure AD application

To use this collection in your own developer tenant, create an Azure AD application and give it the appropriate permissions for the requests you want to call. If you don't have a developer tenant, you can sign up for one through the Microsoft 365 Developer Program.

  1. Go to portal.azure.com and sign in with your developer tenant administrator account.
  2. Under Azure Services, click Azure Active Directory.
  3. On the left menu, click App registrations.
  4. On the horizontal menu, click New registration.
  5. Set the Application name to Postman.
  6. Set the Redirect URI to https://oauth.pstmn.io/v1/browser-callback.
  7. Click Register.
  8. On the left menu, click API Permissions.
  9. In the horizontal menu, click Add a permission, select Microsoft Graph, and then select Delegated Permissions.
  10. Type Mail., expand the Mail options, and check Mail.Read.
  11. Click Application permissions and type User., and check Application Permissions.
  12. Expand the User options and check User.Read.All.
  13. Click Add permissions.
  14. In the horizontal menu, click Grant admin consent for, and click Yes.
  15. In the left menu, click Overview. From here, you can get the Application (client) ID and Directory (tenant) ID. You will need these in step 4.
  16. In the left menu, click Certificates & secrets.
  17. Click New client secret, enter a description, and click Add. Hover over the new client secret Value and copy it. You will need this in step 4.

The Azure AD application now has permissions to make requests on behalf of a user to call Mail.Read and as an application for User.Read.All.

Step 4 - Configuring authentication in Postman

In this step, you set up the environment variables used to retrieve an access token.

  1. Go to Fork environment.
  2. Add a label for fork. This can be any text.
  3. Under Workspace, ensure that My Workspace is selected in the drop-down list.
  4. Click Fork Environment.
  5. In ClientID, set the Current value to the application (client) ID value from step 3.15.
  6. In ClientSecret, set the Current value to the client secret value from step 3.17.
  7. In TenantID, set the Current value to the directory (tenant) ID value from step 3.15.
  8. On the top right, click Save.
  9. Close the Manage Environments tab.
  10. On the top right, next to the eye icon, verify that M365 Environment is selected in the drop down and not No environment.

Step 5 - Get a delegated access token

Because this is the first time you are running a request as a delegated authentication flow, you need to get an access token.

  1. Hover over the Delegated folder, click the ellipsis, and select Edit
  2. Click the Authorization tab.
  3. Scroll down on the right and click Get New Access Token.
  4. Sign in with your developer tenant adminstrator account.
  5. Click Proceed, and then click the Use Token button.
  6. On the botton right of the dialog, click Update.

You now have a valid access token to use for delegated requests.

Step 6 - Run your first delegated request

Inside the Delegated folder are requests for various Microsoft Graph workloads you can call.

  1. Expand the Delegated folder and then expand the Mail folder.
  2. Double-click Get my messages to open the request.
  3. On the top right, click Send.

You have now successfully made a Microsoft Graph call using delegated authentication.

Step 7 - Get an application access token

Because this is the first time you are running a request as a application authentication flow, you need to get an access token.

  1. Hover over the Application folder, click the ellipsis, and select Edit.
  2. Click the Authorization tab
  3. Scroll down on the right side and click Get New Access Token.
  4. Click Proceed, and then click the Use Token button.
  5. On the bottom right of the dialog, click Update.

You now have a valid access token to use for application requests.

Step 8 - Run your first application request

Video On How To Use Microsoft To Do

Inside the Application folder are requests for various Microsoft Graph workloads you can call.

  1. Expand the Application folder and then expand the User folder.
  2. Double-click Get Users to open the request.
  3. On the top right, click Send.

You have now successfully made a Microsoft Graph call using application authentication.

You can follow these steps to make other requests to Microsoft Graph. Remember that you have to add permissions to your Azure AD application for other requests to work; Otherwise, you will get permission denied errors in your responses.

Use

Contribute to the collection

If you want to contribute your own requests, you will need a Postman license. You can make your changes to the forked collection, and then hover over the collection top node and select Create pull request.

See also

For details about how to do this, watch the Getting started with Microsoft Graph Postman collection video.