I’ve been trying to pass an ObjectID to the Approval activity via a WorkflowData parameter generated in the FIM PowerShell Activity but I had quite a bit of trouble getting the format right.
The MSDN doc for the Approvers property just says a String is required. I tried returning the ObjectID in both the following string formats:
but for both received the “could not resolve” error in the title of this post.
In the end I got the tip I needed from Ryan’s answer to his own forum question (can I just say I love people who come back and finish up their own questions!) and the PowerShell snippet that got the WorkflowData back in the correct format is:
where $ApproverID = “4d7e5fd1-d004-4b18-88f3-cfd545eaa999”