Expected behavior
The AdministrativeUnit.java class should have these attributes that are listed in the administrativeUnit Graph API doc in beta:
membershipRule
membershipRuleProcessingState
membershipType
Actual behavior
These attributes are missing from the class (and I've checked the entire repo too just in case), as confirmed both in:
Steps to reproduce the behavior
- Use the AdministrativeUnit class
- Try to access any of the 3 missing attributes listed above
Analysis
It's not a matter of v1.0 vs. beta attribute, because the isMemberManagementRestricted attribute which is currently only available in beta is correctly available in this beta SDK:
|
public Boolean isMemberManagementRestricted; |
|
public Boolean getIsMemberManagementRestricted() { |
Note that this issue is about AdministrativeUnits and it must not be confused with Groups which have similar membership* attributes, and which are correctly available in this SDK:
|
/** |
|
* The Membership Rule. |
|
* The rule that determines members for this group if the group is a dynamic group (groupTypes contains DynamicMembership). For more information about the syntax of the membership rule, see Membership Rules syntax. Returned by default. Supports $filter (eq, ne, not, ge, le, startsWith). |
|
*/ |
|
@SerializedName(value = "membershipRule", alternate = {"MembershipRule"}) |
|
@Expose |
|
@Nullable |
|
public String membershipRule; |
|
|
|
/** |
|
* The Membership Rule Processing State. |
|
* Indicates whether the dynamic membership processing is on or paused. Possible values are On or Paused. Returned by default. Supports $filter (eq, ne, not, in). |
|
*/ |
|
@SerializedName(value = "membershipRuleProcessingState", alternate = {"MembershipRuleProcessingState"}) |
|
@Expose |
|
@Nullable |
|
public String membershipRuleProcessingState; |
This feature is currently in preview: https://learn.microsoft.com/en-us/entra/identity/role-based-access-control/admin-units-members-dynamic
Expected behavior
The AdministrativeUnit.java class should have these attributes that are listed in the administrativeUnit Graph API doc in beta:
membershipRulemembershipRuleProcessingStatemembershipTypeActual behavior
These attributes are missing from the class (and I've checked the entire repo too just in case), as confirmed both in:
Steps to reproduce the behavior
Analysis
It's not a matter of v1.0 vs. beta attribute, because the
isMemberManagementRestrictedattribute which is currently only available in beta is correctly available in this beta SDK:msgraph-beta-sdk-java/src/main/java/com/microsoft/graph/models/AdministrativeUnit.java
Line 57 in 0874796
msgraph-beta-sdk-java/src/main/java/com/microsoft/graph/beta/generated/models/AdministrativeUnit.java
Line 73 in 44f5aeb
Note that this issue is about AdministrativeUnits and it must not be confused with Groups which have similar membership* attributes, and which are correctly available in this SDK:
msgraph-beta-sdk-java/src/main/java/com/microsoft/graph/models/Group.java
Lines 205 to 221 in 0874796
This feature is currently in preview: https://learn.microsoft.com/en-us/entra/identity/role-based-access-control/admin-units-members-dynamic