Quantcast
Channel: Microsoft Identity Manager forum
Viewing all articles
Browse latest Browse all 7443

ArgumentNullException when trying to exec ReadResourceActivity

$
0
0

I have the following Sub-Workflow activity that is included in the other workflows for Creating, Updating and Deleting a SP connection.  It runs if no STS is defined for a Service (if one is defined, everything work correctly).   When it runs, I get this error – “Microsoft.ResourceManagement.WorkflowDataExchangeException: Microsoft.ResourceManagement.WebServices.Exceptions.UnwillingToPerformException: Other ---> System.ArgumentException: Invalid object identifier specified for Get Operation” even though the ObjectID is correct.  What I'm trying to do is walk a hierarchy of organizations until I find a STS. If I set a break point on the InitialzeReadOrginization the OrginizationID is correct, but the workflow still throws the exception (thinks its null ?).

So what I'm trying to dois if the STS is null for the Org, then I look at the parent org to see if there is one defined - and so on - walking a hirearchy.  - thanks in advance.....


Viewing all articles
Browse latest Browse all 7443

Trending Articles



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