BUG: ConsistencyLevel: Eventual header should be enabled for advanced queries or all results will be returned regardless
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- powershell
- 领域
- api
调研方向
从 Invoke-GraphRequest 入口点和 AutoRest 生成的命令开始,然后跟踪 -Search、-Count、-OrderBy 和 -Filter 的处理方式。将它们的行为与 ConsistencyLevel 参数以及链接的 Microsoft Graph 指南进行比较。当高级查询参数自动发送 eventual consistency 标头而无需 workaround 时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
https://developer.microsoft.com/en-us/identity/blogs/microsoft-graph-advanced-queries-for-directory-objects-are-now-generally-available/
The consistencylevel: eventual header should automatically be set if parameters such as -Search, -Count, -OrderBy, and -Filter if an operation parameter is used.
Workaround
Invoke-GraphRequest
-Headers @{ConsistencyLevel='eventual'}
AutoRest-Generated Commands
-ConsistencyLevel Eventual
This should be safe for general profile usage as well in substitute for doing the above:
$PSDefaultParameterValues['Get-Mg*:ConsistencyLevel'] = 'Eventual'
- 主要语言
- C#
- 星标
- 898
- 派生
- 230
- 平均合并
- 2 天 5 小时
- 30 天内合并 PR
- 31
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoftgraph/msgraph-sdk-powershell 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
-
status:waiting-for-triage type:bug
难度 2/5 1-3 小时 新手友好度 78/100
-
status:waiting-for-triage type:bug
难度 3/5 1-2 天 新手友好度 72/100
-
难度 4/5 3-5 天 新手友好度 48/100
-
status:waiting-for-triage type:bug
难度 4/5 3-5 天 新手友好度 45/100
查看 microsoftgraph/msgraph-sdk-powershell 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 86/100
-
:watch: Not Triaged 11.0 fundamentals/subsvc
难度 2/5 1-3 小时 新手友好度 92/100
dotnet/AspNetCore.Docs#37699 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
SubtitleEdit/subtitleedit#15108 · 1 条评论 ·
-
area/docs-content Bug pulumi/docs
难度 1/5 1-3 小时 新手友好度 94/100
-
agentic-workflows untriaged
难度 2/5 1-3 小时 新手友好度 76/100