Getting the cross-scope access policy error while executing the getDecryptedValue() function from the scoped app

Abbas Abidi1
Tera Guru

Access to api 'getDecryptedValue(secret_key)' from scope 'x_alsoi_**' has been refused due to the api's cross-scope access policy

 

Getting this error while trying to execute the getDecryptedValue() function from a scoped app while decrypting the password from the Azure Service Principal record.

6 REPLIES 6

sachin_namjoshi
Kilo Patron
Kilo Patron

You need to create cross scope privilege record to resolve issue.

 

https://docs.servicenow.com/bundle/london-application-development/page/build/applications/reference/c_CrossScopePrivilegeRecord.html

 

Regards,

Sachin

 

 

Already tried it.

find_real_file.png

Create cross scope record like below for your custom application scope

 

find_real_file.png

 

Regards,

Sachin

Hi @Abbas Abidi , I have this same issue currently in New York version. Were you able to solve this problem?

 

Thanks

Eric