I am trying to set the desired properties on a Module's device twin, but when I retrieve the twin from the IoT Hub, it comes back full of nulls.
var moduleClient = ModuleClient.CreateFromConnectionString(connectionString);
var moduleTwin = await moduleClient.GetTwinAsync();
When I inspect moduleTwin in the debugger I get
The connection string is the one for the module, copied from the IoT Hub.
Any idea what I am doing wrong?