Hello!
- If you use the Defender for Server (Defender for Cloud) in Azure, Defender (MDE.Windows Extension) will install itself automatically on all servers in your subscription. It is called automatic provisioning. You can check this setting via these steps: Microsoft Azure => Microsoft Defender for Cloud => Environment settings => <your subscription> => Defender plans => on the Servers tab choose under Monitoring coverage Settings button => Endpoint protection must be turned on.
- If you don't use Defender for Server (Defender for Cloud), then go to https://security.microsoft.com/ and follow these steps: Settings => Endpoints => Device management => Onboarding => select OS, download the script, run it and wait up to 12-24 hours, when you can see MDE.Windows extension installed on the server.
Note: You must choose a server management model: Defender for Server (Defender for Cloud) or Defender for Endpoint. Because there are different tariffs for services. Defender for Cloud has pay-as-you-go model, but Defender for Endpoint has a model with licenses.
If the above response was helpful, please feel free to "Accept as Answer" and click "Yes" so it can be beneficial to the community.