microsoft / Microsoft365DSC

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

Add / Include CustomBrowserProtocol Attribute for IntuneAppProtectionPolicyiOS Resource in Microsoft365DSC #2009

Closed atdheekurteshi closed 2 years ago

atdheekurteshi commented 2 years ago

ISSUE TITLE:

Add / Include CustomBrowserProtocol Attribute for IntuneAppProtectionPolicyiOS Resource in Microsoft365DSC

ISSUE DESCRIPTION (this template):

IntuneAppProtectionPolicyiOS: Property/Attribute 'CustomBrowserProtocol ' should be added in class IntuneAppProtectionPolicyiOS since in PowerShell is provided

IntuneAppProtectionPolicyiOS Property/Attribute 'CustomBrowserProtocol ' is momentary not supported please could you add it in the IntuneAppProtectionPolicyiOS.

Details of the scenario you tried and the problem that is occurring

Verbose logs showing the problem

Suggested solution to the issue

atdheekurteshi commented 2 years ago

This issue was tested with a Microsoft365DSC Version: 1.22.713.1 but still it is not working the same error as described above.

NikCharlebois commented 2 years ago

@atdheekurteshi can you please elaborate what the issue is here? The property has been added to 1.22.713.1. Thanks

atdheekurteshi commented 2 years ago

MOF file is generated but when I use this PowerShell Scripts

Publish-DscConfiguration -Path C:\Users\MOFs\MainConfig -Force -Verbose
Start-DscConfiguration -UseExisting -Force -Verbose -Wait

Output

The following attribute its not a Microsoft365DSC attribute or its not supported.
NikCharlebois commented 2 years ago

We cannot replicate the issue on our end and the property is being set properly. Can you make sure the proper version of the module is installed and try removing any older version first

atdheekurteshi commented 2 years ago

I will try it again and will come with an answer.

atdheekurteshi commented 2 years ago

The following issue was fixed in Microsoft365DSC Version: 1.22.720.1