Set-SPOOrgNewsSite
Marks a site as one of multiple possible tenant's organizational news sites. Requires at least SharePoint administrator permissions.
Syntax
Default (Default)
Set-SPOOrgNewsSite
-OrgNewsSiteUrl <String>
[<CommonParameters>]
Description
Use this cmdlet to mark a site as an organizational authoritative news site. Such sites get primary treatment in the SharePoint user interface.
If a site with specified URL doesn't exist, this cmdlet returns a "File not found" error.
Examples
Example 1
Set-SPOOrgNewsSite -OrgNewsSiteUrl https://contoso.sharepoint.com/sites/Marketing
This example marks https://contoso.sharepoint.com/sites/Marketing as an organizational news site.
Parameters
-OrgNewsSiteUrl
Applicable: SharePoint Online
The URL of a site to be marked as an organizational news site.
Parameter properties
| Type: | System.String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.