I am in the process of automating the creation of accounts and entitlements in a Source via PowerShell script.
I was able to achieve the creation of Source and creation of accounts via the api’s available. For account data am reading from a csv file, similar to the import option available in IDN.
I am now facing challenge in importing/creating the entitlements as there is no api available for creating the entitlements.
Are you trying to provision AD objects? I think you might be working too hard at this. The connector can do this work for you so you don’t have to write the Powershell scripts to do the heavy lifting.