Unable to apply Custom Guest Configuration on Linux VMs using the nxModule

Ivan Vorobiev 1 Reputation point
2021-09-21T13:19:20.923+00:00

Using Azure Policy, Im (unsuccessfully) applying a Custom Guest Configuration that uses the nxPackage and nxService. Troubleshooting led to me to manually apply the config using the Start-GuestConfigurationPackageRemediation cmdlet with the Verbose flag. It produced the following errors which makes me scratch my head:

134003-1.jpg
133992-2.jpg
133984-3.jpg

Im confused why the NX module isn’t found or recognized, as it is successfully imported by the configuration into the GuestConfig directory.
133993-4.jpg

Moreover, why is the Guest Config looking for a shared library file. The provided resources unfortunately contain only the MOF files
133994-5.jpg

For added clarity, Im following the Microsoft guide linked below. Also, I tried creating the simple custom Class based resource as described during the guide, which was successfully applied to the VMs. So, the problem seems to be limited to the MOF based resources, eg. the NX module.
https://learn.microsoft.com/en-us/azure/governance/policy/how-to/guest-configuration-create

This is run on Ubuntu 18 with the Guest Config extension installed. My config package is configured as following:
134011-6.jpg

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,569 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
830 questions
{count} votes