microsoftgraph / microsoftgraph/msgraph-sdk-php
Missing programmatic endpoint for a team's root site
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 669
- Forks
- 150
- Avg merge
- 15h 21m
- Merged PRs (30d)
- 3
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the groups()->byGroupId()->byUrl() entry point and compare it with sites()->getAllSites(), focusing on how the Microsoft Graph groups/{id}/sites/root/ URL is represented. Done means callers can access the team's root SharePoint site programmatically through a dedicated SDK path, with coverage for that endpoint.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100