youtube image
From YouTube: Build task automation solution between Planner and GitHub using Microsoft Graph

Description

In this 16-minute developer-focused demo, Anoop Tatti looks at interactions between GitHub (or any app) and Planner via Microsoft Graph. Use case – create a PR (pull request) that lands as actionable Planner task for repo’s owner. PR initiates workflow that calls a GitHub action. Graph handles authentication and Planner task creation. Task in Planner contains link to PR. Code walk-through - node.js project, 3 .ts files, uses MSAL, app reg in Azure AD. Conversation.

This PnP Community demo is taken from the Microsoft 365 & Power Platform Development Community call recorded on March 2, 2023.

Demo Presenter
• Anoop Tatti (Content+Cloud) | @anooptells

Community Call Conversation
• aka.ms/Mar2-Demo1

Supporting materials
• Article - New Microsoft Graph Planner API capabilities now available | https://devblogs.microsoft.com/microsoft365dev/new-microsoft-planner-api-capabilities-now-available-in-microsoft-graph/
• Code snippet - create_task_on_pull_request.yaml | https://gist.github.com/anoopt/21a5ed9a251d7ae8eb991a310380a194
• Article - Create a task with Microsoft Graph using MSAL | https://github.com/marketplace/actions/create-a-task-with-microsoft-graph-using-msal

Learn more
• Microsoft 365 Unified Sample gallery - https://aka.ms/community/samples
• Microsoft 365 Platform Community in YouTube - https://aka.ms/community/videos
• Microsoft 365 Platform Community - http://aka.ms/community/home