Thank you for posting query in Microsoft Q&A Platform.
If we get users array with nested properties defined as null as shown below. Then, it will work as you expected. I tried it. Its working fine
"Users": [
{
"AccessRight": null,
"UserPrincipalName": null,
"Identifier": null,
"PrincipalType": null
}
]
In our case, users property has only array without any properties in it("Users": []). Hence, Collection reference skipping that entire row.
Try to update your source json "users" array with nested properties in it with null values as shown in above code snippet and then try to copy data to SQL table. That way you no need to use second copy activity. You leverage Azure Functions to write code to get that job done. Please check below link as well for an idea
https://learn.microsoft.com/en-us/answers/questions/193423/adding-element-to-a-json-object-in-adf.html
Hope this will help. Thank you.
-------------------------------------
- Please
accept an answer
if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how. - Want a reminder to come back and check responses? Here is how to subscribe to a email-notifications.