07 Oct 2025 03:55 PM
Hello Dynatrace Team,
I'm setting up a HTTP synthetic monitoring for my application that requires credentials to login.
I have provided the username and password under authentication and authorization section
But still, it is failing with 401 error
It's an internal enterprise application and I'm testing it from private location
Your guidance on this topic will be really helpful
Regards,
Ubaid Mundewadi
07 Oct 2025 04:19 PM
Hello Ubaid,
From what you said since you're getting a 401 error that should mean that the private location has access to the endpoint that you're trying to reach, but it does indicate that there's some problem with the credentials.
I would start simple and double check the credentials that you're using to try and authenticate, make sure they are enabled to be used from the private location and there are no typos.
You can find more detailed info on authentication and authorization for synthetic monitors in our documentation: https://docs.dynatrace.com/docs/observe/digital-experience/synthetic-monitoring/general-information/...
Let me know how it goes!
- Julio
07 Oct 2025 04:26 PM
Hello Julio,
Thanks for your response
The credentials I'm entering is 100% correct.
Basically, we have created an automation user having a login id and password
We are also providing a client certificate
Your guidance on this topic will be really helpful
Regards,
Ubaid Mundewadi
07 Oct 2025 04:33 PM
I see, in this case it may have to do with the certificate, have you tried turning on the "Accept any SSL certificate" option? extracted from our documentation here's some info regarding SSL certificates:
By default, HTTP monitors fail when SSL certificates are invalid. Turn on the Accept any SSL certificate option to make the monitor accept any SSL certificates, regardless of whether they're valid.
Depending on your setting, your HTTP monitor can fail or succeed when an SSL certificate is invalid for any of these reasons, among others:
Documentation: https://docs.dynatrace.com/docs/observe/digital-experience/synthetic-monitoring/http-monitors-classi...
07 Oct 2025 06:23 PM - edited 12 Oct 2025 06:43 PM
Yes, it's turned on
A solution to this problem will be really appreciated 😊
Thanks
08 Oct 2025 08:16 AM
Please open a chat or support ticket so we can check this scenario. Thanks
13 Oct 2025 01:04 PM
You can open a support ticket by selecting Support > Create a ticket from the menu bar.
08 Oct 2025 11:26 AM
Hi,
Here are some things you should check before opening a support ticket:
1. Certificate + Basic Auth combination
2. Username format
DOMAIN\user
or
user@domain.com
3. Additional headers
4. Client certificate mapping
5. Test from the Private Location host
Log in to the host where your Synthetic Private Location is running and try with curl:
curl -vk --cert client.crt --key client.key -u "user:password" https://your-app.local
If curl also returns 401, the issue is with the application/certificate configuration rather than Dynatrace.
12 Oct 2025 12:45 PM
Hello @t_pawlak ,
Thanks for your message
1) I tried the combination of Certificate and Basic Auth - It didn't work still 401 error
2) I have entered the username and password with correct formatting - Didn't work
3) We are leveraging Microsoft Entra id to login to the application, how can I if the application expects a different type of authentication
4) The certificates are correctly mapped on the server side
5) I don't have access to the Private host, so can't try with curl
@HannahM where can i create a support ticket to dynatrace?
Is the issue caused because of MFA
I'm using a technical user (which we generally use for automation). And we can't disable MFA as recently from 1st October Azure has made MFA mandatory
Please help us troubleshoot this issue as we need the synthetic monitoring enabled for our application
Regards,
Ubaid Mundewadi