Hello @AzureisMyCareer-5423 ,
There are 3 ways you can enable back that extension
1) Using Azure Portal: (Easy way)
-> Browse to the VM Blade
-> Go to Diagnostics Settings Under Monitoring Section
-> Select Diagnostics Storage Account (if exists or create a new storage account to store diagnostics data)
-> Click on Enable Guest-Level Monitoring
Below 2 methods needs some configuration files
2) Using Azure CLI command
az vm extension set \
--resource-group myResourceGroup \
--vm-name myVM \
--name IaaSDiagnostics \
--publisher Microsoft.Azure.Diagnostics \
--version 1.9.0.0 --protected-settings protected-settings.json \
--settings public-settings.json
Please note to create protected-settings.json & public-settings.json files.
Source: https://learn.microsoft.com/en-us/azure/virtual-machines/windows/extensions-diagnostics
3) Using ARM template
Source: https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/diagnostics-template
If this helps , please make sure to "Accept Answer" so that it will help out the community out there.