Skip to main content

Changing a field's data source (Microsoft 365 or OneDirectory) and its mapping

Switch any field between syncing from Microsoft 365 and being editable in OneDirectory, in either direction, and choose which Microsoft 365 attribute a synced field maps to.

Written by Greg Bennett

Every field gets its data from one of two places. Microsoft 365 fields sync one-way from Entra ID and are read-only in OneDirectory. OneDirectory fields are stored in OneDirectory and can be edited there. Administrators can switch a field between the two in either direction, and for a Microsoft 365 field can choose which Microsoft attribute it maps to.

Who can do this: Administrators only. Fields isn't available to Directory Editors or End Users.


Open the field

  1. Open the Directory Console: click Edit in Console in the top bar, or Directory Console at the bottom of the OneDirectory sidebar.

  2. Select Fields, then click the field. Its settings open in a panel on the right.


How the data source works

  • Microsoft 365: the field syncs from Microsoft 365 / Entra ID and is read-only in OneDirectory. The panel shows which Microsoft 365 attribute it's Mapped to and its Sync Schedule.

  • OneDirectory: the field is stored and edited in OneDirectory. The panel shows Edit Permissions instead, so you can choose who may edit it.


Make a synced field editable (Microsoft 365 to OneDirectory)

  1. Under Data Source, click Change.

  2. Choose OneDirectory.

  3. Set Edit Permissions to say who can edit it. See Setting field edit permissions.

The values already synced from Microsoft 365 are kept as the starting point. From now on, changes made in Microsoft 365 no longer flow into this field.


Switch a field back to syncing (OneDirectory to Microsoft 365)

  1. Under Data Source, click Change.

  2. Choose Microsoft 365.

The field becomes read-only in OneDirectory again and picks up its values from Microsoft 365 on the next sync.

Important: Switching back to Microsoft 365 replaces the values entered in OneDirectory with the values from Microsoft 365. Anything people typed into the field while it was editable is overwritten. If you want to keep that data, export it or copy it into Microsoft 365 first.


Change which Microsoft 365 attribute a field maps to

For a field whose data source is Microsoft 365, you can choose the attribute it reads from. This is how you bring in data your organization keeps in one of the 15 Entra ID extension attributes, for example a phone extension, a cost center or a badge number.

  1. Open the field. Its data source must be Microsoft 365.

  2. Under Mapped to Microsoft 365 Field, click Change.

  3. Pick the field's default attribute, or one of extensionAttribute1 to extensionAttribute15.

The new values come through on the next sync.

Note: A few identity fields, such as Email, are fixed to their Microsoft 365 attribute and don't offer Change. Attributes that exist only in on-premises Active Directory and aren't in Microsoft Graph can't be mapped directly; copy them into an extension attribute first. See How OneDirectory integrates with Microsoft 365.


Related

Did this answer your question?