microsoftgraph / microsoftgraph/msgraph-beta-sdk-java
Missing ConditionalAccessPolicy properties and endpoint methods
还没有人认领这个 Issue。
- 主要语言
- Java
- 星标
- 32
- 派生
- 14
- 平均合并
- 1 天 3 小时
- 30 天内合并 PR
- 6
描述
Is your feature request related to a problem? Please describe the problem.
Hi all,
While upgrading from 6.21.0 to 6.46.0 (I know, quite the upgrade), I noticed that the ConditionalAccessPolicy class doesn't follow the model documented by the official Microsoft Graph Documentation and is not "listable" anymore.
What used to be a simple request from
client.policies.conditionalAccessPolicies().get(...)
is now completely missing from the SDK.
Following the URL pattern described in the documentation, I was hoping I'll be able to find my conditional access policies under .identity().conditionalAccess().
Unfortunately, there's no .get() method under there...
Furthermore, the ConditionalAccessPolicy class (available under graph.beta.models.networkaccess namespace ?) is missing quite a few properties listed by documentation:
grantControls❌conditions❌id❌state❌sessionControls❌
Describe the solution you'd like.
- Conditional access policies can be listed under the
.identity().conditionalAccess().policies().get(...) ConditionalAccessPolicyclass has all the appropriate fields available
Additional context?
No response
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先定位 ConditionalAccessPolicy 模型和 SDK 入口点 identity().conditionalAccess()。将两者与链接的 Microsoft Graph 文档进行比较,包括所请求的策略属性和列表端点。完成的标准是可以通过 policies().get(...) 列出策略,并且模型公开 grantControls、conditions、id、state 和 sessionControls。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- api
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100