Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing programmatic endpoint for a team's root site #1501

Open
Marian-Kechlibar opened this issue Apr 5, 2024 · 0 comments
Open

Missing programmatic endpoint for a team's root site #1501

Marian-Kechlibar opened this issue Apr 5, 2024 · 0 comments

Comments

@Marian-Kechlibar
Copy link

The following endpoint

'https://graph.microsoft.com/v1.0/groups/' . $entityId . '/sites/root/'

which, for a Group that is a Microsoft 365 group, returns details of that team's root Sharepoint site, cannot be accessed programatically, only through

$context->groups()->byGroupId($entityId)->byUrl('https://graph.microsoft.com/v1.0/groups/' . $entityId . '/sites/root/')

There is a function sites()->getAllSites(), but it returns a bunch of sites without distinguishing which one is the root Sharepoint site of the group.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant