Post-Clone scripts - deactivate MFA

mfhaciahmetoglu
Mega Sage

Hello,

 

We are cloning our PRD down to sandbox environment. However, after we do that we always have a login problem due to the fact that MFA is active on PRD but sandbox only allows for local login.

 

Does anyone have a post-clone script to deactivate the MFA after cloning?

 

Thanks!

 

Best,

Firat

1 ACCEPTED SOLUTION

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

Is this about the out-of-the-box ServiceNow MFA? If so, you could create a very basic script applying gs.setProperty('glide.authenticate.multisso.enabled', false);

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

2 REPLIES 2

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

Is this about the out-of-the-box ServiceNow MFA? If so, you could create a very basic script applying gs.setProperty('glide.authenticate.multisso.enabled', false);

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Mark Roethof
Tera Patron
Tera Patron
(function() {

	gs.setProperty('glide.authenticate.multisso.enabled', false);

})();

 

That's all.

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn