Mapping the domain name to the end of the SamAccountName? Skip to main content
https://support.okta.com/help/answers?id=9062a000000xzjbqag&refurl=http%3a%2f%2fsupport.okta.com%2fhelp%2fanswers
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
1
2
3
4
5
Very Dissatisfied
Very satisfied
Enter content less than 200 characters.
Ask Search:
Sam JohnsonSam Johnson 

Mapping the domain name to the end of the SamAccountName?

I have setup an automatic account creation script via the Okta API. Once an account has been created in Okta it gets pushed from there to our Active Directory for creation as well.
Is there any way to map and push out the "@domain.com" part of the SamAccountName field?  Right now you have to go into the account propeties in AD and select the domian from the drop down.

Thanks
Eric TiptonEric Tipton
SamAccountName doesn't include the "@domain" but userPrincipalName does. Can you push your Okta username to UPN with your script? 
Sam JohnsonSam Johnson
Nope I am not able to. Its a Linux Python script that grabs the info from an outside source and pushes it to Okta. Can you not map the UPN from Okta?