Best way to get Channels count of team in Graph API

Visitor

Is there any way to get Channels count of a team. There is a Graph api for this ( https://graph.microsoft.com/v1.0/teams/<team-id>/channels ) but it is very slow and I need only "odata.Count".

1 Reply

@SunilKarampudi - Please refer this doc: Use query parameters to customize responses - Microsoft Graph | Microsoft Docs
Note: $count is not supported for collections of resources that derive from directoryObject like collections of users or groups.

Thanks, 

Prasad Das

---------------------------------------------------------------

If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.