Is there a way to find or filter for communication sites or teams or channel connected sites?

Robert Heep 0 Reputation points
2023-04-28T15:28:49.1666667+00:00

Hi,

I was wondering. The only way to list all sites is this command:

https://graph.microsoft.com/v1.0/sites?search=*

This command doesn't return anything at all (empty value):

https://graph.microsoft.com/v1.0/sites 

I was expecting a little more from this command. Am I missing something?

I need a way to list all site collections that are connected to Teams as well as any channels sites from private or shared channels.

Thanks! Robert

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,072 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Zehui Yao_MSFT 5,861 Reputation points
    2023-05-01T06:20:36.7233333+00:00

    Hi Robert Heep , since Graph does not currently have endpoints that support this feature, you can try to use SharePoint PowerShell, please refer to this related article. Hope this helps. Best Wishes.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.