I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others Opens in new window or tab", I'll repost your solution in case you'd like to accept the answer Opens in new window or tab.
Error Message:
{
"errorCode": "2100",
"message": "ErrorCode=AdlsGen2OperationFailed,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=ADLS Gen2 operation failed for: Failed to get access token by using service principal. Error: request_timeout, Error Message: Request to the endpoint timed out. A task was canceled. .. Account: 'Bobstorageaccount'. FileSystem: 'bc2adlsfolder'. Path: 'deltas.manifest.cdm.json'..,Source=Microsoft.DataTransfer.ClientLibrary,''Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Failed to get access token by using service principal. Error: request_timeout, Error Message: Request to the endpoint timed out. A task was canceled. .,Source=Microsoft.DataTransfer.Common,''Type=Microsoft.Identity.Client.MsalServiceException,Message=Request to the endpoint timed out.,Source=Microsoft.Identity.Client,''Type=System.Threading.Tasks.TaskCanceledException,Message=A task was canceled.,Source=mscorlib,'",
"failureType": "UserError",
"target": "Entities",
"details": []
}
Issue:
- Whenver I run a pipeline in synapse with a linked service I get this error. Bear in mind Ive used the default one which authenticates itself with a self managed identity, also I tried creating another one which to use a service principal. But I get the same error for both.
Solution:
- Turns out this issue was that data exfiltration was enabled on the workspace and once new workspace was created with data exfiltration disabled the issues were solved.
If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.
I hope this helps!
If you have any other questions, please let me know. Thank you again for your time and patience throughout this issue.
Please don’t forget to Accept Answer
and Yes
for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.