Idira Identity: How to block attributes from syncing to Office 365 without clearing the source data
79
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 13:03 PM
Question
Is it possible to hide an attribute(s) from sync to Office 365 in order to not display in the GAL (global address list) or OAB (Offline Address Book), or in the Office 365 admin portal?
Example:
An administrator wishes to use Mobile numbers (AD attribute name 'mobile') for MFA (SMS and Phone call challenges), but does not want a Users personal mobile phone number published in the GAL.
Environment
Identity App Access Service
Answer
This is possible, using Idira Identity provisioning and a custom addition to the provisioning script. Note that the example below will prevent mobile phone number from syncing and therefore will not be shown in the GAL or OAB, This can be modified to use other AD attribute names such as middleName or any other non-critical attributes.
Note: DisplayName, ProxyAddresses, Mail, samAccountName, and UserPrinicipalName attributes are REQUIRED for a successful sync/provisioning.
To prevent sync of an attribute such as Mobile, paste the below example to a new line in the provisioning script section (Office 365 WS-Fed + Provisioning>>Provisioning>> Provisioning script)
destination.Mobile=null;
Additional Information
Details
Question:Is it possible to hide an attribute(s) from sync to Office 365 in order to not display in the GAL (global address list) or OAB (Offline Address Book), or in the Office 365 admin portal?
Example:
An administrator wishes to use Mobile numbers (AD attribute name 'mobile') for MFA (SMS and Phone call challenges), but does not want a Users personal mobile phone number published in the GAL.
Answer:
This is possible, using Idira Identity provisioning and a custom addition to the provisioning script. Note that the example below will prevent mobile phone number from syncing and therefore will not be shown in the GAL or OAB, This can be modified to use other AD attribute names such as middleName or any other non-critical attributes.
Note: DisplayName, ProxyAddresses, Mail, samAccountName, and UserPrinicipalName attributes are REQUIRED for a successful sync/provisioning.
To prevent sync of an attribute such as Mobile, paste the below example to a new line in the provisioning script section (Office 365 WS-Fed + Provisioning>>Provisioning>> Provisioning script)
destination.Mobile=null;