Failed while executing ActionCreateNewGroup.ps1 (Access denied)

SURAJ3
Giga Contributor

HI Team ,

 

I have PowerShell script stored on mid server to create  OU in Active Directory using AD spokes. i have 10 different domains in which this script has to be executed . i could get script successfully only in two domain and its getting failed in rest of the domains.(checked with access to user its same for all the domains)

Error:

5 REPLIES 5

Rahul Priyadars
Giga Sage
Giga Sage

For given Orchestration User - Access Right of making group is missing.

If u see content of script- ActionCreateNewGroup.ps1 there are commands which are trying to write in AD but since access is not there , Its failing

Regards

RP

Hi Rahul,

Do you have any solution how we can grant access to this script file?

@Rahul Priyadarshy  , but the script is getting executed for two domains and OU is getting created successfully. i am facing issue with rest 8 domains

do u have any CLI fr firing these commands on given 8 domains?

You can test manually what service now is trying to do using same orchestration user. This way you can start your  troubleshooting. 

Regards

RP