Very powerfull Powershell function which is meant to levearage the Azure API in order to send the query to the backend Azure Resource Manager(ARM) with the specifically constructed JSON body, which contains all resource IDs from the source resource group and the target resource