It seems like your browser didn't download the required fonts. Please revise your security settings and try again.

Office 365 Connection Manager

  • Last updated on

Use the Office 365 Configuration Manager to link your Office 365 account to Security Awareness Training, so you can import data into a Security Awareness Training address book.

The information pulled from Office 365 is users in your Office 365 account – which corresponds with users in your organization. This is not the same as contacts in an address book. 

Required Access Level

To create the connection, you must have at least User.Read.All permissions, an elevated level of access, in the Office 365 account. If you do not have the adequate access, a screen from Microsoft instructs you to submit the form to ask your organization's Office 365 Administrator for updated credentials. Your Office 365 Administrator can either accept or deny your request. In either case, you will will receive an email from Microsoft. If your request was accepted while you were in the middle of the procedure described below, restart this procedure.

Default Field Mapping

By default, there is a default mapping of standard Office 365 to Security Awareness Training fields, as shown in the table below. 

You can configure your own column mapping between your Office 365 data and Security Awareness Training fields, described later in this article. If you choose not to customize mapping, the default values are used. 

Note that if you are customizing the field mapping, you must map the email address field.

Data Mapped between Office 365 Data Source and Security Awareness Training Fields

Office 365 Field NameSecurity Awareness Training Mapping
MailEmail Address
GivenNameFirst Name
SurnameLast Name
DisplayNameFull Name
JobTitlePersonal Title
EmployeeHireDateHire Date
ManagerDisplayNameManager Name
ManagerMailManager Email Address
DepartmentOrganization Area
EmployeeTypeOrganization Level
MobilePhoneMobile Phone
MobilePhonePhone
CompanyNameCompany Name
CountryCountry
OfficeLocationSite/Location
PreferredLanguageLanguage Code
StreetAddressStreet Address
CityCity
StateState
PostalCodeZip Code

For connectors created before the May 9, 2022 release, the following fields are selected by default from Office 365 and correspond to the following Security Awareness Training fields.

Note that if all field mapping rows are deleted on a connector created after the May 9, 2022 release, this default mapping will be used.

Office 365 Field NameSecurity Awareness Training Mapping
MailEmail Address
GivenNameFirst Name
SurnameLast Name
DisplayNameFull Name
JobTitlePersonal Title
OfficeLocationSite/Location
MobilePhoneMobile Phone; Phone
Note that the Mobile Phone Number is used for both the Mobile Phone and Phone fields.
PreferredLanguageLanguage Code

This information is also shown in How to Edit an Address Book.

Creating a New Connector

To create a connector:

  1. Navigate to System > Office 365 Connection Manager. Then click New.

  2. Click Connect to Office 365. If you are not already logged into your Office 365 account, you will be prompted to log in.
  3. Click Accept to accept the permissions requested by Microsoft. If you see a notice from Microsoft about credentials, refer to the note about Required Access Level above. If you receive new credentials at this point, you must restart the process. 
  4. Look for the green Success message banner, showing that you created your connection successfully. The page displays sample data from your Office 365 account so you can verify that the imported data looks accurate.
  5. Click Create an Address Book to continue the process, or click Edit Configuration to make changes to the connector before you create an address book. Use the Edit Configuration page to block specific email addresses from being retrieved from Office 365 and to add or delete fields retrieved from Office 365.

You can create more than one connector. 

This information is also described in How to Create an Address Book.

Importing Criteria

Security Awareness Training imports all enabled user accounts that meet the following criteria:

  • Users must have a valid email address (not including @onmicrosoft.com email addresses)
  • Users must have an email address that uses a domain that is authorized in Security Awareness Training. (See Domain Authorization.)
  • The account is not an external or guest account.
  • The account has an active, provisioned Exchange plan.

Omitting Users from Campaigns

Depending on how you have configured Office 365, the imports above might include some items that you do not want to include in phishing campaigns (e.g., service accounts, conference rooms).

Before the users are imported, edit the configuration and add specific email addresses to the Email Block List.

Deleting a Connector

Important:

  • Deleting an Office 355 Connector is permanent. You cannot undo this process.
  • If a connector is associated with an address book, you will not be able to update the address book using automated import.
    Within the address book, you can still add and edit entries as described in How to Edit an Address Book.

To delete a connector:

  1. Navigate to System > Office 365 Connection Manager

  2. Locate the connector you want to delete. Click the delete (X) button for that row. Confirm that you want to delete that connector. 
    To proceed without deleting, click the Back button on your browser. 

Mapping Office 365 Fields

Complete the section above, Creating a New Connector, before proceeding with these steps. 

  1. Click the Attribute Configuration button when viewing your new Office 365 Configuration.
    The Attribute Configuration page displays the default mappings from the Security Awareness Training Address Fields to the Office 365 Attributes.

  2. To create a new field mapping, click New.

    1. Select an Address Book field and then an Office 365 Attribute to create the mapping. Click Save
    2. Repeat this process for each new mapping. 
    3. Click Return to the Office 365 Configuration Manager to continue. 
  3. To edit a field mapping, click the edit pencil icon editButton.png for that mapping.

    1. Select the appropriate fields to map. Click Save
    2. Repeat this process for each new mapping. 
    3. Click Return to the Office 365 Configuration Manager to continue. 
  4. After you complete your configuration, you can create an Address Book. Refer to How to Create an Address Book.

Office 365 Credentials and Permissions

Keeping Your Credentials Safe

Security Awareness Training does not use  – or know anything about – your Office 365 password. The Office 365 Connection Manager uses the OAuth2 specification, which is specifically designed to keep your credentials safe from third-party vendors. When you create the connection, you agree to share specific Microsoft data with Security Awareness Training. With OAuth2, only that data is shared – no other use of your account is allowed.

Changing Your Password

Given this connection method described above, you can change your Office 365 password at any time without affecting Security Awareness Training. 

Required Permissions/Scopes

Any Office 365 account can use the Office 365 Connection Manager, as long as it has the required permissions (sometimes referred to as scopes).  If your account lacks any of these permissions, the Office 365 Connection Manager will help you to submit a request to your organization's Office 365 administrator.

Office 365 permissions/scopes required to use the Office 365 Connection Manager:

  • openid
  • profile
  • offline_access
  • user.read
  • mailboxsettings.read
  • user.readbasic.all
  • user.read.all
Last updated on