# Authenticate Synthetic with AD user

**URL:** <https://community.dynatrace.com/t/authenticate-synthetic-with-ad-user/40580>\
**Category:** Synthetic Monitoring\
**Tags:** http-monitor, browser-monitors, synthetic-monitoring, private-synthetic-locations\
**Created:** [July 7, 2023, 3:18pm UTC](https://community.dynatrace.com/t/authenticate-synthetic-with-ad-user/40580 "2023-07-07T15:18:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vakho](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/vakho/32/30518_2.png) [@Vakho](https://community.dynatrace.com/u/Vakho)\
**Post date:** [July 7, 2023, 3:18pm UTC](https://community.dynatrace.com/t/authenticate-synthetic-with-ad-user/40580/1 "2023-07-07T15:18:21Z")

</div>

Hello,&nbsp;  
&nbsp;Is there any way to use synthetic with a pre-authentication method for Active Directory with username/password and Domain?&nbsp;  
My scenario is next:&nbsp;  
All the applications are accessible with Active Directory user/pass within an internal network.&nbsp; So I want to install Environmental ActiveGate on the machine which will have access to the AD and will create a username and password to access the domain. Thus, will it work for synthetic monitoring to access the web with an already pre-authorized user/pass to access the application?&nbsp;  
Is there any guide for this scenario?

Thanks

---

<div class="post-metadata">

**Author:** ![Islam\_Zedan](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/islam_zedan/32/31999_2.png) [@Islam\_Zedan](https://community.dynatrace.com/u/Islam_Zedan)\
**Post date:** [July 10, 2023, 7:15am UTC](https://community.dynatrace.com/t/authenticate-synthetic-with-ad-user/40580/2 "2023-07-10T07:15:51Z")

</div>

Hello,

You can record the scenario with the user configured on the machine and it will be stored in credential vault. also please check the below authentication document for synthetic monitors.

> **[Supported authentication methods in Synthetic Monitoring Classic](https://docs.dynatrace.com/docs/observe/digital-experience/synthetic-monitoring/general-information/synthetic-authentication)**
>
> Learn how to configure authentication methods for monitoring web applications and API endpoints in Synthetic Monitoring Classic.

Thanks,

Islam

---

<div class="post-metadata">

**Author:** ![Vakho](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/vakho/32/30518_2.png) [@Vakho](https://community.dynatrace.com/u/Vakho)\
**Post date:** [July 10, 2023, 6:43pm UTC](https://community.dynatrace.com/t/authenticate-synthetic-with-ad-user/40580/3 "2023-07-10T18:43:31Z")

</div>

Hello islam\_zidan,&nbsp;  
&nbsp;From the document I see that you can use the authentication method via WebForm which doesn’t work for me and HTTP monitoring with auth which is also not the exact scenario which I’m looking for.&nbsp;  
But, if I understand you right, I can create a virtual machine (Windows) with access to Active Directory and install on it Active Gate for Synthetic and it will access the applications, right?

Thanks

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [July 10, 2023, 7:00pm UTC](https://community.dynatrace.com/t/authenticate-synthetic-with-ad-user/40580/4 "2023-07-10T19:00:47Z")

</div>

[@Vakho](https://community.dynatrace.com/user/62549),

Check out the NTLM part in the link [@Islam\_Zedan](https://community.dynatrace.com/user/16821)&nbsp; provided.

---

<div class="post-metadata">

**Author:** ![Islam\_Zedan](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/islam_zedan/32/31999_2.png) [@Islam\_Zedan](https://community.dynatrace.com/u/Islam_Zedan)\
**Post date:** [July 11, 2023, 6:31am UTC](https://community.dynatrace.com/t/authenticate-synthetic-with-ad-user/40580/5 "2023-07-11T06:31:29Z")

</div>

Yes correct. you can configure a windows machine as a private location and run the scenario from it.

---

<div class="post-metadata">

**Author:** ![Vakho](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/vakho/32/30518_2.png) [@Vakho](https://community.dynatrace.com/u/Vakho)\
**Post date:** [July 11, 2023, 1:04pm UTC](https://community.dynatrace.com/t/authenticate-synthetic-with-ad-user/40580/6 "2023-07-11T13:04:54Z")

</div>

Awesome, thank you&nbsp;[@Islam\_Zedan](https://community.dynatrace.com/user/16821)
