# Group ids from azure AD in post login actions

**URL:** <https://community.auth0.com/t/group-ids-from-azure-ad-in-post-login-actions/128066>\
**Category:** Get Help\
**Tags:** azure-ad-enterprise-connection, connections\
**Created:** [February 22, 2024, 12:30pm UTC](https://community.auth0.com/t/group-ids-from-azure-ad-in-post-login-actions/128066 "2024-02-22T12:30:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rohith.udupa](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@rohith.udupa](https://community.auth0.com/u/rohith.udupa)\
**Post date:** [February 22, 2024, 12:30pm UTC](https://community.auth0.com/t/group-ids-from-azure-ad-in-post-login-actions/128066/1 "2024-02-22T12:30:54Z")

</div>

We have Azure AD enterprise connection in auth0. The applications we have expect groupids instead of group names from azure.  
I cant seem to find a way to map groupids in incoming connection. I tried print user.groups from azure connection, it only contains list of names. Is there an out of the box way to retrieve group ids instead of group names? Seems like there was an option in rules. But I dont see anything on actions for group ids from azure.

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [March 4, 2025, 5:55pm UTC](https://community.auth0.com/t/group-ids-from-azure-ad-in-post-login-actions/128066/3 "2025-03-04T17:55:12Z")

</div>

Hi @rohith.udupa

Welcome to the Auth0 Community!

I am sorry about the late reply to your post.

Please refer to this [knowledge article](https://community.auth0.com/t/how-to-get-group-ids-from-azure/137420) regarding retrieving group id’s from your Azure AD connection.

If you have any other questions, feel free to leave a reply or post again on the community!

Kind Regards,  
Nik

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 18, 2025, 5:56pm UTC](https://community.auth0.com/t/group-ids-from-azure-ad-in-post-login-actions/128066/4 "2025-03-18T17:56:02Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
