Microsoft Azure AD Spoke

Nikita50
Tera Expert

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]."
    }
}
Close
1 ACCEPTED SOLUTION

Hi Siva,

Nikita50_0-1743681412925.pngNikita50_1-1743681443254.png

Please assist.

 

 

View solution in original post

3 REPLIES 3

J Siva
Tera Sage

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

Hi Siva,

Nikita50_0-1743681412925.pngNikita50_1-1743681443254.png

Please assist.

 

 

J Siva
Tera Sage

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..