Site metadata returned through Graph using https://graph.microsoft.com/v1.0/sites/{Site-ID} for a regular SharePoint site
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#sites/$entity",
"createdDateTime": "2021-04-13T13:19:30.687Z",
"description": "Documentation",
"id": "relqu.sharepoint.com,680275c0-a5c9-4ea6-adec-f263b2f77f41,f9e5ee0f-8b0f-49d9-ac1d-d093b3b29198",
"lastModifiedDateTime": "2023-02-27T16:30:52Z",
"name": "Documentation",
"webUrl": "https://relqu.sharepoint.com/sites/Documentation",
"displayName": "Documentation",
"root": {},
"siteCollection": {
"hostname": "relqu.sharepoint.com"
}
}
Site metadata returned through Graph using https://graph.microsoft.com/v1.0/sites/{Site-ID} for a Teams SharePoint site
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#sites/$entity",
"createdDateTime": "2021-06-18T16:25:18.54Z",
"description": "This team is where Tom will test a variety of different scenarios",
"id": "relqu.sharepoint.com,b56617a8-3d8b-4e9d-a6ad-bb2206912b7c,385117a0-f3c8-402c-8898-a694bf6feef4",
"lastModifiedDateTime": "2023-02-27T16:36:39Z",
"name": "TomsTestTeam",
"webUrl": "https://relqu.sharepoint.com/sites/TomsTestTeam",
"displayName": "Toms Test Team",
"root": {},
"siteCollection": {
"hostname": "relqu.sharepoint.com"
}
}
Can any of the metadata here be used to differentiate between a regular SharePoint site vs Teams SharePoint site?
Can the Graph API query be updated to get any additional metadata to help with this differentiation?