Closed danewalton closed 1 year ago
Closing. The service requires you cancel the update before actually deleting it. So if connected, it will received the cancel. If it's disconnected, it will fetch the properties after reconnect and then see it was cancelled.
Scenario
An update is sent out but them immediately deleted. The device will receive the update but it won't be valid any longer. We should have some logic to try only so many times and then report the update is failed. Possibly get the twin again to make sure the twin property is still correct.
Note: there is a bug currently on service if you quickly delete the deployment where the twin property sticks around (although the Azure portal shows device on latest and no more deployment).
Thanks to @alancshi for the scenario experiment.