Forum Discussion
mcmcom1234
Nov 18, 2021Copper Contributor
Disable Defender on select app services?
Hi,
i have defender for cloud on at the subscription level, and this applies itself to all my app services, sql servers, etc. I was able to turn this off on a couple of SQL Servers that we use for dev/test and this is good since there is a per instance charge. I can not seem to find any way to do this on an app service. Is there a PowerShell or cli command available where i can disable Defender for cloud for specific app services?
thanks,
- StanislavBelov
Microsoft
Thank you for your question Selective enablement/disablement at the resource level is currently only available for SQL, open-source DBs and storage accounts. This is a very common ask and we are considering adding some flexibility.
Please use our User Voice portal to share your ideas and requests: Microsoft Defender for Cloud · Community (azure.com)
- giladkeidarBrass ContributorI'm sure there isn't an official way to do so as I opened a ticket for that. regarding SQL servers, did you make sure you don't get charged (I assume you disabled the ASC /MMA agent on those servers).
I end up with creating a new subscription for test /dev without Defender.