Access to api 'put(sys_auth_profile_basic.username)' from scope 'x_445906_your_data' has been refused due to the api's cross-scope access policy

Aswartha
Mega Contributor

Hi Team,

right now i am working on developing Custom application & integration  through this Application.

now my requirement is to create basic auth profile account using workflow inputs,but i am facing an issue like below..

 

find_real_file.png

if anyone please let me know, how can i solve it.

Thank you,

Aswartha

1 ACCEPTED SOLUTION

Harsh Vardhan
Giga Patron

Go to the table "sys_auth_profile_basicand in "application access" tab set all check box as true based on operation which you want to perform on this table and also set the field "accessible from" value to all application scope ,

once you will done run the insert operation using script. 

View solution in original post

4 REPLIES 4

Ashutosh Munot1
Kilo Patron
Kilo Patron

HI,

you need to check few settings on this table. Have you allow other applications to read data from this table. Have you allow web service access to this table.

 

Also check this table below for the setting of cross scope application:

sys_scope_privilege

 

Thanks,

Ashutosh

Hi Ashutosh, 

what should i do, after accessing to sys_scope_privilege table.

there are almost 1000 records were exist & related to my custom Application almost 20 records were exist.so can you please help for this.

Thank you,

Aswartha

Hi,

You should check for record where you application access is requested from other application. 

https://developer.servicenow.com/dev.do#!/learn/learning-plans/orlando/servicenow_application_develo...


Thanks,
Ashutosh

Harsh Vardhan
Giga Patron

Go to the table "sys_auth_profile_basicand in "application access" tab set all check box as true based on operation which you want to perform on this table and also set the field "accessible from" value to all application scope ,

once you will done run the insert operation using script.