I already answered something similar to an old thread :
Based on this old thread, the error code that you are having 22755 is related to ADF and it indicates a client-side failure, specifically a 400 Bad request error. I think that the service principal or managed identity being used are missing the necessary permissions to access Azure Data Lake Storage Gen2. Even if you have an access token for SharePoint, the service principal or managed identity might still lack the required permissions for Azure Data Lake Storage Gen2. To troubleshoot this error, consider the following steps:
- Review the Detailed Error Message: Check the specific error message from Azure Data Lake Storage Gen2. If it indicates a transient issue, try the operation again.
- Verify Permissions: Ensure the service principal or managed identity has the necessary permissions for both SharePoint and Azure Data Lake Storage Gen2. Refer to the Azure documentation on service principal authentication for guidance.
- Check Firewall Rules: Confirm that the firewall settings for Azure Data Lake Storage Gen2 allow Azure Data Factory IP addresses. See the Azure documentation on configuring Azure Storage firewalls and virtual networks for more details.
- Validate Base URL Configuration: Ensure the base URL in your activity configuration ends with a forward slash (/). If the URL includes a path, it must end with a forward slash to prevent errors. I hope this clarifies the error code and assists you in troubleshooting the issue. Feel free to ask if you have any more questions or concerns.