MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.24k stars 21.4k forks source link

What are the appropriate CORS URLs for TEST and DEBUG in GOV CLOUD? #123074

Open jacarley opened 4 months ago

jacarley commented 4 months ago

It would be nice if document authors were more considerate of users of the Sovern Clouds. For instance, am trying to find what URLs I should add to CORS to allow Code and Debug to work with a Function with a private endpoint and public access disabled. The document just specifies:

_When testing functions in a function app with private endpoints, you must do your testing from within the same virtual network, such as on a virtual machine (VM) in that network. To use the Code + Test option in the portal from that VM, you need to add following CORS origins to your function app:

https://functions-next.azure.com https://functions-staging.azure.com https://functions.azure.com https://portal.azure.com_

While I'm aware that https://portal.azure.com maps to https://portal.azure.us I have not been successful at finding the mappings for the other URLs . Is there a location for looking up the mapping between different Azure Clouds?

Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

TPavanBalaji commented 4 months ago

@jacarley Thanks for your feedback! We will investigate and update as appropriate.

ggailey777 commented 4 months ago

Thanks @jacarley this is good feedback. I'm not sure exactly about sovereign clouds, and we don't focus on them too much in our docs. @im-samz can you provide any guidance here?