# Microsoft ad integraton witch mail is possible?

**URL:** <https://forums.suse.com/t/microsoft-ad-integraton-witch-mail-is-possible/37590>\
**Category:** General\
**Created:** [April 13, 2022, 4:07am UTC](https://forums.suse.com/t/microsoft-ad-integraton-witch-mail-is-possible/37590 "2022-04-13T04:07:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![KraMorK](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/kramork/32/8872_2.png) [@KraMorK](https://forums.suse.com/u/KraMorK)\
**Post date:** [April 13, 2022, 4:07am UTC](https://forums.suse.com/t/microsoft-ad-integraton-witch-mail-is-possible/37590/1 "2022-04-13T04:07:50Z")

</div>

I managed to set up integration with Microsoft AD with the following configuration. [https://i.imgur.com/NEmWscY.png](https://i.imgur.com/NEmWscY.png)  
but I have ~30 services with integration, and everywhere the login is performed by e-mail as a login. and I would like to set up the rancher the same way. but if I put something in the default domain login, I immediately start to return 401 errors (Invalid Credentials)  
or if I change the login attribute or search attribute to a “mail” (one or both), I will also receive a 401. I turned on the debug log mode, no new information appeared, swinging authorization. deploy rancher through helm in kubernetes, version 2.6.4
