Hello Alawsi,
Thank you for posting question on Microsoft Windows Forum!
Based on the issue description. Well! Since your manual connection works, the hardware and the RADIUS server are technically fine. The issue probably lies in the strict "Trust" requirements defined (or missing) within the mobileconfig profile itself.
When you connect manually, macOS prompts you to "Trust" the certificate, and you click "Continue." However, when a Profile is installed, macOS expects that trust to be predefined. It will not fail over to a manual prompt easily. It just kills the connection. The suggestion here is inside your Wi-Fi payload in your MDM (or Apple Configurator), look for the Trust tab. You must explicitly check the boxes for your Root CA and any Intermediate CAs that signed the RADIUS server's certificate. Also, you must list the Common Name (CN) or Subject Alternative Name (SAN) of your RADIUS server's certificate (e.g., radius.yourdomain.com) in the Trusted Server Certificate Names field. If this field is empty, macOS might reject the server even if the Root CA is present.
Another point worth mentioning here is that macOS is asking you to select the SCEP certificate. Actually, in a fully functional MDM deployment, the user should probably not be prompted to choose a certificate. Try to ensure the Wi-Fi payload is explicitly linked to the SCEP payload. In the "Identity Certificate" dropdown of the Wi-Fi configuration, you must select the certificate produced by the SCEP payload. If it is set to "None". The handshake will stall.
Also, it is worth checking the potential TLS Version Mismatch. Windows 10/11 is happy to downgrade to TLS 1.1 or 1.2 if needed. Recent versions of macOS (especially on Sonoma or Sequoia) are increasingly aggressive about requiring TLS 1.2 or 1.3. If your RADIUS server (like an older version of FreeRADIUS or an unpatched NPS) is trying to use an older protocol, macOS will terminate the connection without a specific error message.
Hope the above information is helpful! If it is. Free feel to hit "Accepted" for benefitting others in community having the same issue too.