Skip to content

Support deploying the sample when Azure OpenAI service is in a separate Subscription #954

@tijldullers

Description

@tijldullers

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

When trying to deploy the sample, there is no way of deploying it in a situation where the subscription to which you deploy the sample does not host (or cannot) the Open AI service. This happens often since a subscription is not enabled by default for OpenAI services. So, organizations often centralize the OpenAI service in a subscription, which is then used by multiple users that deploy their resources in a separate subscription.The feature request is to extend the sample provisioning logic to allow to use an OpenAI service in a separate subscription.

Any log messages given by the failure

In the current situation, the deployment script ( azd up) throw an error station that the Resource group specified for the Open AI service can't be found since it is looking in the wrong subscription.

Expected/desired behavior

The ability to specify the subscription for the OpenAI service that can be different from the subscription for the other services.

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?) N/A

azd version?

run azd version and copy paste here.

Versions

N/A

Mention any other details that might be useful


Thanks! We'll be in touch soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions