Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Import Module with custom powershell activity not working

chrisw_
Tera Contributor

HI Together,

I ´m trying to run a custom powershell activity which should Import the lync module on the mid-Server.

Then get the UPN of the user and run some lync commands.

I have installed the lync powershell module on the mid Server and can also Import it directly on the Server.

But anytime i try it within the Orchestration powershell activity i get the following error:

The specified module 'lync' was not loaded because no valid module file was found in any module directory

What i ´m doing wrong ?

My Script Looks like this:

find_real_file.png

Thanks for your help

7 REPLIES 7

Not applicable

Manolis Sgouro1
Tera Contributor

Hello Christoph,



May i ask you how did you install the lync powershell module on the mid Server?



Thank you in advance,


Manolis.


janrameez
Giga Contributor

Chris,

Do you happen to find any solution to import AD module?

Thanks

MJ