SCCM Task Sequence: Failed with the error code 0x80072EE7

SCCM Task Sequence: Failed with the error code 0x80072EE7

This issue occurs when the machine does not get a valid DHCP IP address.

Please check the DHCP server and it connectivity. Further to this try changing the VLAN. Changing the same helped me in resolving the issue.