
qmuam (qmuam) asked a question.
We created an application in Okta using SAML. Then Okta will post the user authentication information to https://login.partner.microsoftonline.cn/login.srf in SAML format.
But we found that the value of "NameID" is user's email address. We want to change the value of "NameID" to user's immutableID. How to implement this change in Okta?

We have figure the solution and it works now.
new to this. I am curious about how you configured your Okta SAML using template.
what have you done? would you please walk me through ?
@dt2km (dt2km) what's your scenario? office 365 21Vianet?
you can reference this document for attribute mapping.
https://support.okta.com/help/s/article/Skipping-assertion-attributes-because-of-schema-mismatch?language=en_US
That does not explain how to change the nameId... in my case, whatever I put in the custom application username, it always set the login name