Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Update the CORS Allowed Origins setting on an existing Cosmos DB Account using PowerShell
Set-CosmosDbAccount `
-Name 'dsrcosmosdbtest' `
-ResourceGroupName 'dsrcosmosdbtest-rgp' `
-AllowedOrigin 'http://www.mycompany.com'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.