microsoftgraph / microsoftgraph/msgraph-beta-sdk-java
Missing ConditionalAccessPolicy properties and endpoint methods
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 32
- Forks
- 14
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 6
Description
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
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 locating the ConditionalAccessPolicy model and the identity().conditionalAccess() SDK entry point. Compare both with the linked Microsoft Graph documentation, including the requested policy properties and list endpoint. Done means policies can be listed through policies().get(...) and the model exposes grantControls, conditions, id, state, and sessionControls.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100