Not able to insert users through this tool.
AwanishWilley opened this issue · 2 comments
I am trying to insert few users in my sandbox but i am getting this error : Error Required fields are missing: [ProfileId] Status Code REQUIRED_FIELD_MISSING Fields ProfileId.
The profile is already there in sandbox.
Hi Awanish
You know that users will have been copied over from the live sandbox during creation, right? But not users created since, which might be what you're trying to transfer.
This sounds a bit similar to this other issue: #6
I'll have a think ...
OK here's two ideas.
If you dont want to change any code you could use SbbFieldOption with ReplaceText in the Insturctions File to hard code the ProfileId for your users to one value. Bit of a hack and it means all the users get transferred with one profile but it might work.
Or if you want to re-build from code, try editing SalesforceTasks.cs method GetObjectRelationships() so that it skips Profile object references in the same way that it skips RecordType object references (about line 103)
Hope that helps.