Forum Discussion

Dennis-Scherrer's avatar
Dennis-Scherrer
Brass Contributor
Mar 26, 2025
Solved

Sort SharePoint Online organization properties

There`re more than 200 organization properties in SPO. Whenever I just want to find out the status of a selected property, I realize that Get-SPOTenant isn`t very admin-freandly 😥 it won´t support ...
  • Dennis-Scherrer's avatar
    Dennis-Scherrer
    Apr 03, 2025

    Thank you michalkornet

    With your code I was able to build a small script that gives me a sorted list.

    $properties = Get-SPOTenant 
    $propertiesArray = $properties.PSObject.Properties | ForEach-Object {
         [PSCustomObject]@{ Name = $_.Name; Value = $_.Value }
     }
    $propertiesArray | Sort-Object -Property Name

Resources