# Ansible module to associate or disassociate AWX or Tower user from team

**URL:** <https://forum.ansible.com/t/ansible-module-to-associate-or-disassociate-awx-or-tower-user-from-team/40733>\
**Category:** Get Help\
**Tags:** ansible-tower, ansible, awx\
**Created:** [March 2, 2025, 7:06am UTC](https://forum.ansible.com/t/ansible-module-to-associate-or-disassociate-awx-or-tower-user-from-team/40733 "2025-03-02T07:06:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![iamroddo](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/iamroddo/32/321_2.png) [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Post date:** [March 2, 2025, 7:06am UTC](https://forum.ansible.com/t/ansible-module-to-associate-or-disassociate-awx-or-tower-user-from-team/40733/1 "2025-03-02T07:06:31Z")

</div>

Does an ansible module exist for to associate or disassociate AWX or Tower user from a team or does this need to be done through `uri` module?

---

<div class="post-metadata">

**Author:** ![iwt-cmd](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/iwt-cmd/32/9120_2.png) [@iwt-cmd](https://forum.ansible.com/u/iwt-cmd)\
**Post date:** [March 3, 2025, 1:06pm UTC](https://forum.ansible.com/t/ansible-module-to-associate-or-disassociate-awx-or-tower-user-from-team/40733/2 "2025-03-03T13:06:26Z")

</div>

Hi Rod,

I figured this would be within the awx.awx or infra.controller\_configuration collections but not seeing anything about user/team association. If someone else comes across this and can take another look, that would be appreciated. For now, you will probably have to use the `uri` module but I also feel that this is something that should be added to the awx.awx collection. I’ll take another look later on today and create a Github issue if needed.

I’m also assuming you’re using local accounts. If you are using SAML/Social Auth, you can configure automated team/org assignments at login. Doc link included just in case that’s applicable here  
[20. Setting up Social Authentication — Ansible AWX community documentation](https://ansible.readthedocs.io/projects/awx/en/24.6.1/administration/social_auth.html#ag-org-team-maps)

Best regards,

Joe
