Closed akhila31 closed 3 years ago
Az.Resource method uses Az.Resources module to deploy all ADF objects (resources) one by one, whereas Az.DataFactory uses Az.DataFactory module. The difference is that Az.DataFactory parses the code (files) when pulling and posting from/to ADF instance, which sometimes may cause an error when the bug exists in the module for a specific configuration of an ADF object. A few examples of such error: Treat as null parameters not working Deployment of Wait Activity with expression fails with option DeleteNotInSource = $true "Unable to deserialize the response." issue with excluded objects
That's the reason for using Az.Resource approach, which is generic for all Azure resources.