Skip to main content

Data provisioning

Enable provisioning

Enable provisioning

Connector settings

ParameterValue
Server TypeHybrid
Local: Connection URIhttps://[hostname]/powershell
Local: AuthenticationBasic
Local: Username[Username]
Local: Password[Password]
Local: Session options-SkipCACheck -SkipCNCheck -SkipRevocationCheck
Cloud: AuthenticationCertificate with password
Organization[Organization]
Application ID[Application ID]
Certificate (PEM format)-----BEGIN CERTIFICATE----- [Certificate] -----END CERTIFICATE-----
Private key (PEM format)-----BEGIN CERTIFICATE----- [Private key] -----END CERTIFICATE-----
Cloud: Private key password[Private key password]
Cloud: Remote domain[Remote domain]
Test connectionSelect the checkbox

Task mappings

Omada Exchange Hybrid connectivity uses the following mappings:

ParameterResource TypeDescription
Mailbox - AssignmentExchange User MailboxThe mapping grants access to the specified mailbox for the target user, based on the requested permission level (example: Full Access).
SharedMailbox - ResourceExchange Shared MailboxIncludes mappings that handle the creation and deletion of shared mailbox resources.
MailboxAccess - AssignmentExchange Shared MailboxThe mapping grants access to the specified shared mailbox for the target user, based on the requested permission level (example: Full Access).
RoomMailbox – ResourceExchange Room MailboxIncludes mappings that handle the creation and deletion of room mailbox resources.
MailboxAccess - AssignmentExchange Room MailboxThe mapping grants access to the specified room mailbox for the target user, based on the requested permission level (example: Full Access).
EquipmentMailbox – ResourceExchange Equipment MailboxIncludes mappings that handle the creation and deletion of equipment mailbox resources.
MailboxAccess - AssignmentExchange Equipment MailboxThe mapping grants access to the specified equipment mailbox for the target user, based on the requested permission level (example: Full Access).
DistributionGroup – ResourceExchange Distribution GroupIncludes mappings that handle the creation and deletion of distribution groups.
DistributionGroupAssignment – AssignmentExchange Distribution GroupThe mapping adds the target user to the specified distribution group.
MailboxAccess - AssignmentExchange Mailbox AccessThe mapping grants access to user mailboxes (FullAccess, SendAs or SendOnBehalf).

Mailbox (Assignment) – Resource Type Exchange User Mailbox

Supported operations: Create, update, and delete.

ParameterDescriptionValue
Object IdMapObjectId
Object typeConstantMailbox
OperationMapOperation
IdentityMapROPE_AccountName
MailboxLocationMapROPE_ATTR_MAILBOXLOCATION
bundledAttributesExpressionstring.Format("issueWarningQuota=0", ROPE_ATTR_ISSUEWARNINGQUOTA)
bundledAttributesExpressionstring.Format("prohibitSendQuota=0", ROPE_ATTR_PROHIBITSENDQUOTA)
bundledAttributesExpressionstring.Format("prohibitSendReceiveQuota=0", ROPE_ATTR_PROHIBITSENDRECEIVEQUOTA)
bundledAttributesExpressionstring.Format("webmail=0", ROPE_ATTR_WEBMAIL)
bundledAttributesExpressionstring.Format("hideInAddressList=0", ROPE_ATTR_HIDEINADDRESSLIST)
bundledAttributesExpressionstring.Format("primaryEmail=0", ROPE_ATTR_PRIMARY_EMAIL)

SharedMailbox (Resource) – Resource Type Exchange Shared Mailbox

Supported operations: Create, update, and delete.

ParameterDescriptionValue
Object IdMapObjectId
Object TypeConstantSharedMailbox
OperationMapOperation
IdentityExpressionRLM_NAME.Replace("_SendOnBehalf", "").Replace("_SendAs", "").Replace("_FullAccess", "").Replace("_Local", "").Replace("_Cloud", "")
NameExpressionOperation == "CreateIfNotExists" ? RLM_NAME.Replace("_SendOnBehalf", "").Replace("_SendAs", "").Replace("_FullAccess", "").Replace("_Local", "").Replace("_Cloud", "") : null
DisplayNameExpressionRLM_NAME.Replace("_SendOnBehalf", "").Replace("_SendAs", "").Replace("_FullAccess", "").Replace("_Local", "").Replace("_Cloud", "")
AliasExpressionRLM_NAME.Replace(" ", "").Replace("_SendOnBehalf", "").Replace("_SendAs", "").Replace("_FullAccess", "").Replace("_Local", "").Replace("_Cloud", "")
MailboxLocationMapRLM_MAILBOXLOCATIONSET

MailboxAccess (Assignment) – Resource Type Exchange Shared Mailbox

Supported operations: Create, update, and delete.

ParameterDescriptionValue
Object IdMapObjectId
Object TypeConstantMailboxAccess
OperationMapOperation
IdentityMapROPE_DistinguisedName
mailboxPermissionExpressionROPE_ResourceIdentifier.Contains("FULLACCESS") ? "Full Access" : ROPE_ResourceIdentifier.Contains("SENDAS") ? "Send As" : ROPE_ResourceIdentifier.Contains("SENDONBEHALF") ? "Send on Behalf" : null
userMailboxGuidExpressionROPE_ResourceCBK.Substring(ROPE_ResourceCBK.IndexOf("_") + 1, ROPE_ResourceCBK.LastIndexOf("_") - ROPE_ResourceCBK.IndexOf("_") - 1)

RoomMailbox (Resource) – Resource Type Exchange Room Mailbox

Supported operations: Create, update, and delete.

ParameterDescriptionValue
Object IdMapObjectId
Object TypeConstantRoomMailbox
OperationMapOperation
IdentityExpressionRLM_NAME.Replace("_SendOnBehalf", "").Replace("_SendAs", "").Replace("_FullAccess", "").Replace("_Local", "").Replace("_Cloud", "")
NameExpressionOperation == "CreateIfNotExists" ? RLM_NAME.Replace("_SendOnBehalf", "").Replace("_SendAs", "").Replace("_FullAccess", "").Replace("_Local", "").Replace("_Cloud", "") : null
DisplayNameExpressionRLM_NAME.Replace("_SendOnBehalf", "").Replace("_SendAs", "").Replace("_FullAccess", "").Replace("_Local", "").Replace("_Cloud", "")
AliasExpressionRLM_NAME.Replace(" ", "").Replace("_SendOnBehalf", "").Replace("_SendAs", "").Replace("_FullAccess", "").Replace("_Local", "").Replace("_Cloud", "")
MailboxLocationMapRLM_MAILBOXLOCATIONSET

MailboxAccess (Assignment) – Resource Type Exchange Room Mailbox

Supported operations: Create, update, and delete.

ParameterDescriptionValue
Object IdMapObjectId
Object TypeConstantMailboxAccess
OperationMapOperation
IdentityMapROPE_DistinguisedName
mailboxPermissionExpressionROPE_ResourceIdentifier.Contains("FULLACCESS") ? "Full Access" : ROPE_ResourceIdentifier.Contains("SENDAS") ? "Send As" : ROPE_ResourceIdentifier.Contains("SENDONBEHALF") ? "Send on Behalf" : null
userMailboxGuidExpressionROPE_ResourceCBK.Substring(ROPE_ResourceCBK.IndexOf("_") + 1, ROPE_ResourceCBK.LastIndexOf("_") - ROPE_ResourceCBK.IndexOf("_") - 1)

EquipmentMailbox (Resource) – Resource Type Exchange Equipment Mailbox

Supported operations: Create, update, and delete.

ParameterDescriptionValue
Object IdMapObjectId
Object TypeConstantEquipmentMailbox
OperationMapOperation
IdentityExpressionRLM_NAME.Replace("_SendOnBehalf", "").Replace("_SendAs", "").Replace("_FullAccess", "").Replace("_Local", "").Replace("_Cloud", "")
NameExpressionOperation == "CreateIfNotExists" ? RLM_NAME.Replace("_SendOnBehalf", "").Replace("_SendAs", "").Replace("_FullAccess", "").Replace("_Local", "").Replace("_Cloud", "") : null
DisplayNameExpressionRLM_NAME.Replace("_SendOnBehalf", "").Replace("_SendAs", "").Replace("_FullAccess", "").Replace("_Local", "").Replace("_Cloud", "")
AliasExpressionRLM_NAME.Replace(" ", "").Replace("_SendOnBehalf", "").Replace("_SendAs", "").Replace("_FullAccess", "").Replace("_Local", "").Replace("_Cloud", "")
MailboxLocationMapRLM_MAILBOXLOCATIONSET

MailboxAccess (Assignment) – Resource Type Exchange Equipment Mailbox

Supported operations: Create, update, and delete.

ParameterDescriptionValue
Object IdMapObjectId
Object TypeConstantMailboxAccess
OperationMapOperation
IdentityMapROPE_DistinguisedName
mailboxPermissionExpressionROPE_ResourceIdentifier.Contains("FULLACCESS") ? "Full Access" : ROPE_ResourceIdentifier.Contains("SENDAS") ? "Send As" : ROPE_ResourceIdentifier.Contains("SENDONBEHALF") ? "Send on Behalf" : null
userMailboxGuidExpressionROPE_ResourceCBK.Substring(ROPE_ResourceCBK.IndexOf("_") + 1, ROPE_ResourceCBK.LastIndexOf("_") - ROPE_ResourceCBK.IndexOf("_") - 1)

DistributionGroup (Resource) – Resource Type Exchange Distribution Group

Supported operations: Create, update, and delete.

ParameterDescriptionValue
Object IdMapObjectId
Object TypeConstantDistributionGroup
OperationMapOperation
IdentityExpressionRLM_NAME
NameExpressionOperation == "CreateIfNotExists" ? RLM_NAME : null
DisplayNameMapRLM_NAME
TypeConstantDistribution
DistributionGroupLocationConstantCloud
AliasMapRLM_NAME
bundleAttributesExpressionstring.Format("CustomAttribute1={0}", RLM_ODWLOGICKEY)

DistributionGroupAssignment (Assignment) – Resource Type Exchange Distribution Group

Supported operations: Create, update, and delete.

ParameterDescriptionValue
Object IdMapObjectId
Object TypeConstantDistributionGroupAssignment
OperationMapOperation
IdentityMapROPE_DistinguisedName
distributionGroupGuidExpressionROPE_ResourceCBK.Substring(ROPE_ResourceCBK.IndexOf("_") + 1, ROPE_ResourceCBK.LastIndexOf("<") - ROPE_ResourceCBK.IndexOf("_") - 1)
DistributionGrouplocationConstantCloud

MailboxAccess (Assignment) – Resource Type MailboxAccess

Supported operations: Create, update, and delete.

ParameterDescriptionValue
Object IdMapObjectId
Object typeConstantMailboxAccess
OperationMapOperation
IdentityMapROPE_DistinguisedName
mailboxPermissionExpressionROPE_ResourceIdentifier.Contains("FULLMAILBOXACCESS") ? "Full Access" : ROPE_ResourceIdentifier.Contains("SENDAS") ? "Send As" : ROPE_ResourceIdentifier.Contains("SENDONBEHALF") ? "Send on Behalf" : null
userMailboxGuidExpressionROPE_ATTR_MAILBOXREF.Remove(0, ROPE_ATTR_MAILBOXREF.IndexOf('>') + 1).Remove(ROPE_ATTR_MAILBOXREF.Remove(0, ROPE_ATTR_MAILBOXREF.IndexOf('>') + 1).IndexOf('<'))
MailboxLocationMapROPE_ATTR_MAILBOXLOCATION

Extension script

PowerShell extension script is supported for the Exchange connector. To enable it, specify the Script file name, containing available functions, in the Connection details section.

All Exchange commands in the PowerShell scripts require the following prefixes to determine which connection command should be carried out:

  • OnPrem - to execute a local connection.
  • Online - to execute a cloud connection.

For on-premises deployments, you must place the file in the OPS installation folder.

Extension script view
note

For the local deployment and Cloud Application Gateway, provide the entire file path to the script file. For the cloud deployment, providing only the file name is sufficient.