Hi Warren Briggs,
Thank you for posting query in Microsoft Q&A Platform.
It seems that the issue you are facing is related to the Fetch XML query that is being used as the source in the Metadata-driven copy task in Azure Data Factory (ADF). The error message you are seeing indicates that the Fetch XML query specified is invalid.
One possible reason for this error could be that the Fetch XML query is not properly formatted or contains invalid characters. You may want to review the Fetch XML query that is being used as the source and ensure that it is valid and properly formatted.
Another possible reason for this error could be related to the authentication method being used to connect to the CRM source. You may want to ensure that the authentication method being used is supported by the Metadata-driven copy task in ADF and that the necessary permissions are in place to access the CRM source.
Additionally, you may want to try using a different connector or driver to connect to the CRM source, as different connectors may have different requirements and limitations.
If none of these solutions work, you may want to consider using a different approach to extract data from the CRM source, such as using a custom script or a third-party tool to extract the data and then load it into Azure Blob Storage or Azure Data Lake Storage, which can then be used as the source in the Metadata-driven copy task in ADF.
I hope this helps! Let me know if you have any further questions.