Add User to Group using Microsoft Entra Action is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago - last edited 4 weeks ago
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
Error: User is already added to the Group
What might be the issue and how to figure it out?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
@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".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
@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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
@Admin7267 next thing would be to check if the service account you are using has app permissions to read or edit group in entra.