Quantcast
Channel: Forum Microsoft Identity Manager
Viewing all articles
Browse latest Browse all 1070

Codeplex PowerShell Workflow Activity Script Failure

$
0
0

Hi,

 I have a similar scenario to "publishing to AD from 2 authorative data sources as mentioned here":http://technet.microsoft.com/en-us/library/ee534908(v=ws.10).aspx

I want to include a PowerShell script to run after my user is provisioned into AD and have installed the FIM codeplex Workflow activity (http://fim.codeplex.com/wikipage?title=PSWorkflowActivity&referringTitle=Home). I installed the assembly using Greenfeldt's script and not Visual Studio on my FIM server. The installation went OK and I can access the PowerShell workflow from within the portal.

For some reason, the actual PowerShell workflow fails to run (AD workflow is fine). I'm using a domain admin FIM service account and there aren't any errors in the event log. I received a previous message about a failure to find the AD module (now added), so I know there's at least an attempt to run my script, but it doesn't actually run.

If I run the script below outside of FIM it works fine, but inside it fails. Any advice on how to rectify this would be appreciated. Am I missing something easy such as I need to put my PowerShell commands into a script file?

Thanks

Simple workflow PowerShell Activity to run a script:


IT Support/Everything


Viewing all articles
Browse latest Browse all 1070

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>