# How to Login as Active Directory User on Ignition?

**URL:** <https://forum.inductiveautomation.com/t/how-to-login-as-active-directory-user-on-ignition/81608>\
**Category:** Ignition\
**Created:** [November 7, 2023, 5:10pm UTC](https://forum.inductiveautomation.com/t/how-to-login-as-active-directory-user-on-ignition/81608 "2023-11-07T17:10:51Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Faaiq\_Samsudeen](https://avatars.discourse-cdn.com/v4/letter/f/b9bd4f/32.png) [@Faaiq\_Samsudeen](https://forum.inductiveautomation.com/u/Faaiq_Samsudeen)\
**Post date:** [November 7, 2023, 5:10pm UTC](https://forum.inductiveautomation.com/t/how-to-login-as-active-directory-user-on-ignition/81608/1 "2023-11-07T17:10:51Z")

</div>

Hello. We are currently testing the setup of Ignition on our network and we just managed to get Active Directory as a User Source setup on our Ignition using LDAPS. I can see the AD Users and Roles showing up on Ignition now but my question now is, how do we actually login to Ignition via our AD Users?

I've already specified the User Search Base and Role Search Base filters on advanced settings and i'm seeing the correct users and roles i want, but i don't see any way to allow them to login to Ignition using their account. how do i actually tell Ignition to allow anyone with X role to login to Ignition with the permissions i would like? Feel like i'm missing an obvious step, haha

Thanks so much for your help with this. Kind regards,

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [November 7, 2023, 5:52pm UTC](https://forum.inductiveautomation.com/t/how-to-login-as-active-directory-user-on-ignition/81608/2 "2023-11-07T17:52:10Z")

</div>

Do you mean to launch a project? That's set in the project properties:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/d/ddcd34e7b80a74a69bcca7e6d5a57e61b0d5fa7a.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/c/fca315039b39792f69b99b61e89d6c1100f5a0e7.png)

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [November 7, 2023, 6:29pm UTC](https://forum.inductiveautomation.com/t/how-to-login-as-active-directory-user-on-ignition/81608/3 "2023-11-07T18:29:01Z")

</div>

See also my recommendations in this post.

> [@User Source vs Identity Provider with Active Directory](https://forum.inductiveautomation.com/t/user-source-vs-identity-provider-with-active-directory/66643/6):
>
> I recommend soft fallover mode to the default database and leave the Administrator account in there. That way you have a way in if the AD setup fails or you lock yourself out somehow (especially during configuration). You can also use the default user source to create and manage accounts for non-AD members such as contractors.

---

<div class="post-metadata">

**Author:** ![Faaiq\_Samsudeen](https://avatars.discourse-cdn.com/v4/letter/f/b9bd4f/32.png) [@Faaiq\_Samsudeen](https://forum.inductiveautomation.com/u/Faaiq_Samsudeen)\
**Post date:** [November 7, 2023, 6:31pm UTC](https://forum.inductiveautomation.com/t/how-to-login-as-active-directory-user-on-ignition/81608/4 "2023-11-07T18:31:33Z")

</div>

Oh sorry, i mean for the Ignition Gateway itself. Would it perhaps be possible to login to the Gateway using AD users or is that local only?

Is the entire AD integration only for project authentication/access perhaps?

Thanks!

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [November 7, 2023, 6:38pm UTC](https://forum.inductiveautomation.com/t/how-to-login-as-active-directory-user-on-ignition/81608/5 "2023-11-07T18:38:03Z")

</div>

No, you can use AD integration for gateway login too. As per my previous post, use the AD Ignition Hybrid and create an Administrator role in that spelt exactly the same as "Administrator" in the default database. Anyone assigned that role can log in as an administrator using their AD credentials and you can keep the default Administrator password secret for emergencies or when the AD connection breaks.

More:

> [@Login When Active Directory Unreachable](https://forum.inductiveautomation.com/t/login-when-active-directory-unreachable/65875/2):
>
> I don't know anything about the cache but I highly recommend that you use a soft failover to the default user source and leave the administrator user (or another) that can be used if the AD user source fails. The administrator password should, of course, be kept secret. Config | Security | Users, Roles | Edit … Failover Source = default. Failover Mode = soft. You could do that, creating a set of emergency users - one per role, perhaps. The problem here is that those logins will let anyone w…

---

<div class="post-metadata">

**Author:** ![Faaiq\_Samsudeen](https://avatars.discourse-cdn.com/v4/letter/f/b9bd4f/32.png) [@Faaiq\_Samsudeen](https://forum.inductiveautomation.com/u/Faaiq_Samsudeen)\
**Post date:** [November 8, 2023, 4:45pm UTC](https://forum.inductiveautomation.com/t/how-to-login-as-active-directory-user-on-ignition/81608/6 "2023-11-08T16:45:16Z")

</div>

Thanks for the response Transistor.

I guess for our purposes, is there any way to use our existing Active Directory user source to get the AD users we want logging into the Gateway directly? or is it necessary to create a separate AD Ignition Hybrid user source for this to work?

Our end goal is to allow Users from AD who are in a specific AD group access to login to the Gateway directly without having to rely on local user accounts that are on Ignition. Hope this helps! 🙂 Thanks!

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [November 8, 2023, 6:14pm UTC](https://forum.inductiveautomation.com/t/how-to-login-as-active-directory-user-on-ignition/81608/7 "2023-11-08T18:14:37Z")

</div>

Sorrry, but I don't know. We can see the AD groups set up by our IT group but didn't explore further.

Have fun!

---

<div class="post-metadata">

**Author:** ![michael.flagler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michael.flagler/32/26272_2.png) [@michael.flagler](https://forum.inductiveautomation.com/u/michael.flagler)\
**Post date:** [November 8, 2023, 10:34pm UTC](https://forum.inductiveautomation.com/t/how-to-login-as-active-directory-user-on-ignition/81608/8 "2023-11-08T22:34:08Z")

</div>

Not in front of an AD system right now, but if I recall correctly you'll need to have to set up security levels, then use security level rules on the IdP to essentially "map" over the AD groups to security levels, then use those security levels in the gateway general security settings. It may also be possible to use roles/groups directly, but I'd have to test it to verify if you can use Authenticated/Roles/ directly without security levels.

---

<div class="post-metadata">

**Author:** ![Saadh\_Sark](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@Saadh\_Sark](https://forum.inductiveautomation.com/u/Saadh_Sark)\
**Post date:** [June 19, 2024, 3:18pm UTC](https://forum.inductiveautomation.com/t/how-to-login-as-active-directory-user-on-ignition/81608/9 "2024-06-19T15:18:46Z")

</div>

Hello Faaiq,

Were you able to find a solution for this issue?
