Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

User Directory AD/LDAP Switch to Email as Account Name Problem

Good afternoon community,

We are implementing Azure SSO login for Jira. Part of the problem we are having however, is that our Azure does not have the samAccountName attribute, and uses the email address to authenticate. Since we cannot pass the samAccountName back, we are looking at using the email address instead of the samAccountName as the account name in Jira.

We setup a second user directory and are using the email attribute in place of the samAccountName, and when testing the LDAP, we are getting this-


Is there a way to get around the failure in this test? I am starting to think that I may not be able to do this from the Jira side, and may need to work with the Azure admin to get the samAccountName to sync out to Azure... help is appreciated!




1 comment

Hi Jeff,

if you use Directory Sync from Microsoft & only want to authenticate Users that are in your AD/LDAP - then you can use the samAccountName.

The attribute on AzureAD is called: user.onpremisessamaccountname 

So in other Words Directory Sync synchronizes the AD's samAccountName into user.onpremisessamaccountname

If you configure your Enterprise Application in Azure to send you user.onpremisessamaccountname in the Name identifier value you should be fine.


Full disclosure I work for resolution a Markteplace Vendor for SAML Single Sign On App

Thank you. With the attribute name my Azure admin was able to pass through the samAccountName, and everything worked great. Thank you for your time!

My pleasure - great to hear.


Log in or Sign up to comment
Community showcase
Published in Marketplace Apps & Integrations

Staying organized with Jira: best practices for a better project management

Project managers know this problem: A “mountain of work” lays in front of you, and you don’t know how and where to tackle them. Different to-dos lie ahead, but just one task after the other can be ha...

222 views 2 1
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you