-
Notifications
You must be signed in to change notification settings - Fork 187
Update GET-SPOSite.md to add a serverside filter property IsAuthoritative #1021
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
Merged
Ruchika-mittal01
merged 6 commits into
MicrosoftDocs:main
from
bishalgautam-microsoft:AddIsAuthoritativeFilterDocumentation
Sep 5, 2025
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
4d555c4
Add documentation for IsAuthoritative site property filter
bishalg-ms ff413d8
updated description of the filter
bishalg-ms 4bd74ee
Example added and PR reviews addressed
bishalg-ms 396b3d5
Updated ParamSet1 as generated by New-MarkdownHelp command
bishalg-ms a72f417
Merge branch 'main' into AddIsAuthoritativeFilterDocumentation
bishalg-ms ec8e73e
typo fix
Ruchika-mittal01 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,7 +20,7 @@ Returns one or more site collections. | |
|
|
||
| ### ParamSet1 (Default) | ||
| ``` | ||
| Get-SPOSite [[-Identity] <SpoSitePipeBind>] [-Limit <String>] [-Detailed] [<CommonParameters>] | ||
| Get-SPOSite [[-Identity] <SpoSitePipeBind>] [-Limit <String>] [-Detailed] [-IsAuthoritative <Boolean>] [<CommonParameters>] | ||
| ``` | ||
|
|
||
| ### ParamSet3 | ||
|
|
@@ -111,7 +111,7 @@ This example gets quota details for a Group Site. | |
| Get-SPOSite -Identity https://contoso.sharepoint.com/sites/research | Select InformationSegment | ||
| ``` | ||
|
|
||
| This example returns the InformationSegments associated with the site. It is applicable for tenants who have enabled Microsoft 365 Information barriers capability. Read [Learn about information barriers](/microsoft-365/compliance/information-barriers) to understand Information barriers in SharePoint Online. | ||
| This example returns the InformationSegment associated with the site. It is applicable for tenants who have enabled Microsoft 365 Information barriers capability. Read [Learn about information barriers](/microsoft-365/compliance/information-barriers) to understand Information barriers in SharePoint Online. | ||
|
|
||
| **Note**: This property is available only in SharePoint Online Management Shell Version 16.0.19927.12000 or later. | ||
|
|
||
|
|
@@ -125,28 +125,36 @@ This example uses server side filtering to return sites matching 18. | |
|
|
||
| ### EXAMPLE 8 | ||
|
|
||
| ```powershell | ||
| Get-SPOSite -Filter { IsAuthoritative -eq true } | ||
| ``` | ||
|
|
||
| This example uses server side filtering to return Authoritative sites (i.e., sites that have the IsAuthoritative property set to true). | ||
|
|
||
| ### EXAMPLE 9 | ||
|
|
||
| ```powershell | ||
| Get-SPOSite -Limit ALL | ?{$_.IsTeamsConnected -eq $true} | ||
| ``` | ||
|
|
||
| This example uses client-side filtering to return a list of sites connected to Microsoft Teams. | ||
|
|
||
| ### EXAMPLE 9 | ||
| ### EXAMPLE 10 | ||
|
|
||
| ```powershell | ||
| Get-SPOSite -Limit ALL | ?{$_.IsTeamsChannelConnected -eq $true} | ||
| ``` | ||
|
|
||
| This example uses client-side filtering to return a list of sites connected to a Microsoft Teams Private or Shared channel. | ||
|
|
||
| ### EXAMPLE 10 | ||
| ### EXAMPLE 11 | ||
|
|
||
| ```powershell | ||
| Get-SPOSite -Limit ALL -GroupIdDefined $true | ||
| ``` | ||
| This example uses server-side filtering to return all sites that have an associated Microsoft 365 Group. | ||
|
|
||
| ### EXAMPLE 11 | ||
| ### EXAMPLE 12 | ||
|
|
||
| ```powershell | ||
| $userUPN="[email protected]" | ||
|
|
@@ -236,7 +244,7 @@ Accept wildcard characters: False | |
| > Applicable: SharePoint Online | ||
|
|
||
| Specifies the script block of the server-side filter to apply. The type must be a valid filter name and value must be in the form `{ PropertyName <operator> "filterValue"}`. Valid operators are as follows: -eq, -ne, -like, -notlike. | ||
| Currently, you can filter by these properties: Owner, Template (can be used to filter if it is the only property present in the filter), LockState, Url. | ||
| Currently, you can filter by these properties: Owner, Template (can be used to filter if it is the only property present in the filter), LockState, Url, IsAuthoritative (only supports comparison operators -eq and -ne). | ||
| Using the -or operator to include an additional filter is not supported. | ||
|
|
||
| Note: The operator values are case-sensitive. | ||
|
|
@@ -311,6 +319,24 @@ Accept pipeline input: False | |
| Accept wildcard characters: False | ||
| ``` | ||
|
|
||
| ### -IsAuthoritative | ||
|
|
||
| > Applicable: SharePoint Online | ||
|
|
||
| Filter the list of sites where the IsAuthoritative property is set to true. When IsAuthoritative is true, it signals to Microsoft Search, Copilot (BizChat), and other AI agents that the site's content is official, trusted, and verified. | ||
|
|
||
| ```yaml | ||
| Type: Boolean | ||
| Parameter Sets: ParamSet1 | ||
| Aliases: | ||
|
|
||
| Required: False | ||
| Position: Named | ||
| Default value: None | ||
| Accept pipeline input: False | ||
| Accept wildcard characters: False | ||
| ``` | ||
|
|
||
| ### -Limit | ||
|
|
||
| > Applicable: SharePoint Online | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.