Skip to main content

Microsoft EntraID Resource Type Mapping

Any resource type mapping must be configured with the same identifier as the related resource type.

Examples​

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

<MicrosoftEntraIDResourceTypeMapping Identifier="MicrosoftEntraID_DirectoryObject_Guest" Connection="MicrosoftEntraIDExportFulfillment" DefaultObjectClass="users" InvitationMode="MicrosoftInvitation" InvitationRedirectUrl="https://demo.usercube.com" PasswordResetSetting="ToSponsor">    <Property Property="objectid" IsDNProperty="true" />    <Property Property="groups" DataSourceBacklinkColumnName="member" />    <Property Property="displayName" IsDisplayNameProperty="true" />    <Property Property="mail" IsMailProperty="true" /></MicrosoftEntraIDResourceTypeMapping>

Properties​

PropertyTypeDescription
Connection requiredStringIdentifier of the corresponding connection.
DefaultObjectClass requiredStringDefault object class used by the provisioner, for example: person, organizationalPerson, or user, etc. Multiple default object classes are separated by: .
InvitationCustomizedMessageBody optionalStringMessage that will replace Azure's default message in the invitation. Only used when InvitationMode is set to MicrosoftInvitation.
InvitationMessageLanguage optionalStringLanguage of the invitation's message. When not specified, the message is in English. Only used when InvitationMode is set to MicrosoftInvitation.
InvitationMode default value: NoneInvitationModeMode of the invitation email sent during the creation of a guest Microsoft Entra ID account. None : nothing is sent. MicrosoftInvitation : an invitation email is sent to another person to initiate the external user's guest account in Microsoft Entra ID according to the related password reset setting (one-way, two-way, etc.).
InvitationRedirectUrl optionalStringURL that will be displayed in the invitation email. Required when InvitationMode is set to MicrosoftInvitation.
PasswordResetSetting optionalStringIdentifier of the corresponding password reset setting. Required when InvitationMode is set to None and DefaultObjectClass set to users.

Child element that provisions memberships of a Microsoft Entra ID object, such as groups or directory roles. Valid only in this resource type mapping.

<NavigationProperty Property="assignedRoles" AzureADProperty="directoryRoles" />
PropertyDetails
Property requiredType: String Description: Identifier of the entity property that holds the linked resources.
AzureADProperty requiredType: String Description: Microsoft Graph collection that contains the linked object, such as groups or directoryRoles.Note: the value isn't validated when the configuration is saved.

A Property with DataSourceBacklinkColumnName also provisions memberships, but the property identifier itself is then used as the Microsoft Graph collection. Use NavigationProperty when the property identifier differs from the collection name.