We recently decommissioned some on-prem servers and would like to remove them from the Azure Security Center Inventory. How do we do this? Powershell? There doesn't seem to be a way via the GUI.
We recently decommissioned some on-prem servers and would like to remove them from the Azure Security Center Inventory. How do we do this? Powershell? There doesn't seem to be a way via the GUI.
@SamStubbs-5649
Thank you for your post!
Can you share a screenshot of what you're seeing and any documentation you followed when adding your non-azure servers to ASC? This way I can gain a better understanding of your issue.
If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.

I have attached what I see in Azure Security Center Inventory. We added the non-
Azure servers into the Log Analytics workspace, but can't find a way to remove them. I have looked for a powershell command or script which might work. I haven't found one yet.
We decommissioned asufsql08 in January and asufsql07 at the end of March.
@SamStubbs-5649
Thank you for the quick response and accepting your answer!
When it comes to these non-azure servers, they should drop off of the ASC inventory automatically. However, do you know when you decommissioned these servers? If its been more than 48hrs, please let me know, this way we can work with our support team to get this issue resolved for you.
If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.
@SamStubbs-5649
Thank you for the quick follow up on this! I've enabled your subscription for a one-time free technical support request, so you can work with our support engineers on this.
Thank you for your time and patience throughout this issue.
4 people are following this question.