how to retrieve "MembershipRule" for Azure access package policies using MS Graph API SDK Powershell
In our Azure environment, we've access packages being provisioned via auto-assignment policies. (Ex: Department="Sales") I was looking for a way to retrieve each access package auto-assignment policy criteria using Powershell MS Graph API SDK. From what I could tell so far, it seems like the info I am looking for is stored in "MembershipRule" attribute of the policy but couldn't find a correct API function that returns it. I have tried the following API so far with no luck. Any input would be much appreciated! Get-MgEntitlementManagementAccessPackage -ExpandProperty "assignmentpolicies" Get-MgBetaEntitlementManagementAccessPackageAssignmentPolicy -AccessPackageAssignmentPolicyId $policy.Id