Missing ConditionalAccessPolicy properties and endpoint methods
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
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
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
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) ...
Anyway that you could support the request internally ?
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)
Hope they can explain the metadata change as this is pretty impacting for us 🙏