microsoftgraph / microsoftgraph/msgraph-beta-sdk-java

Missing ConditionalAccessPolicy properties and endpoint methods

Open
#1,181 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

dependency:metadata status:waiting-for-dependency
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.
Additional context?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.