# Synthetic SSO connection with Microsoft

**URL:** <https://community.dynatrace.com/t/synthetic-sso-connection-with-microsoft/40818>\
**Category:** Synthetic Monitoring\
**Tags:** private-synthetic-locations\
**Created:** [July 21, 2023, 11:36am UTC](https://community.dynatrace.com/t/synthetic-sso-connection-with-microsoft/40818 "2023-07-21T11:36:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SachinJindal](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@SachinJindal](https://community.dynatrace.com/u/SachinJindal)\
**Post date:** [July 21, 2023, 11:36am UTC](https://community.dynatrace.com/t/synthetic-sso-connection-with-microsoft/40818/1 "2023-07-21T11:36:26Z")

</div>

Hello,

I have an application that is using a Private synthetic location for OnDemand and the Application has SSO enabled, as soon as hit the application URL using a Private location it gives back the Microsoft page for Auth and the private location doesn’t have the internet connectivity so wanted to know the best option to tackle this scenario like using some proxies or any other solution where only for Microsoft Auth it will go to proxy and Authenticate otherwise just use no proxy. keep in mind synthetic is not initiating the traffic to Microsoft it comes back from the Application as past of SSO Setup whenever we hit the home page.

Thanks for your help.

---

<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:** [October 2, 2023, 3:07pm UTC](https://community.dynatrace.com/t/synthetic-sso-connection-with-microsoft/40818/2 "2023-10-02T15:07:22Z")

</div>

There are a couple of options:

1. Set the proxy at the ActiveGate level and add in exceptions for resources that should not use the proxy.&nbsp;[Set up a proxy for private synthetic monitoring in Classic — Dynatrace Docs](https://www.dynatrace.com/support/help/platform-modules/digital-experience/synthetic-monitoring/private-synthetic-locations/setting-up-proxy-for-private-synthetic#only-for-synthetic-monitoring-with-direct-connection-to-other-resources)
2. Set up a Proxy PAC file with the settings you would like and add this file to the configuration of your Browser Monitors.&nbsp;  
[Set up a proxy for private synthetic monitoring in Classic — Dynatrace Docs](https://www.dynatrace.com/support/help/platform-modules/digital-experience/synthetic-monitoring/private-synthetic-locations/setting-up-proxy-for-private-synthetic#how-to-provide-a-pac-file-to-your-browser-monitors)
