Muokkaa

Jaa


Set-SPOOrgNewsSite

Marks a site as one of multiple possible tenant's organizational news sites. Requires at least SharePoint administrator permissions.

Syntax

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

The URL of a site to be marked as an organizational news site.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online