Hi @Osama Ahmed ,
Thankyou for using Microsoft Q&A platform and posting your question.
As per my understanding about your query, It seems you are trying to copy data from Dynamics 365 API to Az SQL DB , for that you are using copy data activity in ADF pipeline and in the mapping you have enabled the collection reference for value[] array, however, after pipeline execution , it is just copying the first item of the array which is not expected. Please correct me if my understanding is wrong.
The Json that you have shared is having different key names in different items of the array, which is why collection reference is not working properly in your case. Kindly ask the source team to provide same keynames in all the items in order to process the data from the API.
This is how your mapping is probably looking like right now:
This is how it should look:
Kindly let us know if it helps! Thanks!