Need help in Create AD object

Admin7267
Kilo Sage

I have a requirement to set the Account is sensitive and cannot be delegated to TRUE when the admin account is created.

Admin7267_1-1771473985336.png

And I see userAccountControl value for account where Account is sensitive and cannot be delegated to TRUE is 1049088.

Admin7267_0-1771473899982.png

 

I have used the payload as "userAccountControl":"1049088" in the Create AD Object action in flow designer and I'm getting error as 'Unsupported object type'.

 

Need help to fix this.

5 REPLIES 5

Tanushree Maiti
Tera Patron

Hi @Admin7267 ,

 

userAccountControl value at AD is integer. It seems from Servicenow , you are sending String value. Hence it is case of data type mismatches. Thats why you are getting 'Unsupported object type'.

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

I have updated the payload as "userAccountControl":1049088
Still facing the same issue

Same error?

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

Can you check the full request payload from either Flow execution log OR HTTP Outbound request log ->Request tab

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti