Accessing Generated Images from Azure OpenAI Service (DALL-E) with Private Endpoints

Tamer Abdulghani 50 Reputation points
2024-10-19T10:39:47.1633333+00:00

Hello,

We are using the Azure OpenAI service with private endpoints and have successfully generated images using the DALL-E models. However, when attempting to access the images via the URLs provided, we encounter the following error:

<Error>
<Code>
/Code>
<Message>
Public access is not permitted on this storage account. RequestId:21b03e93-901e-006f-7910-22cb66000000 Time:2024-10-19T10:21:52.3425664Z
</Message>
</Error>

Sample URL:

https://dalleproduse.blob.core.windows.net/private/images/IDOFIMAGE/generated_00.png

Could you provide guidance on how to resolve this issue?

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
4,080 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AshokPeddakotla-MSFT 35,971 Reputation points Moderator
    2024-11-05T08:45:06.5466667+00:00

    Abdulghani, Tamer (AllianzGI) Your URL is incomplete. At the URL end there will be some extra appends to access the URL some thing like se=2024-11-06T08%3A30%3A45Z&sig=DfZ7r6VdxvnOfcAsSZQwPOWFKVcRd

    https://dalleproduse.blob.core.windows.net/private/images/IDOFIMAGE/generated_00.png

    When I access your URL, I'm also getting the same issue.

    I would suggest you, please try again and access the complete URL generated by the code.

    I just tried with the sample code available in the doc and able to access the image with complete URL which generated by the code.

    User's image

    Do let me know if you are still blocked.

    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.