Create a Communication Site in SharePoint Online using PowerShell

December 25, 2019    , , ,
Requirement: Create a communication site in SharePoint Online using PowerShell How to Create a Communication Site in SharePoint Online? One of the recent addition to SharePoint Online space is Communication sites! The modern SharePoint Online communication site templates are designed to broadcast information to a broader audience such as to an entire organization or teams to keep them informed and engaged. You can share news, reports, images, documents, organizational events and other information in a visually compelling format that communicates key information into one central place. A communication site is more visual-centric, dynamic sites that look great on the web, on a PC or Mac, on mobile browsers, and in the SharePoint app. Communication sites allow people to create and share timely updates that go beyond email, Anyone can easily create communicate sites and customize within 30 minutes! Communication sites provide configurable templates for the sites and pages to make your
Create a Communication Site in SharePoint Online using PowerShell Create a Communication Site in SharePoint Online using PowerShell Reviewed by Salaudeen Rajack on December 25, 2019 Rating: 5

SharePoint Online: How to Create a Site Design from Existing Site using PowerShell?

November 14, 2019    ,
How to Create a New Site Collection from an Existing site in SharePoint Online? With Get-SPOSiteScriptFromWeb cmdlet, we can create a site design from an existing site collection and then use the site design to create new instances of the site. The cmdlet is a new feature addition to SharePoint Online! It extracts the site schema from a given site and can be used to create copies of any existing site structure. Here is the basic syntax and example: Syntax: Get-SPOSiteScriptFromWeb -WebUrl $siteUrl -IncludeTheming -IncludeBranding -IncludeSiteExternalSharingCapability -IncludeRegionalSettings -IncludeLists $RelativeListUrls Example: Get-SPOSiteScriptFromWeb -WebURL https://crescent.sharepoint.com/sites/marketing  -IncludeBranding -IncludeTheme -IncludeRegionalSettings -IncludeSiteExternalSharingCapability -IncludedLists ("Lists/work","Lists/Marketing%20Documents") Create Site Design from an Existing site using PowerShell Before using this cmdlet, make sure
SharePoint Online: How to Create a Site Design from Existing Site using PowerShell? SharePoint Online: How to Create a Site Design from Existing Site using PowerShell? Reviewed by Salaudeen Rajack on November 14, 2019 Rating: 5

SharePoint Online: Change Site Language using PowerShell

November 08, 2019    , , , , ,
Multi-lingual sites are ideal for global organizations that operate in different regions of the world. Let's see how to change the default language settings on SharePoint Online sites. What decides in which language the site is displayed? Well, It depends on whether a particular language has added to the site's alternate languages list and the user has that particular language in his user profile language preferences! So, If you want your site to appear in Arabic language, your site must have "Arabic" under alternate language section and the user must have "Arabic" at the top of the preferred language settings! The default Language of the SharePoint Online Site The language you select during a site collection or subsite creation will become the "Default" language of the site. The default language of the site will remain the same - we can't change it! But if the users visiting the site have one of the alternate languages of the site adde
SharePoint Online: Change Site Language using PowerShell SharePoint Online: Change Site Language using PowerShell Reviewed by Salaudeen Rajack on November 08, 2019 Rating: 5

SharePoint Online: Create Site Design and Site Scripts using PowerShell

October 27, 2019    , , ,
What is Site Design and Site Scripts in SharePoint Online? Site design and site scripts are the new way to create site templates in SharePoint Online. Say, you want to create sites with a specific theme, apply a logo, set regional settings, create a list or library in the site, add users, create a content type and columns, add-remove links from the navigation, trigger a flow, Join to hub-site, add-remove site columns, etc - then make use of site designs. The best part is: Not only for new sites, but you can apply site designs to any existing sites too to deploy the artifacts and make them consistent. Remember, Feature stapling? here too you create site design and register it with SharePoint Online site templates such as team site, or communication site. A site script is a JSON file with a set of pre-defined action definitions to be executed when you apply site design. A site design acts as a container for the site script(s). You can attach one or more site scripts to site design (a
SharePoint Online: Create Site Design and Site Scripts using PowerShell SharePoint Online: Create Site Design and Site Scripts using PowerShell Reviewed by Salaudeen Rajack on October 27, 2019 Rating: 5

SharePoint Online: User Permissions Audit Report for a Site Collection using PnP PowerShell

September 25, 2019    , , , ,
Requirement: Need a report to audit SharePoint Online site collection permissions. SharePoint Online: User Permissions report in a Site Collection using PnP PowerShell Auditing SharePoint Online Site permissions is critical for security as misconfigured permissions may enable users to access to data that they should not have access to. So, regular auditing of SharePoint permissions is crucial to minimizing the risk of data leaks and compliance violations. As there are no out of the box ways to generate permissions report, we can utilize PowerShell get list of effective permissions for your SharePoint site collections. This PowerShell script generates permission report on all objects such as SharePoint Online Site collection and its subsites, lists and libraries, folders and list items which has unique permissions on the given site collection. It scans through following securables: Site collection administrators group Given site collection and sub-sites with unique permissions
SharePoint Online: User Permissions Audit Report for a Site Collection using PnP PowerShell SharePoint Online: User Permissions Audit Report for a Site Collection using PnP PowerShell Reviewed by Salaudeen Rajack on September 25, 2019 Rating: 5

SharePoint Online: How to Add Icons to Navigation Menu?

September 19, 2019    , ,
Do you know you can insert Emoji icons to SharePoint Online? Well, Yes! Here is how to insert emoji symbols to SharePoint Online Menu. You can insert emoji icons to anywhere in SharePoint like in top navigation or in quick launch menu items. E.g. To add an icon to quick launch menu items, Click on the "Edit" link as you do usually to edit any link in the left navigation. and then click on "Edit" menu item from the context menu. When the "Edit" window is open, press "Windows" and "." keys. This opens the Emoji icon popup from where you can insert any available icon as per your requirements! Here is my left navigation menu with symbols added in it:  Here is my another top navigation mega menu with Icons : Similarly, you can add these emoji icons or symbols to anywhere in the site such as, site or list names, site content, etc.
SharePoint Online: How to Add Icons to Navigation Menu? SharePoint Online: How to Add Icons to Navigation Menu? Reviewed by Salaudeen Rajack on September 19, 2019 Rating: 5

SharePoint Online: How to Change Suite Bar Color?

September 19, 2019    , ,
Requirement: Change suite bar color for SharePoint Online site. SharePoint Online: How to Customize Suite Bar Color? By default, suite bar looks in a black or blue background and changing the theme in modern sites doesn't change the color or the top suite bar in SharePoint Online. To set the default color for suite bar according to your organization branding guidelines in Office 365, including SharePoint Online, follow these steps: Login to Office 365 Admin portal as Tenant Admin >> Click on "Settings" from the left navigation >> Select "Organization profile" In the "Organization Profile" page, click on "Edit" next to "Manage custom themes for your organization" Scroll down and set the colors for the Navigation bar, Text, and Icon, Accent. Hit the Save button to save your changes. Optionally, you can place a clickable logo on the suite bar from the same page. This changes the suite bar color for all Office 365 a
SharePoint Online: How to Change Suite Bar Color? SharePoint Online: How to Change Suite Bar Color? Reviewed by Salaudeen Rajack on September 19, 2019 Rating: 5

SharePoint Online: Change Site Collection URL using PowerShell

September 18, 2019    , , ,
Requirement: Change Site Collection URL in SharePoint Online How to Change the Site URL in SharePoint Online? Previously, We had to create a new site collection and run a migration tool to copy all contents from old site to new site. Well, not anymore! To change the URL of the existing SharePoint Online site, follow these steps: Login to Modern SharePoint Admin Center >>  Click on "Active Sites" under "Sites" section Select the site collection you want to rename and open its properties pane. Click on "Edit" link next to site URL. Provide a new URL and hit "Save" button. You'll be prompted to enter the new name for the site. You'll get a progress message next, saying: "Updating site address". Wait for it to turn "Updated Site Address". That's all! Your site collection is renamed now! changing site URL can be done either through the SharePoint Admin Center or with PowerShell. Let's see how
SharePoint Online: Change Site Collection URL using PowerShell SharePoint Online: Change Site Collection URL using PowerShell Reviewed by Salaudeen Rajack on September 18, 2019 Rating: 5

SharePoint Online: How to Replace Classic Root Site Collection with a Modern Site?

August 30, 2019    ,
Requirement: Convert SharePoint Online Root site collection from classic to modern experience! Our requirement is, We built a new Intranet based on a Modern SharePoint Communication site and want to swap into the root site. How to change the root site from classic to modern Experience? As SharePoint Online root site collection is created as a classic experience site by default, we had no options to migrate from classic to modern (and we can't delete and re-create the root site!). Well, not anymore! We can replace it with another modern site using Invoke-SPOSiteSwap cmdlet. The newly introduced Invoke-SPOSiteSwap cmdlet can be used to migrate SharePoint Online site from classic to modern. Make sure you have the latest PowerShell module for SharePoint Online is installed (16.0.8812.1200 or later). To get the installed PowerShell module version, use: (Get-Module -Name Microsoft.Online.SharePoint.PowerShell).Version.ToString() Step 1: Create a new modern site collection a
SharePoint Online: How to Replace Classic Root Site Collection with a Modern Site? SharePoint Online: How to Replace Classic Root Site Collection with a Modern Site? Reviewed by Salaudeen Rajack on August 30, 2019 Rating: 5

Connect to SharePoint Online using PowerShell with Multi-factor Authentication (MFA)

August 30, 2019    , , ,
Requirement: Connect to SharePoint Online from PowerShell using multi-factor authentication. PowerShell to connect to SharePoint online with MFA Multi-Factor Authentication in Office 365 environments is often enabled as part of security hardening. Instead of typical user id and passwords, it adds an extra layer with SMS or phone call to complete the authentication process. However, in SharePoint when you enable MFA for the account you use to connect to SharePoint Online from PowerShell, it fails! Here is the list of available options on how to connect to the SharePoint Online site through an account with Multi-Factor authentication is enabled. Create App Password and Connect with App Password Visit http://aka.ms/createapppassword to create an App password for your MFA enabled account(s), Then connect to SharePoint Online with the App password! E.g. #Admin Center URL of your SharePoint Online $AdminSiteURL= "https://crescent-admin.sharepoint.com" #Connect to SharePoi
Connect to SharePoint Online using PowerShell with Multi-factor Authentication (MFA) Connect to SharePoint Online using PowerShell with Multi-factor Authentication (MFA) Reviewed by Salaudeen Rajack on August 30, 2019 Rating: 5

SharePoint Online: Create Modern Team Site without Group

August 12, 2019    , , , , ,
Requirement: Create a modern team site without a group in SharePoint Online SharePoint Online: Create a modern Team Site without Group SharePoint Site collection is a logical group sites with a common top-level site and subsites organized as a hierarchy. Every site collection shares a common top site, navigation, security, content types, etc. By default, modern team sites are created with an associated Office 365 group in SharePoint Online. Can we create a modern team site without creating a group? Yes, To create a modern SharePoint Online Site collection without creating groups, follow these steps: Login to New SharePoint Admin Center as a tenant admin or SharePoint Online Administrator.  Click on Sites >> Active Sites from left navigation >> Click on "Create" >> and then "Private Site collection" to create a new site collection. Click on "Other Options" to create a modern team site without Office 365 group. Pick the si
SharePoint Online: Create Modern Team Site without Group SharePoint Online: Create Modern Team Site without Group Reviewed by Salaudeen Rajack on August 12, 2019 Rating: 5

How to Copy a Site using PowerShell PnP Provioning Template in SharePoint Online?

August 05, 2019    , , , , ,
Requirement: Copy a sub-site in SharePoint Online using PnP Provisioning Template. Site templates are a great way to make a "template" and create a copy of a subsite including all its structure and optionally content. However, Microsoft has removed the "Save as Template" feature in modern site templates and group associated team site or communication sites. So, How to make a copy of a site in SharePoint Online? How this process works? PnP PowerShell is a powerful way to provision site artifacts in SharePoint Online. Now, let's use it to copy a subsite using PnP provisioning template. Step 1: Connect to the Source site and Get its Schema Step 2: Create a New Subsite Step 3: Import the Schema to the Target Site Step 1: Get the Source Site Schema XML Create your site using the SharePoint UI, do the necessary customizations. Once the site is ready to use as a template, Connect to the source site and get the site schema in XML format using Get-PnP Prov
How to Copy a Site using PowerShell PnP Provioning Template in SharePoint Online? How to Copy a Site using PowerShell PnP Provioning Template in SharePoint Online? Reviewed by Salaudeen Rajack on August 05, 2019 Rating: 5

SharePoint Online: Change Header Layout, Site Logo, Background using PowerShell

August 05, 2019    , ,
Requirement: Change Header layout, Site Logo and Background settings in SharePoint Online. How to Set Header layout, Site Logo and Background in SharePoint Online? To change the header settings in SharePoint Online, Click on "Settings" gear icon >> Click on "Change the look" from site settings menu. Click on "Header" Set the header layout, site logo and header background. Click on "Save" to commit your changes. PowerShell to Set Header layout, Site Logo and Background: Lets change the SharePoint Online header layout, header background color and header logo using PowerShell. #Set Variables $SiteURL = "https://crescent.sharepoint.com/sites/credit" $LogoURL= "https://crescent.sharepoint.com/sites/credit/SiteAssets/logo.jpg" #Connect to PNP Online Connect-PnPOnline -Url $SiteURL -UseWebLogin #Get the Web $Web = Get-PnPWeb #Set Header Options $Web.HeaderLayout = "Standard" # Standard, Co
SharePoint Online: Change Header Layout, Site Logo, Background using PowerShell SharePoint Online: Change Header Layout, Site Logo, Background using PowerShell Reviewed by Salaudeen Rajack on August 05, 2019 Rating: 5
Powered by Blogger.