microsoftgraph / microsoftgraph/msgraph-metadata
microsoft.graph.directoryRoleTemplate is missing a filter restrictions annotation.
Nobody has claimed this yet.
- Dominant language
- XSLT
- Stars
- 166
- Forks
- 55
- Avg merge
- 16h 12m
- Merged PRs (30d)
- 14
Description
Similar to #225, filtering should be restricted on /directoryRoleTemplates (microsoft.graph.directoryRoleTemplate) as the API does not support $filter. For example, both these queries:
https://graph.microsoft.com/v1.0/directoryRoleTemplates?$filter=displayName eq 'Global Administrator'
https://graph.microsoft.com/beta/directoryRoleTemplates?$filter=displayName+eq+'Global+Administrator'
return:
{
"error": {
"code": "Request_UnsupportedQuery",
"message": "Filtered searches against this resource are not supported.",
"innerError": {
"date": "2024-04-12T08:59:05",
"request-id": "30721130-73b7-4ceb-b260-8b7d96fb59b6",
"client-request-id": "30721130-73b7-4ceb-b260-8b7d96fb59b6"
}
}
}
Hopefully the same fix as #225 will do the job
Contributor guide
No contributing guide indexed for this repository
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 comparing the fix for #225 with the metadata entry for microsoft.graph.directoryRoleTemplate and the /directoryRoleTemplates resource. Confirm the restriction is represented consistently for v1.0 and beta; done means filtering is marked unsupported for the reported queries.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100