msgraph-beta-sdk-java icon indicating copy to clipboard operation
msgraph-beta-sdk-java copied to clipboard

Missing ConditionalAccessPolicy properties and endpoint methods

Open ubertil opened this issue 8 months ago • 5 comments

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

ubertil avatar Jun 13 '25 19:06 ubertil

A GitHub search for the specific "List" endpoint does not yield any results: https://github.com/search?q=repo%3Amicrosoftgraph%2Fmsgraph-beta-sdk-java%20%2Fidentity%2FconditionalAccess%2Fpolicies&type=code

ubertil avatar Jun 13 '25 19:06 ubertil

Hi @ubertil Thank you for using the SDK and for reaching out.

This change looks to be "intended" since the property was removed from the metadata the service provides us. https://github.com/microsoftgraph/msgraph-metadata/pull/819

(see the beta prod file)

This seems to be a service issue, as the client experiences team we do not have access to backend services. Please contact the support. More information

baywet avatar Jun 16 '25 12:06 baywet

Thank you @baywet for the quick response.

Unfortunately, I am not sure that our plan allow us to perform a technical support ticket as this is a "Basic plan" (with a Microsoft Entra ID P2 licence) ...

Image

Anyway that you could support the request internally ?

ubertil avatar Jun 16 '25 13:06 ubertil

I did create an internal ticket, services are usually less responsive when the request doesn't come from the customer directly. https://portal.microsofticm.com/imp/v5/incidents/details/643672795/summary (you won't be able to access this link)

baywet avatar Jun 16 '25 13:06 baywet

Hope they can explain the metadata change as this is pretty impacting for us 🙏

ubertil avatar Jun 16 '25 14:06 ubertil