I just started working with Azure a month ago and I am dealing with many problems connecting the services to each other. So far, to make the storage, vm and synapse interact with each other I just set system assigned managed identities with the Contributor role but I can't find which role or what kind of permissions I need to make Synapse run custom activity in Batch. I got to created the linked service, and in validation I get no errors but when debug I keep getting
Error 2501: Cannot access user batch account; please check batch account settings.
{
"errorCode": "2501",
"message": "Operation returned an invalid status code 'Forbidden'",
"failureType": "UserError",
"target": "landing_to_raw",
"details": []
}
When I check the Linked Service to Batch I see a message right below the "system assigned managed identity" selection, which shows my synapse user/identity, the id and says that I should grant access to my Azure Batch instance.
Any help will be appreciated. Regards,
I tried to run a batch custom activity in synapse pipeline with no success. I expect that synapse gest to connect to Azure Batch



