How to fix "Can't manage CORS on this resource. Please select another storage resource." error.

Andrew Mundt 0 Reputation points
2024-12-12T16:23:49.0433333+00:00

I am trying to use my own data in Azure Open AI. In the Chat Playground, In the the "Add data" window, I set up a new Azure Blob Storage (using the East US regional, Azuer blob Storage as the primary service, and Locally-redundant storage as the Redundancy). Once I select my new Azure Blog storage resource, I get the message that I must "Turn on CORS." However, pushing on that button results in the message "Can't manage CORS on this resource. Please select another storage resource." After researching this (https://learn.microsoft.com/en-ie/answers/questions/1851604/unable-to-upload-files-to-azure-openai-using-own-d?page=1&orderby=Helpful&comment=answer-1631864#newest-answer-comment), I added a CORS rule of * for Allowed origins, checked all 8 options under allowed methods, * for Allowed headers, * for Exposed headers, and 3600 for max age. After saving, I refreshed the Azure Blog storage resource options back in the "Add data" window, but get the same error. What do I need to do to get this to work?

Thanks!

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

1 answer

Sort by: Most helpful
  1. kothapally Snigdha 1,945 Reputation points Microsoft External Staff
    2024-12-16T16:21:01.0966667+00:00

    Hi Andrew Mundt

    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this!

    Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others", I'll repost your solution.

    Please click "Accept" the answer as original posters help the community find answers faster by identifying the correct answer. 

    Issue: How to fix "Can't manage CORS on this resource. Please select another storage resource." error. 

    Resolution: It appears that the CORS rules take some time (more than minutes) to take effect. I suggest that there be a notification about this.

    Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.

    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.