10/19/2023 07:39 AM
Hello,
I am trying to import accounts and entitlements from GCP with the built-in connector. I am not using any filters at the moment but I will in the future.
Currently running the accounts import seems to work but the entitlements import is failing with the below message.
"Compute Engine API is not activated or has not been used"
Because of this, the import job will show as failing, but a lot of entitlements and entitlement types are coming but I wonder if that API error stops importing something else from coming to Saviynt.
Also, without any account mappings, the account import would fail as the attribute trying to come into customproperty1 is too long. Based on the docs it is trying to import "emails" in that field as a JSON. Currently I did an override on that field so I can get the users but I can't find what exactly needs to be imported there so I can decide if we need that field or not.
Any information is much appreciated.
10/20/2023 01:30 AM
Hello @Baver,
"Compute Engine API is not activated or has not been used"
No, it won't prevent any imports into Saviynt. It's simply an API warning message that you'll encounter in the "response" column on the "jobhistorypage." All resources will be imported successfully; it's just a warning message.
Also, without any account mappings, the account import would fail as the attribute trying to come into customproperty1 is too long. Based on the docs it is trying to import "emails" in that field as a JSON. Currently I did an override on that field so I can get the users but I can't find what exactly needs to be imported there so I can decide if we need that field or not.
Answer:-
Below is the default account mapping field for your ref.
Accounts Table Column | Saviynt Attribute |
accountID | id |
name | primaryEmail |
displayName | name.fullName |
customproperty1 | emails |
customproperty2 | nonEditableAliases |
customproperty4 | kind
|
customproperty5 | etag |
customproperty6 | isAdmin |
customproperty7 | isDelegatedAdmin |
customproperty8 | customerId |
customproperty9 | orgUnitPath |
customproperty10 | isMailboxSetup |
customproperty11 | isEnrolledIn2Sv |
customproperty12 | isEnforcedIn2Sv |
customproperty13 | includeInGlobalAddressList |
customproperty14 | ipWhitelisted |
customproperty15 | changePasswordAtNextLogin |
customproperty16 | agreedToTerms |
customproperty18 | suspensionReason |
lastlogondate | lastLoginTime |
CREATED_ON | creationTime |
If you need to map a longer text value, you can consider mapping the larger string to the custom property below.
Field | Type |
CUSTOMPROPERTY31 | longtext |
CUSTOMPROPERTY51 | longtext |
CUSTOMPROPERTY52 | longtext |
CUSTOMPROPERTY53 | longtext |
CUSTOMPROPERTY54 | longtext |
CUSTOMPROPERTY55 | longtext |
CUSTOMPROPERTY56 | longtext |
DESCRIPTION | longtext |
10/23/2023 06:00 AM
@sudeshjaiswal Thank you for your response. I understand that the error I mentioned might only be a warning but it fails my job as well in the UI. I would rather get rid of it completely instead of ignoring a failed job.
Thanks for the mapping info. I will give it a try.