# Synthetic script with 2FA enable in Google Authenticator

**URL:** <https://community.dynatrace.com/t/synthetic-script-with-2fa-enable-in-google-authenticator/54178>\
**Category:** Synthetic Monitoring\
**Tags:** browser-monitors, synthetic-monitoring\
**Created:** [November 24, 2025, 9:21am UTC](https://community.dynatrace.com/t/synthetic-script-with-2fa-enable-in-google-authenticator/54178 "2025-11-24T09:21:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![suraj\_gupta3](https://avatars.discourse-cdn.com/v4/letter/s/45deac/32.png) [@suraj\_gupta3](https://community.dynatrace.com/u/suraj_gupta3)\
**Post date:** [November 24, 2025, 9:21am UTC](https://community.dynatrace.com/t/synthetic-script-with-2fa-enable-in-google-authenticator/54178/1 "2025-11-24T09:21:52Z")

</div>

Hello,

Any one implemented Synthetic monitoring with 2FA in place? I couldn’t find anything relevant for Google authenticator.

Regards,

Suraj Gupta

---

<div class="post-metadata">

**Author:** ![hannahmac](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/hannahmac/32/41823_2.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [December 19, 2025, 1:37pm UTC](https://community.dynatrace.com/t/synthetic-script-with-2fa-enable-in-google-authenticator/54178/2 "2025-12-19T13:37:45Z")

</div>

Have you tried the solution [here?](https://community.dynatrace.com/post/266961)&nbsp;&nbsp;Thanks

---

<div class="post-metadata">

**Author:** ![suraj\_gupta3](https://avatars.discourse-cdn.com/v4/letter/s/45deac/32.png) [@suraj\_gupta3](https://community.dynatrace.com/u/suraj_gupta3)\
**Post date:** [January 2, 2026, 7:47am UTC](https://community.dynatrace.com/t/synthetic-script-with-2fa-enable-in-google-authenticator/54178/3 "2026-01-02T07:47:48Z")

</div>

My bad, we are using Microsoft authenticator as 2FA. Do we have similar solution for this MFA as well?

Regards,

Suraj Gupta

---

<div class="post-metadata">

**Author:** ![hannahmac](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/hannahmac/32/41823_2.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [January 9, 2026, 12:47pm UTC](https://community.dynatrace.com/t/synthetic-script-with-2fa-enable-in-google-authenticator/54178/4 "2026-01-09T12:47:16Z")

</div>

I’m not aware of a snippet for Microsoft Authenticator. Can you have a user set up for Synthetic monitoring that doesn’t require this?
