microsoft / Microsoft365DSC

Manages, configures, extracts and monitors Microsoft 365 tenant configurations
https://aka.ms/M365DSC
MIT License
1.53k stars 472 forks source link

NewResourceName: Intune Apple iPadOS/iOS Device feature policies #4759

Open Ruthhl3ss opened 3 months ago

Ruthhl3ss commented 3 months ago

Description

The Intune export misses the Apple iPadOS/iOS Device feature policies. These policies contain settings like "Lock Screen message" & "Credential renewal certificate" for Single Sign on.

Proposed properties

All the properties are missing because the entire feature policy is not available. It would be nice if all the properties were available in the export (and import of course) of these policies.

Special considerations or limitations

None at this time.

Ruthhl3ss commented 1 month ago

@NikCharlebois I have added the code to for the IntuneDeviceFeatureiOs policy in branche:

https://github.com/Ruthhl3ss/Microsoft365DSC/tree/feature_nko_IntuneDeviceFeaturePolicyIOS

But I have the issue that some objects are returned like this:

image

How do I convert these objects that the Microsoft 365 DSC module understands? Do I also need to change something to import the change of these settings?

Ruthhl3ss commented 1 month ago

I have tried adding the schema in the MOF file:

image

But I got the same result:

image

Ruthhl3ss commented 1 month ago

I think I managed to fix it:

image

Can you let me know when I can do a Pull request?

Thanks