Getting Started with Microsoft Graph and Microsoft Teams

Microsoft 365 Developer · Beginner ·📰 AI News & Updates ·7y ago

Key Takeaways

The video demonstrates how to use the Microsoft Teams API on Microsoft Graph to create and manage teams, channels, and tabs, with examples of bulk provisioning teams, creating temporary teams, and administering teams using PowerShell and the modern portal.

Full Transcript

everybody Jeremy here I'm here with Nick today hi Jeremy where I could be talking about the team's api's today why would a developer want to use the team's API on Mike's of 365 yeah so the team's API is allow you to create new teams and add channels to those teams add members to the teams change settings and the teams add tabs into those channels that you've created and then when you're done with a team you have a you have a fully functioning team and then when the team has run its lifecycle you can then archive or delete that team so what are some of the robots and ours you see customers using the API for that kind of functionality yeah there's a couple different things that people build with this first thing is they they bulk provision teams they have 10,000 teams that need to create say one for each class at the start of a semester and so they just spit out 10,000 teams another thing they do is they create temporary teams so for instance if you're an airline and you want to fly a flight everyday and have a team for each flight you fly you can at the stroke of midnight create the teams for the next day and the third thing that people do a lot is admin tools they just administer their their teams so the powershell commandlets that teams has are built on this and the modern portal for admins is also built on the graph api so that's nice so what's the best way for a developer to get started with the team's API yeah yeah let me show you a quick demo here so this is our control so Airlines at the stroke of midnight they create a new team so a couple steps to this first is just figure out who you want to be in the team otherwise it's not a very interesting team once you have those lists of user IDs you can then create a group by posting to slash groups passing in that information we gathered and the group is really the thing that holds it all together every every team belongs inside a group because the group also provides things like the files the the SharePoint files and all the other goodness you get from graph then once we have that group we do an HTTP put two slash groups slash group ID slash team and create the team with the settings we want and we see flight 157 has appeared over here stash way that team ID because we'll need it will next create a channel by posting to slash teams slash team ID we just saved away slash channels passing a name and description of the channel we want to create we will get a pilot's Channel in just a moment pilots and let's add a tab to it let's add a map tab that will show us what the airport is that we're going to land at so we'll post to slash teams ID channel's ID tabs and we'll say it's gonna be a website tab that points to a map given a moment to propagate over here looks got make sure you in the right channel first here's our map like every night listen what's an example of another tab that you could add into this channel yeah you can do really all the tabs of the team support so Word documents Excel PowerPoint but also on my favorites is SharePoint lists so I'll show you an example of that we can create a list of challenging passengers for this flight by first we get the site object there and then we can create a raw list itself post slash sites /id slash lists pass in some column definitions also add now that we have a empty list we need to add some challenging passengers to a challenging passenger list and then we have to create a new tab for it to display it so again post slash team's ID channel's ID tabs and when we do that we'll have a SharePoint list that's rendered inside teams here we have a challenging passengers list the challenging a passenger turns out to be me because I snore on planes when I fall asleep that's why you have noise canceling headphones rights right well I have to have one for all the neighbors well look I hope everyone is watching this sees how powerful the team's API can be on the Microsoft graph so please go check that out and graft on Microsoft calm and thanks Nick thanks Jeremy

Original Description

Microsoft Teams apps give work groups a new tool to make collaboration a more productive and compelling experience. These apps let work group users share assets, interact through chat, and schedule events on the team calendar. These apps can also automate creating teams, channels, and conversations, enhancing the value of Microsoft Teams. Using Microsoft Graph, you can create web sites, services, and native platform applications that run outside the Microsoft Teams user experience and call the Teams API to automate Teams scenarios. To learn more about the Microsoft Graph and Microsoft Teams, visit https://docs.microsoft.com/en-us/graph/teams-concept-overview For additional Microsoft Graph tools and resources, visit https://graph.microsoft.com.
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Microsoft 365 Developer · Microsoft 365 Developer · 16 of 60

1 Adaptive Cards community call-February 2019
Adaptive Cards community call-February 2019
Microsoft 365 Developer
2 PowerApps community call-February 2019
PowerApps community call-February 2019
Microsoft 365 Developer
3 Microsoft Graph community call-March 2019
Microsoft Graph community call-March 2019
Microsoft 365 Developer
4 Office Add ins community call-March 2019
Office Add ins community call-March 2019
Microsoft 365 Developer
5 PowerApps community call-March 2019
PowerApps community call-March 2019
Microsoft 365 Developer
6 Microsoft Teams community call-March 2019
Microsoft Teams community call-March 2019
Microsoft 365 Developer
7 Using React and Office UI Fabric React Components
Using React and Office UI Fabric React Components
Microsoft 365 Developer
8 Build Microsoft Teams customization using SharePoint Framework
Build Microsoft Teams customization using SharePoint Framework
Microsoft 365 Developer
9 Microsoft Graph community call-April 2019
Microsoft Graph community call-April 2019
Microsoft 365 Developer
10 Using Change Notifications and Track Changes with Microsoft Graph
Using Change Notifications and Track Changes with Microsoft Graph
Microsoft 365 Developer
11 Office Add Ins community call-April 2019
Office Add Ins community call-April 2019
Microsoft 365 Developer
12 Adaptive Cards community call-April 2019
Adaptive Cards community call-April 2019
Microsoft 365 Developer
13 Microsoft Teams community call-April 2019
Microsoft Teams community call-April 2019
Microsoft 365 Developer
14 Getting Started with Microsoft Graph and Application Registration
Getting Started with Microsoft Graph and Application Registration
Microsoft 365 Developer
15 Getting Started with Microsoft Graph and the Directory API
Getting Started with Microsoft Graph and the Directory API
Microsoft 365 Developer
Getting Started with Microsoft Graph and Microsoft Teams
Getting Started with Microsoft Graph and Microsoft Teams
Microsoft 365 Developer
17 Getting Started with Microsoft Graph Explorer
Getting Started with Microsoft Graph Explorer
Microsoft 365 Developer
18 Getting Started with Microsoft Graph
Getting Started with Microsoft Graph
Microsoft 365 Developer
19 Getting Started with Microsoft Graph and Mail API
Getting Started with Microsoft Graph and Mail API
Microsoft 365 Developer
20 Getting Started with Microsoft Graph and Office 365 Groups
Getting Started with Microsoft Graph and Office 365 Groups
Microsoft 365 Developer
21 Getting Started with Microsoft Graph and the Calendar API
Getting Started with Microsoft Graph and the Calendar API
Microsoft 365 Developer
22 Getting Started with the Microsoft Graph Toolkit
Getting Started with the Microsoft Graph Toolkit
Microsoft 365 Developer
23 Getting Started with Microsoft Graph and JavaScript SDKs
Getting Started with Microsoft Graph and JavaScript SDKs
Microsoft 365 Developer
24 Getting Started with Microsoft Graph and .NET SDKs
Getting Started with Microsoft Graph and .NET SDKs
Microsoft 365 Developer
25 Discover how businesses can be more productive with Microsoft 365 integrations
Discover how businesses can be more productive with Microsoft 365 integrations
Microsoft 365 Developer
26 Adaptive Cards community call-May 2019
Adaptive Cards community call-May 2019
Microsoft 365 Developer
27 Office Add-ins community call-May 2019
Office Add-ins community call-May 2019
Microsoft 365 Developer
28 Why We Built on Microsoft Teams
Why We Built on Microsoft Teams
Microsoft 365 Developer
29 Microsoft Teams community call-May 2019
Microsoft Teams community call-May 2019
Microsoft 365 Developer
30 Microsoft Graph community call-June 2019
Microsoft Graph community call-June 2019
Microsoft 365 Developer
31 Build Angular SPA's with Microsoft Graph - June 2019
Build Angular SPA's with Microsoft Graph - June 2019
Microsoft 365 Developer
32 Office Add -ins community call-June 2019
Office Add -ins community call-June 2019
Microsoft 365 Developer
33 Build Android native apps with the Microsoft Graph Android SDK - June 2019
Build Android native apps with the Microsoft Graph Android SDK - June 2019
Microsoft 365 Developer
34 Build MVC apps with Microsoft Graph - June 2019
Build MVC apps with Microsoft Graph - June 2019
Microsoft 365 Developer
35 Authenticate and connect with Microsoft Graph - June 2019
Authenticate and connect with Microsoft Graph - June 2019
Microsoft 365 Developer
36 Microsoft Graph data connect - June 2019
Microsoft Graph data connect - June 2019
Microsoft 365 Developer
37 Change notifications with Microsoft Graph - June 2019
Change notifications with Microsoft Graph - June 2019
Microsoft 365 Developer
38 Build iOS native apps with the Microsoft Graph REST API - June 2019
Build iOS native apps with the Microsoft Graph REST API - June 2019
Microsoft 365 Developer
39 Build Node.js Express apps with Microsoft Graph - June 2019
Build Node.js Express apps with Microsoft Graph - June 2019
Microsoft 365 Developer
40 Smart UI with Microsoft Graph - June 2019
Smart UI with Microsoft Graph - June 2019
Microsoft 365 Developer
41 Leveraging the Microsoft Graph API from the SharePoint Framework - June 2019
Leveraging the Microsoft Graph API from the SharePoint Framework - June 2019
Microsoft 365 Developer
42 Build UWP apps with Microsoft Graph - June 2019
Build UWP apps with Microsoft Graph - June 2019
Microsoft 365 Developer
43 Build React SPA's with Microsoft Graph - June 2019
Build React SPA's with Microsoft Graph - June 2019
Microsoft 365 Developer
44 Getting Started with Microsoft Graph and Batching
Getting Started with Microsoft Graph and Batching
Microsoft 365 Developer
45 Getting Started with Microsoft Graph and Change Notifications
Getting Started with Microsoft Graph and Change Notifications
Microsoft 365 Developer
46 Getting Started with Microsoft Graph and Consent Permissions
Getting Started with Microsoft Graph and Consent Permissions
Microsoft 365 Developer
47 Getting Started with Microsoft Graph and Education
Getting Started with Microsoft Graph and Education
Microsoft 365 Developer
48 Getting Started with Microsoft Graph and Financials
Getting Started with Microsoft Graph and Financials
Microsoft 365 Developer
49 Getting Started with Microsoft Graph and Excel
Getting Started with Microsoft Graph and Excel
Microsoft 365 Developer
50 Getting Started with Microsoft Graph and Data Connect
Getting Started with Microsoft Graph and Data Connect
Microsoft 365 Developer
51 Getting Started with Microsoft Graph and Intune
Getting Started with Microsoft Graph and Intune
Microsoft 365 Developer
52 Getting Started with Microsoft Graph and Notifications
Getting Started with Microsoft Graph and Notifications
Microsoft 365 Developer
53 Getting Started with Microsoft Graph and OneNote
Getting Started with Microsoft Graph and OneNote
Microsoft 365 Developer
54 Getting Started with Microsoft Graph and OneDrive
Getting Started with Microsoft Graph and OneDrive
Microsoft 365 Developer
55 Getting Started with Microsoft Graph and Open Extensions
Getting Started with Microsoft Graph and Open Extensions
Microsoft 365 Developer
56 Getting Started with Microsoft Graph and Paging
Getting Started with Microsoft Graph and Paging
Microsoft 365 Developer
57 Getting Started with Microsoft Graph and Schema Extensions
Getting Started with Microsoft Graph and Schema Extensions
Microsoft 365 Developer
58 Getting Started with Microsoft Graph and Security API
Getting Started with Microsoft Graph and Security API
Microsoft 365 Developer
59 Getting Started with Microsoft Graph and Query Parameters
Getting Started with Microsoft Graph and Query Parameters
Microsoft 365 Developer
60 Getting Started with Microsoft Graph and Reporting API
Getting Started with Microsoft Graph and Reporting API
Microsoft 365 Developer

This video teaches developers how to get started with the Microsoft Teams API on Microsoft Graph, demonstrating how to create and manage teams, channels, and tabs, with examples of real-world use cases.

Key Takeaways
  1. Figure out who you want to be in the team
  2. Create a group by posting to /groups
  3. Create a team by posting to /groups/{groupId}/team
  4. Create a channel by posting to /teams/{teamId}/channels
  5. Add a tab to the channel by posting to /teams/{teamId}/channels/{channelId}/tabs
💡 The Microsoft Teams API on Microsoft Graph allows developers to automate team creation, channel creation, and tab creation, making it easier to manage team collaboration and automate administrative tasks.

Related AI Lessons

The AI Moat Paradox: The Better Models Become, the Less Models Matter
The AI moat paradox suggests that as AI models improve, their importance may decrease, and understanding this concept is crucial for AI professionals and businesses.
Medium · AI
170,927 AI Papers Reveal the Biggest Research Shifts of the First Half of 2026
Discover the biggest AI research shifts of 2026 based on 170,927 papers, and learn how to apply these trends to your work
Medium · Machine Learning
170,927 AI Papers Reveal the Biggest Research Shifts of the First Half of 2026
Discover the major research shifts in AI from 170,927 papers published in the first half of 2026, and learn how to analyze trends in AI research
Medium · Data Science
[PoV] When Everyone Is Smart, No One Is
In a world where AI makes everyone smart, the value of intelligence decreases, and new challenges arise
Medium · AI
Up next
Man dies after horror Gold Coast house fire; high-speed Sydney motorway pursuit | 9 News Australia
9 News Australia
Watch →