If you get error 0x80180018, then you have a licensing issue. Either you didn't log in to the correct user, or you have not assigned the license correctly.
I would suggest you to contact the Meraki cloud to troubleshoot this issue further .
Troubleshoot Autopilot device import and enrollment https://learn.microsoft.com/en-us/mem/autopilot/troubleshoot-device-enrollment
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer--