Permissions issues with service account

Product: PowerShell Universal
Version: 5.5.4

Hello,

I’m encountering issues, with some script executions.

Everything is working fine when the service account is administrator of the server but when i remove it from administrator, i have an issues on some PowerShell modules that i’m using.

I don’t know if someone uses the pwps_dab module from Bentley ProjectWise tool. Basically the connection to a ProjectWise datasource is succesfull when the service account is administrator but fails when it is not. The issues is not related to ProjectWise or pwps_dab itself, as it’s working on the server when connecting manually.

All of that to say, that there may be an issue when loading the module in non-admin.

How PowerShell Universal Scripts are loading module ? I noticed that it creates a temporary runspace and copy module inside to load them. Do you have more information about it ?

Regards,

Mathieu

It might have to deal with security context. Does the account have permission to Allow access to this computer from the network? Some of the Group policies by default only allow admins to connect or log on locally from different contexts. I would start there.

Thanks for you reply, i checked and the permissions are given to the account but still have the issue