Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in RPA by (5.3k points)

i am trying to create AD users with Invoke Powershell activity.

Unfortunately I am stuck with a Parameter problem.

The parameter “Name” gives following error: “The Object name has bad syntax”

The funny thing is, if I run the same powershell command directly into powershell console, I get no error. But when the robot runs it. I get parameter error.

See screenshots for clarification.

This is my parameters

This is the error box

This is the Uipath Output

I really hope someone can crack this code, because I am pretty stuck here.

1 Answer

0 votes
by (9.5k points)

I am not sure here, but maybe it's too many "(quotes) chars in name field? Try to change it to "Robot5" for example.

Related questions

0 votes
0 answers
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Jul 10, 2019 in RPA by noah kapoor (5.3k points)
Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers

500 comments

94k users

Browse Categories

...