Device Serial / Device Session

Is there a way to force a device to get a serial if it does not have one yet?

Seems like rebooting was adequate enough in this instance.

If a device does not have a serial, snapd will automatically launch a task to get one. If the serial cannot be obtained, the task is retried periodically such that we do not put too much load on the store.

Restarting snapd should be enough to speed up the attempt to get a serial number.

I found that restarting snapd itself, for whatever reason, didn’t prompt a request right away. But rebooting the VM did seem to do it.