How to add an user to group in microsoft AD spoke using snow

prasannah
Tera Contributor

Hi All,

I got Requirement like if I submit a catalog form then user or user email needs to be added in Microsoft entra group.
please help me on this. how I can configure the flow designer what are all the plugin I need to install and need steps on configuring the both side.

thanks in advance,
Prasanna

 

1 ACCEPTED SOLUTION

Viraj Hudlikar
Giga Sage

Hello @prasannah 

 

To achieve this requirement, you can use the Microsoft Entra ID Spoke in ServiceNow's Flow Designer.

Prerequisites:

1) Ensure you have a ServiceNow instance with the necessary permissions.

2) You need a Microsoft Entra subscription.

3) Install the following plugins in ServiceNow:

-> Microsoft Entra ID Spoke - Configure ServiceNow for automatic user provisioning with Microsoft Entra ID - Microsoft Entra ID | ...

-> Integration Commons for CMDB

 

Now your flow will be as: 

Trigger will be when a catalog item is submitted.

First use a Lookup User action to find the user based on the email provided in the catalog form. If user reference field is provided in catalog item then you can skip this step and directly use from req item variable value by dot walk and pass to next step.

Use the Add User to Group action from the Microsoft Entra ID Spoke to add the user to the specified group (you can take from form or if you have fix group pass that value)

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.

View solution in original post

8 REPLIES 8

Viraj Hudlikar
Giga Sage

Hello @prasannah 

 

To achieve this requirement, you can use the Microsoft Entra ID Spoke in ServiceNow's Flow Designer.

Prerequisites:

1) Ensure you have a ServiceNow instance with the necessary permissions.

2) You need a Microsoft Entra subscription.

3) Install the following plugins in ServiceNow:

-> Microsoft Entra ID Spoke - Configure ServiceNow for automatic user provisioning with Microsoft Entra ID - Microsoft Entra ID | ...

-> Integration Commons for CMDB

 

Now your flow will be as: 

Trigger will be when a catalog item is submitted.

First use a Lookup User action to find the user based on the email provided in the catalog form. If user reference field is provided in catalog item then you can skip this step and directly use from req item variable value by dot walk and pass to next step.

Use the Add User to Group action from the Microsoft Entra ID Spoke to add the user to the specified group (you can take from form or if you have fix group pass that value)

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.

Are you saying to use the Add User to Group action or Add User to Group Subflow?

 

Error i'm getting when using the Add User to Group action.  I entered UPN for User ID.

 

{"Action Status":{"code":1,"message":"Error: Unknown Error (Process Automation.bc3088ea0bd4a110cfed....

found the problem.  entered upn instead of user ID

@prasannah - 

Did my reply answered your question?

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.