Skip to content

Latest commit

 

History

History
77 lines (50 loc) · 1.88 KB

File metadata and controls

77 lines (50 loc) · 1.88 KB
external help file Microsoft.Online.SharePoint.PowerShell.dll-Help.xml
Module Name Microsoft.Online.SharePoint.PowerShell
online version https://learn.microsoft.com/powershell/module/microsoft.online.sharepoint.powershell/set-spoorgnewssite
applicable SharePoint Online
title Set-SPOOrgNewsSite
schema 2.0.0
author samkabue
ms.author speedta

Set-SPOOrgNewsSite

SYNOPSIS

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

Applicable: SharePoint Online

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

Type: System.String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Object

NOTES

RELATED LINKS

Remove-SPOOrgNewsSite

Get-SPOOrgNewsSite