I just want to use Microsoft defender as an Anti-Virus
You don't need Intune or MS Defender for Endpoints, if you only want to run AV as non-managed. Every Windows 10 and 11 machine contains Defender AV already. Defender for Endpoint is a manage and monitor solution for enterprice.