@karthik palani , For the error "Auto MDM Enroll: Failed (Unknown Win32 Error code: 0x8018002a)", it may occur when multi-factor authentication (MFA) is Enforced. if prevents the enrollment. Please try one of the following methods to see if it ca be fixed:
- Set MFA to Enabled but not Enforced. For more information, see Set up multi-factor authentication.
- Temporarily disable MFA during enrollment in Trusted IPs.
Hope it can help.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.