Skip to content

Instantly share code, notes, and snippets.

@PlagueHO
Created December 25, 2018 23:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PlagueHO/1e4c55cf9f53f8e92de4b00c3d006bec to your computer and use it in GitHub Desktop.
Save PlagueHO/1e4c55cf9f53f8e92de4b00c3d006bec to your computer and use it in GitHub Desktop.
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