Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

The value of the system property cannot be True.

bonsai
Mega Sage

When attempting to set the system property "glide.security.scripting_role.auto_provisioning" to True, an error occurred and the update failed.

Attempting to process it through a script also fails.
Is there a better way to accomplish this?

8 REPLIES 8

svirkar420
Tera Guru

Hi @bonsai , This usually happens because of the 

glide.security.scripting_role.auto_provisioning controls whether the script security role (script:*) is automatically granted to admin users.

When set to true, admins automatically get scripting privileges.

When false, scripting privileges must be granted manually.

Try making this property by elevating user and giving it security admin role, you can do this from profile icon and click on elevate role, make checkbox true and try updating the propert.

 

If this answer helps you in any way make sure to Mark this as accepted solution and give a thumbs up this will also benefit others as well.
Regards,
Saurabh V.

GlideFather
Tera Patron

Hi @bonsai,

works ok for me. can you please describe what's the error like?

GlideFather_0-1760941775144.png

 

Silly question - are you updating it in the proper scope? please share screenshot or more details (e.g. error message)

 

 

_____
This reply is 100 % GlideFather and 0 % AI

@bonsai 

I have exported it for you in XML with the true value, you can tyr to import it:

 

_____
This reply is 100 % GlideFather and 0 % AI

Because the sys_ids are different, two system properties are created when you import them.

It seems that you can't delete them either.