# SSO integration error on Managed

**URL:** <https://community.dynatrace.com/t/sso-integration-error-on-managed/33278>\
**Category:** Open Q&A\
**Tags:** user-management\
**Created:** [November 15, 2021, 9:19am UTC](https://community.dynatrace.com/t/sso-integration-error-on-managed/33278 "2021-11-15T09:19:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![SergioGonzalez](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@SergioGonzalez](https://community.dynatrace.com/u/SergioGonzalez)\
**Post date:** [November 15, 2021, 9:19am UTC](https://community.dynatrace.com/t/sso-integration-error-on-managed/33278/1 "2021-11-15T09:19:14Z")

</div>

We are getting an error in the integration with SSO in a customer in the authentication after redirect to the custoer’s SSO . Does anybody knows if there any log files related with info on the server and in that case in which path?

Thanks!,

Sergio

 ![ErrorSSO.png](https://global.discourse-cdn.com/dynatrace/original/2X/a/aeb4a68b899bcdcb43bcba7ae71aba82e669feeb.png)

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [November 15, 2021, 10:40am UTC](https://community.dynatrace.com/t/sso-integration-error-on-managed/33278/2 "2021-11-15T10:40:38Z")

</div>

Hey&nbsp;[@SergioGonzalez](https://community.dynatrace.com/user/42448)&nbsp; - I’m checking this in your cluster 😉 I’ll be back with info shortly.

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [November 15, 2021, 11:22am UTC](https://community.dynatrace.com/t/sso-integration-error-on-managed/33278/3 "2021-11-15T11:22:25Z")

</div>

I suppose that’s the reason (found in a server.log) :

```auto
2021-11-10 15:13:16 UTC INFO [<server,0x1>] [SsoAuthenticatedStateSAML] Invalid SAML response: Not supported <NameId> format in SAML response: urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress

```

`NameId`&nbsp;is a login on the Dynatrace Managed side. All formats are accepted by Dynatrace Managed, so you can choose the format that best fits your policy rules. In this case you’ve used what is recommended by us -&nbsp; **urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress**

I recommend reaching out to our Dynatrace ONE via help chat so they can help you solve the issue and configure properly your SSO. Community forum is a great place to ask for feedback, but in this case we need to be careful to not share any sensitive information by accident.

In that particular error, Dynatrace says that this NameId format is not on the list of supported NameId formats. You have three options:

1) Configure you SSO to list emailAddress as a supported format, then import the file again to Dynatrace Managed.

2) Edit manually the metadata file and add this line next to other formats:

```c-mrkdwn__pre
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</NameIDFormat>

```

3) Disable checking NameId format (in Advanced panel in the CMC - SAML configuration page)

 ![Radoslaw_Szulgo_0-1636975319547.png](https://global.discourse-cdn.com/dynatrace/original/3X/4/9/49d42a807de52492b10b5c08c9710c946ae828f1.png)

Also note that the username returned from your SSO is not in the format of email address. For example, cc-jlor\*\*\*

---

<div class="post-metadata">

**Author:** ![SergioGonzalez](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@SergioGonzalez](https://community.dynatrace.com/u/SergioGonzalez)\
**Post date:** [November 15, 2021, 11:39am UTC](https://community.dynatrace.com/t/sso-integration-error-on-managed/33278/4 "2021-11-15T11:39:59Z")

</div>

Thaks Radoslaw, very helpful!. I have ask directly here because DT1 chat has asked to the customer to open a ticket but I haven´t access yet to the enviroment as partner, so I did´t have the chance to edit my user properties to create a ticket…instead of that, i asked here as I know that usually is the fastest way.

---

<div class="post-metadata">

**Author:** ![Walter2](https://avatars.discourse-cdn.com/v4/letter/w/ecc23a/32.png) [@Walter2](https://community.dynatrace.com/u/Walter2)\
**Post date:** [June 17, 2024, 2:15pm UTC](https://community.dynatrace.com/t/sso-integration-error-on-managed/33278/5 "2024-06-17T14:15:47Z")

</div>

Hello, im having the same issue with our client, was trying to import the certificate from azzure but i had error, then i did the step 2 manualy edited the file and i was able to import the certificate. but still having the same error of authentication.
