Skip to content

Instantly share code, notes, and snippets.

@PlagueHO
Created December 26, 2018 00:01
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/7c1f73da2955f87fe35e5aea93ec182b to your computer and use it in GitHub Desktop.
Save PlagueHO/7c1f73da2955f87fe35e5aea93ec182b to your computer and use it in GitHub Desktop.
Remove the CORS Allowed Origins setting from an existing Cosmos DB Account using PowerShell
Set-CosmosDbAccount `
-Name 'dsrcosmosdbtest' `
-ResourceGroupName 'dsrcosmosdbtest-rgp' `
-AllowedOrigin ''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment