I am an experienced IT professional specialising in Microsoft technologies (SharePoint 2010/2013/Online, Power Platform, Office 365), with over 10 years of experience in large public and private sector organisations.
SharePoint organisation news site
As a SharePoint administrator you can specify any number of organisation news sites.
An organisation news site is a site where the news/posts get a visual enhancement and appear on the SharePoint start page.
Using PnP PowerShell you can:
- Set a site as an organisation news site.
- Return a list of all the configured organisational news sites.
- Remove a site from the list of organisational news sites.
Using SharePoint Online Management Shell, connect as global admin or SharePoint admin.
To set a site as an organization news source in your tenant, run the following command
Add-PnPOrgNewsSite -OrgNewsSiteUrl <SitePipeBind> [-Connection <PnPConnection>] [<CommonParameters>]
Example:
Add-PnPOrgNewsSite -OrgNewsSiteUrl "https://yourtenant.sharepoint.com/sites/mainsitenews"
To return a list of all the configured organisational news sites run the following command
Get-PnPOrgNewsSite [-Connection <PnPConnection>] [<CommonParameters>]
Example:
Get-PnPOrgNewsSite
To remove a site from the list of organisational news sites run the following command
Remove-PnPOrgNewsSite -OrgNewsSiteUrl <SitePipeBind> [-Connection <PnPConnection>] [<CommonParameters>]
Example:
Remove-PnPOrgNewsSite -OrgNewsSiteUrl "https://tenant.sharepoint.com/sites/mainsitenews"
Tech
Visit my blog
So you landed on my website … Why not have a look at my blog and leave a comment or ask a question.