Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Azure AD import failing

asharma
Regular Contributor II
Regular Contributor II

Using OOTB connector for Azure AD, it runs successfully after default config and it is not running when i updated account attribute and account import field. It throws below error: Failed to import one or more object types due to
multiple errors. Check the Job Log Details page
for more information.

 

JSON

accountimport field:

Id,userPrincipalName,displayName,accountEnabled,givenName,Surname,businessPhones,Mail,mobilePhone,officeLocation,preferredLanguage,userType,Jobtitle,accountEnabled,onPremisesSyncEnabled,onPremisesImmutableId,onPremisesLastSyncDateTime,onPremisesSecurityIdentifier,City,Country,Department,usageLocation

 

ACCOUNT_ATTRIBUTES:

{
"acctLabels": {
"customproperty1": "FirstName",
"customproperty2": "LastName",
"customproperty3": "OfficePhone",
"customproperty4": "Email",
"customproperty5": "MobilePhone",
"Customproperty6": "OfficeLocation",
"Customproperty7": "PreferredLanguage",
"customproperty8": "EmployeeType",
"Customproperty9": "JobTitled",
"customproperty10": "AccountStatus",
"customproperty11": "OnPremisesSyncEnabled",
"customproperty12": "OnPremisesImmutableId",
"customproperty13": "OnPremisesLastSyncDateTime",
"customproperty14": "OnPremisesSecurityIdentifier",
"customproperty15": "City",
"customproperty16": "Country",
"customproperty17": "Department",
"customproperty19": "usageLocation"
},
"colsToPropsMap": {
"accountID ": "Id~#~char",
"name": "userPrincipalName~#~char",
"displayName": "displayName~#~char",
"status": "accountEnabled~#~char",
"customproperty1": "givenName~#~char",
"customproperty2": "Surname~#~char ",
"customproperty3": "businessPhones~#~char",
"customproperty4": "Mail~#~char",
"customproperty5": "mobilePhone~#~char",
"Customproperty6": "officeLocation~#~char ",
"Customproperty7": "preferredLanguage~#~char",
"customproperty8": "userType~#~char",
"Customproperty9": "Jobtitle~#~char",
"customproperty10": "accountEnabled~#~char",
"customproperty11": "onPremisesSyncEnabled~#~char",
"customproperty12": "onPremisesImmutableId~#~char ",
"customproperty13": "onPremisesLastSyncDateTime~#~char",
"customproperty14": "onPremisesSecurityIdentifier~#~char",
"customproperty15": "City~#~char",
"customproperty16": "Country~#~char",
"customproperty17": "Department~#~char",
"customproperty19": "usageLocation~#~char",
"customproperty31": "STORE#ACC#ENT#MAPPINGINFO~#~char"
}
}

 

Please advise where we are fallen.

8 REPLIES 8

RakeshMG
Saviynt Employee
Saviynt Employee

Could you please share the error from the log file.

Mean while please check if the the access token is expired.

And second check 

From 3.16, there is new menu checked by default, not to allow running same job at same time. 

Uncheck the option in global config and adjusted run time of Job.


​Regards

Rakesh M Goudar

asharma
Regular Contributor II
Regular Contributor II

Hi Rakesh,

I have attached complete logs for 5 hours in which i tried to trigger the account import job for Azure AD.

Double checked that token in not expired as connection is successful.

Running the jobs manually therefore unchecking the option is not valid in this circumstances.

asharma
Regular Contributor II
Regular Contributor II

adding the attachment as forgot in last update.

 

[removed log file for security purposes]

RakeshMG
Saviynt Employee
Saviynt Employee

Please share the error snippet from the logs.

Request you to not to attach the complete logs from your environment.


​Regards

Rakesh M Goudar

asharma
Regular Contributor II
Regular Contributor II

Hi Rakesh, 

Please help me to understand by which keyword i can fetch the exact logs from the environment as I am not able to filter out the logs for that particular job.

Moreover, Job ran first time successfully after clicking on save and test connection in connection module. Unfortunately, it is not getting triggered or failing after triggering from job control panel.

Thanks

RakeshMG
Saviynt Employee
Saviynt Employee

Logs can be validated based on job start and end time.


​Regards

Rakesh M Goudar

asharma
Regular Contributor II
Regular Contributor II

I had a working session with saviynt agent for these logs, even he was not able to capture the logs for it as the job was not importing anything.


@asharma wrote:

I had a working session with saviynt agent for these logs, even he was not able to capture the logs for it as the job was not importing anything.


Reduce no. Of attributes in mapping 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.