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
Mega Sage

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 mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

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

Same error?

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

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

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: