What do you mean by "pulling the old configuration from Meraki cloud"?
Since you mentioned that the device can be online, I assume the cloud check-in was fine.
then it's mainly the switch configuration on the cloud, which you can log in to Meraki cloud with your account and current those configurations as per your needs.
Lastly, if you have changed the default local device login credentials on the cloud, after the cloud check-in, your switch would for sure use the new configuration, instead of the default one (serial as username, empty as pwd)