Skip to content

Missing AdministrativeUnit attributes: membershipRule, membershipRuleProcessingState and membershipType #838

Description

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

  1. Use the AdministrativeUnit class
  2. 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:

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions