I recently created a custom guest configuration policy using the docs and the guest configuration project. I then assign this to a subscription (top level) to be picked up by the VMs in that subscription. When I want to update this module, I follow the docs to update the policy and push this to a storage account, then updated the policy (also following the docs) to reference this new zip (content uri contains a sastoken) and push this to azure.
I can see the policy definition has updated. I then update part of the assignment, normally the non-compliance message, to trigger the clients to update their policies. If I then leave the machines to do their thing for an hour, I can still see the old version of the module in "C:\ProgramData\GuestConfig\Configuration\gcPolSqlIaaSServices\Modules". If I manually update the files in this folder with a later version, it errors. So clearly somewhere on the machine, it is still set to use the older version of the module
The Error:
The PowerShell DSC resource gcPolSqlIaaSServices from module <gmyModuleName,1.4.0> does not exist at the PowerShell module path nor is it registered as a WMI DSC resource.
How can I trigger this module to be updated?