# Ansible for Windows AD management – Anyone else doing this, or am I in the wild west?

**URL:** <https://forum.ansible.com/t/ansible-for-windows-ad-management-anyone-else-doing-this-or-am-i-in-the-wild-west/45871>\
**Category:** Social Space\
**Tags:** windows\
**Created:** [June 2, 2026, 5:42am UTC](https://forum.ansible.com/t/ansible-for-windows-ad-management-anyone-else-doing-this-or-am-i-in-the-wild-west/45871 "2026-06-02T05:42:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aryston](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/aryston/32/312_2.png) [@Aryston](https://forum.ansible.com/u/Aryston)\
**Post date:** [June 2, 2026, 5:42am UTC](https://forum.ansible.com/t/ansible-for-windows-ad-management-anyone-else-doing-this-or-am-i-in-the-wild-west/45871/1 "2026-06-02T05:42:39Z")

</div>

Hi everyone,

I recently deployed Ansible to help me manage our Windows Active Directory infrastructure. I started with the basics—managing user accounts and doing some much-needed cleanup—but I’m looking to scale up toward Group Policy management, MS Entra/Intune and M365 management if that’s possible…

As I dive deeper, I have to ask: am I the only one using Ansible in the “windoze” space, or is this actually quite common?

Cheers,  
Igor

---

<div class="post-metadata">

**Author:** ![markuman](https://avatars.discourse-cdn.com/v4/letter/m/7bcc69/32.png) [@markuman](https://forum.ansible.com/u/markuman)\
**Post date:** [June 3, 2026, 12:00pm UTC](https://forum.ansible.com/t/ansible-for-windows-ad-management-anyone-else-doing-this-or-am-i-in-the-wild-west/45871/2 "2026-06-03T12:00:04Z")

</div>

I manage a few packages for windows servers. notepad++, firefox …and yeah. it sucks hard!

---

<div class="post-metadata">

**Author:** ![Aryston](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/aryston/32/312_2.png) [@Aryston](https://forum.ansible.com/u/Aryston)\
**Post date:** [June 4, 2026, 6:49pm UTC](https://forum.ansible.com/t/ansible-for-windows-ad-management-anyone-else-doing-this-or-am-i-in-the-wild-west/45871/3 "2026-06-04T18:49:29Z")

</div>

Never thought of this scenario. Interesting. But I’m more focused on managing endpoint devices rather than dcr in itself.

---

<div class="post-metadata">

**Author:** ![dbrennand](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/dbrennand/32/7830_2.png) [@dbrennand](https://forum.ansible.com/u/dbrennand)\
**Post date:** [June 5, 2026, 8:36am UTC](https://forum.ansible.com/t/ansible-for-windows-ad-management-anyone-else-doing-this-or-am-i-in-the-wild-west/45871/4 "2026-06-05T08:36:48Z")

</div>

Hey @Aryston

Have you been using [GitHub - ansible-collections/microsoft.ad: Ansible collection for Active Directory management · GitHub](https://github.com/ansible-collections/microsoft.ad) for the Active Directory pieces?

The [GitHub - ansible-collections/ansible.windows: Windows core collection for Ansible · GitHub](https://github.com/ansible-collections/ansible.windows) collection is very much active. I’m not aware of any Ansible collection with modules for Intune or M365 management via the Graph API, but there might be something out there.

---

<div class="post-metadata">

**Author:** ![Aryston](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/aryston/32/312_2.png) [@Aryston](https://forum.ansible.com/u/Aryston)\
**Post date:** [June 8, 2026, 4:00pm UTC](https://forum.ansible.com/t/ansible-for-windows-ad-management-anyone-else-doing-this-or-am-i-in-the-wild-west/45871/5 "2026-06-08T16:00:43Z")

</div>

Hi Daniel,

This is exactly the one I’ve been using, and I am still learning how everything works. I put it in a Podman container running on WSL2 Debian, which has been working really well for managing AD from a Linux environment.

Thanks for the links, just starting to dig into it.

Cheers,  
Igor
