Forum Discussion

Jeff Walzer's avatar
Jeff Walzer
Iron Contributor
Apr 14, 2020
Solved

Possible to prevent creation of new Log Analytics workspaces?

Is it possible to prevent the creation of new Log Analytics workspaces and instead force the user to choose an existing log analytics workspace?   Thx
  • GaryBushey's avatar
    Apr 15, 2020

    Jeff Walzer Depending on how restrictive you want to be, you can put a lock on the resource group that will disallow any new resources to be created, but that only works in that resource group.

     

    You could create a policy that prevents LA workspaces from being created and assign that to the subscription.

Resources