Conditionally Extract Contacts based on Contact Types in SSIS

PANDEY Prashant 85 Reputation points

Hello Experts,

I have a requirement where source is MS Dynamics CRM (where have to extract data using fetchxml in SSIS).

The Contact Entity is having lookup to Organization (may have more than 1 contact for an organization) and Contact Types (possible values are Admin/User/Super User/Bespoke/Remove Access/Recognized User etc).

That means a contact can be an Admin and Remove Access for an organization and another contact can be only Remove Access for any other organization.

The requirement is to split Contacts based on below conditions.

  • If contact is JUST setup as Recognised Organisation User or Remove Access in Portal Security.
      • Action A
  • If contact is setup as Recognised Organisation User or Remove Access AND any other role in Portal Security.
  • Action B

I am facing difficulty to split the contacts correctly.

Please suggest how this can be achieved. Thanks in advance.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,343 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ronen Ariely 15,106 Reputation points


    If your question is regarding MS Dynamics CRM then why do you use the tag SQL Server?

    Dynamics CRM is not currently supported at the QnA forum. The product group for Dynamics monitors questions over at

    Please close this thread by marking the answer and move to the right forum to get the best help from the relevant xerts 🙃

    Have a great day

    0 comments No comments