[Feature]: Publish-AzVMDscConfiguration Repository Parameter
Description of the new feature
In order to support publishing DSC configurations via the Publish-AzVMDscConfiguration cmdlet in the air-gapped clouds, a repository parameter should be added to support pwsh repositories other than the PSGallery for dependent modules.
Proposed implementation details (optional)
No response
@brianwest Thanks for the feedback. We are currently investigating.
Looping @n-bajaj and assigning to them
There are currently no plans to add this feature in Automation DSC. Azure Automanage Machine Configuration is the recommended service for DSC related scenarios.
@brianwest have you been able to determine if using Azure Automanage Machine Configuration will fit your needs as mentioned above?
I see what you mean. The required modules need to be in the PSModulePath and then the New-GuestConfigurationPackage cmdlet will be able to include them in the configuration package artifact: https://learn.microsoft.com/en-us/azure/governance/machine-configuration/how-to/develop-custom-package/2-create-package#create-a-configuration-package-artifact. That should do the trick. Thank you!
Closing this as this seems to be resolved. Thanks!