Differentiate between Microsoft Teams Groups from Office 365 Groups - microsoft-graph-api

Is that possible to uniquely identity groups that belong to Microsoft Teams from the result returned from https://graph.microsoft.com/v1.0/groups?

You can't tell if any specific group is also a team by using the url (https://graph.microsoft.com/v1.0/groups). But you can get all the list of Teams joined by you using Joined teams API.

Related

Microsoft Teams: Company wide contacts list

I have 6 users running Microsoft 365 Business Basic incl. Teams Telephony Standard licence. To display customer names during incoming PSTN calls trough Teams I would like to create a company wide contacts list.
How can I create such a shared contacts list that I can populate via the Microsoft Graph API from our CRM system?

Contact group using Microsoft Graph API

How to fetch contact groups, also called contact lists in Outlook web (not contact folders) using Microsoft Graph API?
List contacts and list contact folders doesn't fetch contact groups.
Created a uservoice for this feature: link.
Do support if you think there's no feature currently avaliable to do this!

How to identify if an Office 365 group has guests via MS graph API or via any other method?

I am setting up housekeeping process for guests accounts in Azure AD and for that purpose I want to know which Office 365 groups have Guests as members. How can I identify those groups which are externally shared via MS Graph API? Is there any property available?
You could look with reportRoot: getOffice365GroupsActivityDetail
https://learn.microsoft.com/en-us/graph/api/reportroot-getoffice365groupsactivitydetail?view=graph-rest-1.0
It seems this endpoint can give you "External Member Count" with the "Group Display Name"

How to get SharePoint site id from a Microsoft Team channel using Microsoft Graph API?

I am building a custom tab app for Microsoft Teams which needs to list the documents which belong to the channel where the tab app is installed. These documents are hosted on Microsoft SharePoints.
So far, the listing is working using the Microsoft Graph API endpoint
https://graph.microsoft.com/beta/groups/{group-id-for-teams}/drive/root/children, see here
The issue with this endpoint is that it lists all the documents for a group, and not a specific channel.
The {group-id-for-teams} is given by the microsoft teams context, with the channel Id.
Is there a way to retrieve only the documents associated to a team channel from a channel id?
Given that if the user is changing the name of a channel, after the channel was created, the site name is not changed.
So, we can't rely on the channel name when listing all the documents.
Thanks for your feedback!
there are no stable correlations between a channel id and a SharePoint folder. So we can't get SharePoint site id from a Microsoft Team channel using Microsoft Graph API.
we can't rely on their names (except for channel "General"), because if the name of the channel is changed through Microsoft Teams, the SharePoint folder name is not changed.
You are right. So though the root/children will return lists all the documents for a group, and almost each specific channel has its corresponding folder. But we may find some channel doesn't have sub folder or some folder doesn't have corresponding channel.

How to list all the users of a team using asana api?

I am developing an application using the Asana API. As a part of which I need to display all the members of a team in an organization. When I use /organizations/organization-id/teams I get a listing of all the teams(team id and team name) and if i use /teams/team-id I get the team id, team name, and organization details(id and name).
How do I access the team members?
Try /teams/{team-id}/users - not yet publicly documented, but I suspect the endpoint won't change much before we publicly document it.

Resources