LDAP configuration Access to API error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-26-2025 01:15 AM
We have our LDAP server configuration in our instance which works fine and we are trying to add one more LDAP server, which has same server URL but different search directory path. Connection seems to be successful.
When we try to create a data source and add same import set table which we used for other ldap server, we get the error 'Access to api 'setValue(sys_data_source.data_loader)' from scope 'sn_gcp_integ' has been refused due to the api's cross-scope access policy'. And the test load returns with error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-26-2025 01:41 AM
You need to create a cross-scope privilege record for this.
By default, the sys_transform_entry table has the Can create checkbox unchecked, meaning scripts from other scopes cannot insert records into this table. To resolve this, check the Can create checkbox and then run your script again.
This will allow inserts from other scopes.
If you also want to allow updates, make sure to check the Can update checkbox as well.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-26-2025 02:11 AM
Hello Atul,
thanks for your response. I tried updating the transform entry application access with can create for all application scopes. But still the same error.
LDAP server, OU Definitions, Data source, transform map all are in global scope. I don't understand why do we need all the scopes to be accessible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-26-2025 02:48 AM
Might be a helpful read
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************