Developer API to read/create teams and channels in them.
Slack has dev api to list teams/channels and perform bunch of management operations. It would be great if there's something similar available in Microsoft Teams as well.
This was released in August 2019. You can find documentation here:
97 commentsComments are closed
are the functions to create/get/delete teams available in the graph api?
Martin Meraner commented
That is a great one +1
Presumably you'll do it through the Graph API, like all the other Office 365 apps, e.g. SharePoint, Groups, Planner - see bottom of left nav in the doc?
And can we have full CRUD on all properties, not some half-baked, never finished, cludge as is the norm for Microsoft?
Levi Olson commented
Can we get an idea of how complete this feature will be? i.e. can we get messages in the channels? can we get direct message content? etc...
Great, looking forward to the release of this. Semi-automated team creation is critical for user adoption after all
When do we have an API to read channel conversations, likes etc.?
Bijeesh Mohan CM commented
Do we have any update on the APIs to read channel conversations, likes etc. Would like to create a user report on any activity happening in the Team channels like number of conversations a user initiated, number of combined likes, channel chat threads, the top 5 most liked comments, the 5 newest comments, the most active channels etc. Do we have any option other than waiting for these APIs to be released.
David Gibbons commented
It's unbelievable that this is not ready at this time.
Hurry the **** up
Any update? More than 3 months, so slow?
Any updates on Teams Graph API ? Please let us know how soon it would be available in Beta.
How soon will the API be moved from Beta?
Also an API to list conversations within a channel would be great
Sander de Wit commented
I've upgrade the PowerShell module.
It includes the following functions now;
Tomorrow I will add support to add/get/remove channels.
The module does requite a few specific things;
1) A teams license needs to be present.
2) AzureAD modules need to be installed. (install-module AzureAD)
3) PowerShell 4.0 or higher is required
Sander de Wit commented
I created a PowerShell module to create new teams.
It's uses undocumented Teams API, but it will leverage a form of the graph api.
please see https://github.com/sanderdewit/teams-module/blob/master/teams_v2.psm1 for more information.
Since this is a very recent development, I'll add more features as I get around to it.
Tom Morgan commented
You can do some things today, if you're happy that the API calls are still in Beta. You can create Channels in Teams, and post messages to channels (and probably some other stuff as well). More details and how-to: https://blog.thoughtstuff.co.uk/2017/07/how-to-manage-microsoft-teams-send-messages-using-the-teams-api-in-microsoft-graph/
Tony Pounder commented
I'll give a +1 to this.
Vernon Stinebaker commented
+1 up vote for this feature.