- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 04:02 AM
Hi All,
On using Microsoft Azure AD Spoke to add user to group, I am getting following error. Any suggestions.
{ "Action Status": { "code": 1, "message": "Error: Cannot find function trim in object [object GlideRecord].,Detail: Cannot find function trim in object [object GlideRecord]." } }
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2025 04:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 04:34 AM
Hi @Nikita50
Could you please share the flow actions/steps if possible? Also, could you confirm the spoke name? Is it the MS AD spoke or the MS AD v2 spoke?
Regards,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2025 04:57 AM
Hi Siva,
Please assist.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2025 05:02 AM
Hi Nikita,
The userd id should be AD attribute. It's not the servicenow sys id.
Try with email id and see. If it doesn't works, then you need to check with your AD internal AD team.
You can try either user_name or email field from ServiceNow.
Make sure to send the correct value for Group as well.
Let me know how it goes..