Hi. The error code 80180014 you’re encountering often relates to device enrollment policies when trying to join a Windows 10 machine to a network. This error can occur if the device is recognized as a personal device and the enrollment of personal devices is blocked in your tenant’s Device Enrollment restriction policy.
Please follow this Troubleshooting guide: https://learn.microsoft.com/en-us/troubleshoot/mem/intune/device-enrollment/troubleshoot-windows-enrollment-errors?wt.mc_id=studentamb_232547
Also, you can check this previous question: https://learn.microsoft.com/en-us/answers/questions/1340600/fixing-error-80180014-when-connecting-school-accou?wt.mc_id=studentamb_232547
Hope this helps!
Remember to accept the answer if it is helpful.