powershell icon indicating copy to clipboard operation
powershell copied to clipboard

Additional tenant settings from api/SPOInternalUseOnly.TenantAdminSettings

Open reshmee011 opened this issue 1 year ago • 1 comments

Before creating a pull request, make sure that you have read the contribution file located at

There are additional settings available from https://contoso-admin.sharepoint.com/_api/SPOInternalUseOnly.TenantAdminSettings. Adding those to Get-PnPTenant will make it easier to retrieve these properties for governance or inventory purposes.

Original idea was from Tobias Maestrini and I helped implement the retrieval of these properties.

Type

  • [ ] New Feature

What is in this Pull Request ?

Additional tenant properties available from /_api/SPOInternalUseOnly.TenantAdminSettings

reshmee011 avatar Apr 21 '24 12:04 reshmee011

Hey @reshmee011, thank you very much for your support! :) See my PN in X chat regarding this. 💪

tmaestrini avatar Apr 21 '24 23:04 tmaestrini

Sorry accidentally closed while trying to fix the build issues and refactoring the code to be a separate cmdlet instead

reshmee011 avatar May 27 '24 07:05 reshmee011

@reshmee011 - can you change to singular InternalSetting ? PS doesn't allow plurals in cmdlet names.

gautamdsheth avatar May 28 '24 14:05 gautamdsheth

@gautamdsheth : I have update it to be singular internalsetting. Thanks for the review.

reshmee011 avatar May 28 '24 19:05 reshmee011

@gautamdsheth : I have updated to use "System.Text.Json;". Thanks very much for the review.

reshmee011 avatar May 29 '24 15:05 reshmee011

Merged it , thank you!!

gautamdsheth avatar May 29 '24 18:05 gautamdsheth