Data import
General settings
Connection details
| Setting | Description |
|---|---|
| Authentication | Certificate with password |
| Organization | Organization - specifies the organization that is used. |
| Application ID | Specifies the application ID of the service principal that's used in certificate-based authentication. |
| Certificate (PEM format) | The certificate used for certificate-based authentication. Value should be enclosed with -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- |
| Private key (PEM format) | A private key used for certificate-based authentication. Value should be enclosed with -----BEGIN PRIVATE KEY----- and -----END PRIVATE KEY----- |
| Private key password | Specifies a password for the private key used for certificate-based authentication. |
| Private key password | Private key password. |
| Script file | A custom script file. |
| Test connection | Enable this setting to test the connection information that you have specified. |
Before the first import
Before starting the import, create an Event Definition to populate the Prevent Self-Service field of the Shared Mailbox resources.
-
In Omada Identity, go to Setup > Administration > Process configuration > Event definitions. Click New. Enter the following details:
- Name: Exchange Online - Prevent self-service
- Event is triggered when: Select the A new object is created checkbox
- Triggers on objects of type: Resources
-
Click Apply.
-
At the bottom part of the window, click New to create a new Execute code method action.
-
Select Modify object and ensure the following configuration is applied:
-
Click OK.
-
Click Filter.
-
Create 3 new filters:
- Left side: Resource Type
- Right side (reference): Exchange Shared Mailbox
- Left side: System
- Right side(reference): Choose the name of your Exchange Online System
- Left side: Name
- Right side (value): Shared mailbox
-
Click OK and then Close.
Queries and mappings
Generic Resources - Resource
Parameters:
| Parameter | Value |
|---|---|
| Source | Generic resources |
| Distinct | Yes |
| Filter | Type=="Exchange User Mailbox" || Type=="Exchange Mailbox Access" |
| Description | Generic resources - User Mailbox and Mailbox Access |
Mappings:
| Destination | Operator | Source |
|---|---|---|
| Business key | Expression | string.Format("<system>{0}</system><genericresource>{1}</genericresource>",BuiltIn.SystemShortName, BusinessKey) |
| Security resource business key | Expression | string.Format("<system>{0}</system><genericresource>{1}</genericresource>",BuiltIn.SystemShortName, BusinessKey) |
| Name | Map | Name |
| Category | Map | Category |
| Type | Map | Type |
| Short name | Expression | string.Format("{0}_{1}", BuiltIn.SystemShortName, BusinessKey) |
| Logical key | Expression | string.Format("{0}_{1}", BuiltIn.SystemShortName, BusinessKey) |
User Mailbox – Resource Assignments
Parameters:
| Parameter | Value |
|---|---|
| Source | Mailboxes |
| Mailbox subtype | UserMailbox |
| Filter | Type=="User mailbox" |
| Description | Online user mailboxes assignments |
Mappings:
| Destination | Operator | Source |
|---|---|---|
| Resource Business key | Expression | string.Format("<system>{0}</system><genericresource>{1}</genericresource>",BuiltIn.SystemShortName,RecipientTypeDetails) |
| Account - CBK | Lookup | BusinessKey=ExternalDirectoryObjectID |
| Business key | Expression | Type=="User mailbox"?"<exchangeguid>"+ExchangeGuid+"</exchangeguid>":null |
| PRIMARY_EMAIL (1) | Map | PrimarySmtpAddress |
| ADDITIONAL_EMAILS (2) | Map | EmailAddresses |
| HIDEINADDRESSLIST (1) | Map | HiddenFromAddressListsEnabled |
| ISSUEWARNINGQUOTA | Map | IssueWarningQuota |
| PROHIBITSENDQUOTA | Map | ProhibitSendQuota |
| PROHIBITSENDRECEIVEQUOTA | Map | ProhibitSendReceiveQuota |
| WEBMAIL (1) | Map | OWAEnabled |
(1) - history
(2) - history and multivalued
User - Access Mailbox (send on behalf) – Resource Assignments
Parameters:
| Parameter | Value |
|---|---|
| Source | Mailboxes |
| Mailbox subtype | UserMailbox |
| Filter | Type=="Send on behalf" |
| Description | Online user mailbox access - Send on Behalf |
Mappings:
| Destination | Operator | Source |
|---|---|---|
| Resource Business key | Expression | string.Format("\<system\>{0}\</system\>\<genericresource\>sendonbehalfofmailboxaccess\</genericresource\>",BuiltIn.SystemShortName) |
| Account – CBK | Lookup | BusinessKey=GrantSendOnBehalfTo |
| Target – CBK | Expression | string.Format("{0}\_\<exchangeguid\>{1}\</exchangeguid\>", BuiltIn.SourceSystemID, ExchangeGuid) |
| Business key | Expression | string.Format("\<account\>{0}\</account\>\<resource\>{1}\</resource\>\<target\>{2}\</target\>", GrantSendOnBehalfTo, Type, ExchangeGuid) |
| PRIMARY_EMAIL (1) | Map | PrimarySmtpAddress |
| Identity | Map | Identity |
| RecipientTypeDetails | Map | RecipientTypeDetails |
| ExternalDirectoryObjectID | Map | ExternalDirectoryObjectID |
| GrantSendOnBehalfTo | Map | GrantSendOnBehalfTo |
| MAILBOXREF | Expression | string.Format("{0}\_\<exchangeguid\>{1}\</exchangeguid\>", BuiltIn.SourceSystemID, ExchangeGuid) |
(1) - history