Need help on assigning o365 license from ServiceNow flow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2023 01:06 AM
{ "Action Status": { "code": 1, "message": "Error: Unknown Error (Process Automation.17308fbf77816110cc985228c81061df; line 5)" } }
Integrated ServiceNow with Azure AD using spoke. I am able to create a user from the flow using create user trigger (RITM) but not able to assign license.
- Labels:
-
Architect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2023 01:55 AM
I have the same issue. Did you get the solution for this?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2024 12:34 AM
did you get to a solution?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2024 04:56 AM
Any solutions to this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2024 12:21 AM
Hi, not sure if anyone posted a resolution, but based on your screenshot it looks you're trying to pass the user's ServiceNow sys_id to the action as the user_id, but the action expects to receive the user's Microsoft userPrincipalName (UPN) or GUID. In this case, when calling the Assign User License action and defining the user_id input, you would need to dot walk from the sys_user record to the user's UPN/GUID (or otherwise determine how to pass in the UPN/GUID to the action).