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

O365OrgSettings: Missing Installation* properties when only read permissions are granted #4418

Closed
ricmestre opened this issue Mar 7, 2024 · 0 comments · Fixed by #4419 or #4447
Closed
Labels
Bug Something isn't working Office 365 Admin

Comments

@ricmestre
Copy link
Contributor

Description of the issue

The resource O365OrgSettings has several properties that when the correct permissions are not granted they just won't be displayed instead of showing an error message or at least a warning, but in this particular case the Installation* properties, mentioned below, only have the permissions listed in settings.json for when updating the resource and not when reading which means that if only read permissions are granted these properties will never appear in the exported blueprint.

Just tested that the with the permission OrgSettings-Microsoft365Install.Read.All I'm able to extract these properties so the fix is to update the settings.json file to reflect that, I'll send a PR for this in a few minutes.

InstallationOptionsAppsForMac
InstallationOptionsAppsForWindows
InstallationOptionsUpdateChannel

Microsoft 365 DSC Version

1.24.228.1

Which workloads are affected

Office 365 Admin

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