Before activating an IdP record, you must Test the connection to the IdP.

TStark
Kilo Sage

I've added an Identity Provider to my instance and have successfully tested the connection and have set it as default, however whenever I attempt to activate I get the error: "Before activating an IdP record, you must Test the connection to the IdP"

Can anyone provide insight on this issue. I've searched throughout the community and nothing resolves the issue for me.

Thanks,
AJ

1 ACCEPTED SOLUTION

TStark
Kilo Sage

I got this resolved after working with SN support. I also noticed that I had a similar issue with not being able to check the "Auto redirect IDP" box. Both solutions are below

For the "Activate IDP issue the resolution can be achieved by:

1. Create a new System Property (navigator search for sys_properties.list) named: glide.authenticate.multisso.test.connection.mandatory with Type true|false and Value of False. 

2. Re-test your IDP connection 

3. Click "Activate" and "Update and Exit"

4. IMPORTANT: go back to the system property you created and change the Value to True.

Details on this issue can be found here: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0714802

find_real_file.png

For the 2nd issue of not being able to check the "Auto redirect IDP" box:

1. Copy the sys id of the Identity Provider (IDP) you wish to auto redirect.

2. On the sys_properties.list table find and open the glide.authenticate.sso.redirect.idp system property

3. Paste the sys id of the IDP into the Value field.

4. Click Update and Exit.

find_real_file.png

 

- AJ

View solution in original post

5 REPLIES 5

Mike318
Kilo Guru

Hi @AJ ,

 

This is an out of the box functionality that prevents saving changes to the Identity Provider before testing the connection with the modifications you did to verify that the changes were correct. I believe this should be active at all times.

But if you want, you can temporarily disable this functionality by de-activating the business rule 'Ensure_Fields_Changes_Tested'. Just remove the 'Active' checkbox. Please see below:

 

find_real_file.png

 

Please mark my answer as correct if this answers your question.

Thanks,

Mike

Hi Mike,

I was able to deactivate the recommended business rule however that did not resolve the problem. I'm still unable to activate the IDP.

find_real_file.png

find_real_file.png

 

Thanks,
AJ

Hi @AJ ,

 

The error message is coming from the UI Action 'Activate'. Please see below:

find_real_file.png

 

You can modify the UI action script as per your needs.

Mike

TStark
Kilo Sage

ServiceNow Support was able to resolve this issue for me. The solution provided was a workaround with System Properties and not recommended for use without caution and may be something for SN Support to address. I am going to seek permission from the technician first before I post it here.