I'm a bit of a newb with Azure VM extensions. In a VM that I've inherited the management of, there is an extension that is not properly provisioned.
The VM is running Windows Server 2016 and I just installed Azure-Powershell, but most of their commands are not working, throwing various errors, including being blocked due to a .NET 4.7.2 or higher minimum framework reference.
enablevmaccess
- Type: Microsoft.Compute.VMAccessAgent
- Version: 2.4.7
- Status: Provisioning failed
- Status level: Error
- Status message: VMAccess Extension does not support Domain Controller.
- Handler status: Ready
- Handler status level: Info
From what I've read in various articles, this extension should be able to be used on this VM, even though it's running ADFS and connected to the domain.
What would be a safe and correct Powershell commandlet (or other method) to correctly reinstall this feature?
FYI - I know I can click the uninstall button on the extensions page, but after viewing so many videos about certain extensions needing to be installed via Powershell only and numerous commandlets not working for me, I'm nervous about using that option.