Unable to create Azure pool using custom image in python SDK

Neharika Singh 16 Reputation points
2022-07-12T17:23:34.927+00:00

I'm trying to create a pool using a custom image I created from VM with azure python sdk.
219890-image.png

I have installed azure batch version 12 and tried all the version from 8-12. it is still giving me compile time error.
Let me know anyone else have faced similar issue.

Azure Batch
Azure Batch
An Azure service that provides cloud-scale job scheduling and compute management.
374 questions
{count} votes

1 answer

Sort by: Most helpful
  1. vipullag-MSFT 26,487 Reputation points Moderator
    2022-08-04T10:54:01.59+00:00

    @Neharika Singh

    Apologies for delayed response on this.

    From the exception one possibility, is that you might be hosting the image in a different subscription than the batch account. Please check this once.

    Hope this helps.
    If you need further help on this, tag me in a comment.
    If the suggested response helped you resolve your issue, please 'Accept as answer', so that it can help others in the community looking for help on similar topics.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.