Windows Active Directory badge authentication for vision project

I am setting up badge authentication on a vision project. I have been able to successfully login using a local user with my badge reader, but I am having issues trying to sign in using Windows AD.

I have my identity provider set up for badge authentication, and the user source is set to my Windows AD user source (testProfile).

In Windows AD I have put my badge number under the attribute “employeeID”. From my understanding that is what should be entered in the Badge Attribute parameter in the user source advanced settings, and I based my Badge Search Filter off of the example it provides.

I’ve made sure to set the proper user source and IdP in my vision project properties. I am able to sign in using my Windows AD username/password, so I know that it is connected, but for some reason I get this error when I scan my badge.

I am new to Active Directory so I was hoping that someone would have some advice on things to troubleshoot, if I’ve set it up wrong on the gateway, or if I’m missing anything else. Thanks!

Turns out my badge ID had not been properly saved in Active Directory. The employeeID attribute only allows 16 characters and our badge IDs are 17 characters. We switched to the employeeNumber attribute and everything works now.