<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
Microsoft Office 365 Import Error "SQLException for SQL [n/a]; SQL state [HY000]; error code [1366]; could not execute statement"
Okta Integration Network
Overview

Microsoft Office 365 import fails with the following error:

An error occurred during import
JDBC exception on Hibernate data access: SQLException for SQL [n/a]; SQL state [HY000]; error code [1366]; could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement


Import Error

Applies To
  • Microsoft Office 365
  • Import
  • Provisioning
Cause

The error is related to the special characters, including emojis, mathematical symbols, and/or foreign characters that are used in the group's name and description imported from Microsoft Office 365.

Solution

To resolve this issue, please follow the steps or video below:

 

  1. Verify that all the groups that are trying to be imported from Microsoft Office 365 do not have any special characters, including emojis, mathematical symbols, and/or foreign characters in the name or description.
  2. Once the group name or description is corrected, attempt the import again.
Loading
Microsoft Office 365 Import Error "SQLException for SQL [n/a]; SQL state [HY000]; error code [1366]; could not execute statement"