The CreatorCon Call for Content is officially open! Get started here.

Add User to Group using Microsoft Entra Action is not working

Admin7267
Kilo Sage

Add User to Group through Microsoft Entra Action is not working as expected

User is not member of that Azure AD group and after integration failed, user is added manually 

Admin7267_0-1758123678472.png

Error: User is already added to the Group

Admin7267_1-1758123779038.png

What might be the issue and how to figure it out?

7 REPLIES 7

nkarunakar13092
Tera Contributor

@Admin7267  What attribute of user you are using as user id? 

1. First Look up user in entra based on Azure user id or any other azure attribute ( not servicenow sys id of the user)

2. If user found

       - Verify if user is in the group. Use action "Is User in Group". Group Id should be azure group id.

      - If not 

              - Use action "Add User to Group".

@nkarunakar13092 I'm using User ID of the Object from the Look Up User action.

I confirmed with AD team that user is not member of that Azure AD group.

nkarunakar13092
Tera Contributor

@Admin7267 next thing would be to check if the service account you are using has app permissions to read or edit group in entra.