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

SPOTenantSettings - Remove dependency on PnP module #4631

Open
YenNantes opened this issue May 3, 2024 · 0 comments
Open

SPOTenantSettings - Remove dependency on PnP module #4631

YenNantes opened this issue May 3, 2024 · 0 comments

Comments

@YenNantes
Copy link

YenNantes commented May 3, 2024

Description of the issue

Right now the SPOTenantSettings still has a dependency on the PnP module that requires the "Sites.FullControl.All" permission even if you just need to read the conf.
Would it be possible to remove this dependency and only get data from Get-MgAdminSharepointSetting or provide another resource that would only rely on this cmdlet?
The problem is that we are using M365DSC to audit tenants config and we are not allowed to have write permissions like "Sites.FullControl.All" meaning that we could for now not audit the SPO config.

Would it also be possible to include all properties from the Get-MgAdminSharepointSetting cmdlet.
For example right now all the property related to Sharing config are not included.

Microsoft 365 DSC Version

1.24.424.1

Which workloads are affected

SharePoint Online

The DSC configuration

No response

Verbose logs showing the problem

No response

Environment Information + PowerShell Version

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant