Skip to main content

Indirect Resource Rule

An indirect resource rule is a link between a resource and its indirect groups, equivalent in another system and the indirect groups of the equivalent in the other system.

Examples

For example:

Code attributes enclosed with <> need to be replaced with a custom value before entering the script in the command line.

<IndirectResourceRule
    ResourceType="MicrosoftEntraID_DirectoryObject_NominativeUser"
    Property="memberOf"
    Correspondence="SharePointObject"
    CorrespondenceMembershipProperty="Group"
    Entitlement="Entitlement"
    />

Properties

PropertyDetails
Correspondence optionalType Int64 Description Property used to link the resource with an associated resource in another system, like Microsoft Entra ID (formerly Microsoft Azure AD) or SharePoint groups.
CorrespondenceMembershipProperty optionalType Int64 Description Same as Property but for the associated resource found in the external system.
Entitlement optionalType Int64 Description Property used if the assignment is not given by the property in the external system. In the example, the assignment that we are looking for is not whether a user is in a group. Instead, it is the entitlement(s) given by the groups of which the user is a member.
Property requiredType Int64 Description Resource property for membership. Example: if our entity is a group, the group(s) it belongs to.
ResourceType requiredType Int64 Description Represents the Id of the ResourceType you want to use the rule on.