Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IntuneSettingCatalogASRRulesPolicyWindows10: Still not quite working #4302

Closed
ricmestre opened this issue Feb 7, 2024 · 0 comments · Fixed by #4303 or #4330
Closed

IntuneSettingCatalogASRRulesPolicyWindows10: Still not quite working #4302

ricmestre opened this issue Feb 7, 2024 · 0 comments · Fixed by #4303 or #4330
Assignees
Labels
Bug Something isn't working Intune

Comments

@ricmestre
Copy link
Contributor

Description of the issue

I'll start by saying great effort on having PR #3990 merged so thank you @NikCharlebois for merging and @MKlingner to create the PR, it solved almost all issues with this resource but also because there seems to be some kind of issue in the Intune backend that automatically, but not always and not on all of my tenants, makes the old template used by IntuneASRRulesPolicyWindows10 to turn itself into the new template which is then used by IntuneSettingCatalogASRRulesPolicyWindows10. This is some weird combo happening in the Intune backend, so not a problem with my code or M365DSC's, which I really don't want to pursue on investigating by opening a ticket since what I really want is to use the newest template, in this case IntuneSettingCatalogASRRulesPolicyWindows10.

@NikCharlebois With that being said there's still a couple of problems here to be ironed out that should have been caught by the integration tests, that's why I was so keen on having them in place, I'll send out a PR to fix these in a bit.

  • Removing the resource won't work if Identity comes from another tenant, that param might not even be present in the blueprint since it's not required anymore
  • If Identity doesn't match, again if it comes from another tenant or not present in blueprint, then Test-DSCConfiguration will always report that resource is not in desired state even if it is so that param must be removed from the checks

Microsoft 365 DSC Version

1.23.207.1

Which workloads are affected

other

The DSC configuration

N/A

Verbose logs showing the problem

N/A

Environment Information + PowerShell Version

OsName               : Microsoft Windows 11 Enterprise                                                                                                                                                             OsOperatingSystemSKU : EnterpriseEdition                                                                                                                                                                           OsArchitecture       : 64-bit                                                                                                                                                                                      WindowsVersion       : 2009                                                                                                                                                                                        WindowsBuildLabEx    : 22621.1.amd64fre.ni_release.220506-1250                                                                                                                                                     OsLanguage           : en-US                                                                                                                                                                                       OsMuiLanguages       : {en-US, en-GB}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                                                                                       Name                           Value                                                                                                                                                                               ----                           -----                                                                                                                                                                               PSVersion                      5.1.22621.1778                                                                                                                                                                      PSEdition                      Desktop                                                                                                                                                                             PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                                                                                             BuildVersion                   10.0.22621.1778                                                                                                                                                                     CLRVersion                     4.0.30319.42000                                                                                                                                                                     WSManStackVersion              3.0                                                                                                                                                                                 PSRemotingProtocolVersion      2.3                                                                                                                                                                                 SerializationVersion           1.1.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Intune
Projects
None yet
2 participants