and more in a single search tool across platforms. Read the announcement here. |
09/27/2022 10:19 AM
Hello,
Is there a way to import the accountowners.owneruserkey using the ACCOUNT_ATTRIBUTES JSON in the Azure AD Connector? We would like to map the Manager Field in Azure AD with the account owner field in Saviynt.
Also would like to know if we could have a value defaulted, For eg: The accountype attribute to be defaulted to "Guest Account" during the account imports.
Thanks,
Umang
Solved! Go to Solution.
09/27/2022 12:41 PM
ACCOUNT_ATTRIBUTES can be used to update account attributes. but for AAD Group CP14 & CP15 is used for owner information.
For Constant use below syntax
"customproperty12": "#CONST#Guest Account~#~char",
09/27/2022 01:59 PM
Hello @umang28,
If you want to override the default mappings, you need to provide custom mappings under ACCOUNT_ATTRIBUTES as shown below
{
"acctLabels":{
"customproperty1":"First Name",
"customproperty2":"Employee ID",
"customproperty3":"Last Name",
"customproperty4":"E-Mail",
"customproperty5":"Mobile Phone"
},
"colsToPropsMap":{
"accountID":"id~#~char",
"name":"userPrincipalName~#~char",
"accountType":"userType~#~char",
"customproperty1":"givenName~#~char",
"customproperty2":"employeeID~#~char",
"customproperty3":"surname~#~char",
"customproperty4":"mail~#~char",
"customproperty5":"mobilePhone~#~char"
}
}
Also ensure that the attributes being mapped are also referenced under ACCOUNT_IMPORT_FIELDS as these will form the query parameters in your import call.
Btw which attribute are you using to import the Manager value from Azure AD ?
By Default, the UserType AzureAD attribute is available under customproperty8 in Saviynt as "Guest" for Guest Users. If you want to explicitly map that to the AccountType attribute you could use the mapping as shared in the above example.
If you want to use a custom/constant value, you can try what @rushikeshvartak has suggested.
09/27/2022 02:40 PM
Yes, I used the same way to add my custom fields. However, the question was more on how to hard code a value in the ACCOUNT_ATTRIBUTE JSON which Rushikesh has given the solution for. Agreed another option is to map the userType as "Guest" but wanted to know if custom/constant values were possible.
Basically I was looking to import the Manager field and wanting to map it to the account owner which does not come under the accounts table but rather the accountowners. Attaching a screenshot where is it possible to add users as "Owner Name" and Rank as "Primary Certifier" during account import?
If this is not possible the only way is to either manually add users via the UI or manually upload accounts using a data file?
09/28/2022 06:59 AM
This is not possible with atleast the AzureAD connector.
You might want to explore it with a REST connector to import manager value but mapping it with the owner field could be a challenge.
09/28/2022 07:11 AM
Thanks! Appreciate your responses.
Regards,
Umang
09/29/2022 12:43 PM
This is not possible with Azure AD OOTB connector. You can map the Azure attributes to Saviynt accounts attributes only.
04/12/2023 07:21 AM
Hello,
I am trying to override the default mappings , i have used the JSON similar to the one mentioned on the document too, and yet i am not able to import all the account attributes required, can you please share the JSON