Microsoft365DSC icon indicating copy to clipboard operation
Microsoft365DSC copied to clipboard

IntuneDeviceConfigurationWiredNetworkPolicyWindows10: Add certificate name additionally to id

Open FabienTschanz opened this issue 1 year ago • 2 comments

Description of the issue

When creating a wired network policy in Intune, we must specify the certificate ids used for validation etc. To make it easier for new resources to be created, it would be great to have the ability to specify a certificate name instead of only a id, so that moving the configuration between tenants is easier.

Example: If the specified id of certificate X is not found, then search for certificate X in the Intune configuration, get the current id of it and apply it to the resource.

If this is something that's going to be accepted, I'd be glad to implement the change myself.

Microsoft 365 DSC Version

V1.24.417.1

Which workloads are affected

Intune

The DSC configuration

No response

Verbose logs showing the problem

No response

Environment Information + PowerShell Version

No response

FabienTschanz avatar Apr 19 '24 11:04 FabienTschanz

Don't have access to my machine now to check the code but it would probably be something similar of what I did on #4400

ricmestre avatar Apr 19 '24 18:04 ricmestre

@ricmestre Exactly, that‘s the idea behind it. As it seems this might be something good to add. I will go for the implementation next week.

FabienTschanz avatar Apr 20 '24 12:04 FabienTschanz