question

DataDolphin avatar image
0 Votes"
DataDolphin asked SathyamoorthyVijayakumar-MSFT commented

Azure Data Factory can't select batch account

I'm trying to setup Azure Batch to run a Python script using Data Factory. I have already created my batch service and configured a pool and storage, within the same resource group as the Data Factory. However, when I got to run the "custom" activity, my batch resource doesn't appear so I can't select it.

I am using the following guide to run my Python script:
https://docs.microsoft.com/en-us/azure/batch/quick-create-portal#create-a-batch-account


What gives? Is there some way I can force Data Factory to see this batch service?

144337-image.png


azure-data-factoryazure-batch
image.png (28.5 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SathyamoorthyVijayakumar-MSFT avatar image
0 Votes"
SathyamoorthyVijayakumar-MSFT answered SathyamoorthyVijayakumar-MSFT commented

Hello @JordanGreer-0324,

Thanks for the question and using MS Q&A platform.

From your question, I understand that you have created your batch service and configured a pool and storage - You are unable to find the provisioned batch service.

In the custom activity, you would need create a linked service to access it from the adf.

144607-image.png

Click on the NEW

Fill in the values(like batch account , batch url , access keys etc) associated with the batch account that you've created.

144598-image.png

Click Save

Now select, the Azure Batch linked service that you've created.

144674-image.png


Hope this will help. Please let us know if any further queries.


  • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how

  • Want a reminder to come back and check responses? Here is how to subscribe to a notification

  • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators



image.png (8.4 KiB)
image.png (38.2 KiB)
image.png (16.7 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @DataDolphin,

Just checking in to see if the above answer helped. If this answers your query, do click Accept Answer and Up-Vote for the same. And, if you have any further query do let us know.

0 Votes 0 ·

Hello @DataDolphin,

Following up to see if the above suggestion was helpful. And, if you have any further query do let us know.

0 Votes 0 ·