kwizcom banner advertisement

SharePoint Online: Add Site Column to List using PowerShell

3:42 AM    , , , ,
Requirement: Add an existing site column to SharePoint list or library using PowerShell. How to Add a Site Column to SharePoint Online List? Site columns in SharePoint provides great re-usability without having to recreate same columns multiple times! Once created at top level site, we can utilize them to store metadata in any number of lists and libraries under the hierarchy. To add a site column to SharePoint list, follow these steps: Go to List Settings >> Under Columns, Click on "Add from existing site columns" link. From the available site columns, pick the required site column(s) and click on Add button. Click OK to save your changes. Add Site Column to List or Library with PowerShell: #Load SharePoint CSOM Assemblies Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\
SharePoint Online: Add Site Column to List using PowerShell SharePoint Online: Add Site Column to List using PowerShell Reviewed by Salaudeen Rajack on 3:42 AM Rating: 5

How to Add a Custom Tile to SharePoint 2016 App Launcher

1:50 PM    ,
Requirement: Add new tile to App Launcher in SharePoint Online. How to Add a Custom Tile to SharePoint 2016 App Launcher? We wanted to place a new tile in SharePoint 2016 app launcher for support center site, as an end-user usability improvement. SharePoint 2016 Feature Pack 1 brought us the capability to add new tile to app launcher. Here is how you can customize SharePoint 2016 App launcher. Step 1: Enable the "Custom Tiles" feature in SharePoint 2016 with PowerShell: Use this PowerShell script to enable custom tiles feature.  Enable-SPFeature -Identity CustomTiles -Url "http://intranet.crescent.com" -Force This creates a new list "Custom Tiles" in the given web application's root site collection. Step 2: Create new Tile in "Custom Tiles" list Once the feature is activated, navigate to: http://intranet.crescent.com/Lists/Custom%20Tiles/AllItems.aspx URL and add a new entry with desired URL and image for tile for your custom t
How to Add a Custom Tile to SharePoint 2016 App Launcher How to Add a Custom Tile to SharePoint 2016 App Launcher Reviewed by Salaudeen Rajack on 1:50 PM Rating: 5

SharePoint Online: Grant Permission to List Item using PowerShell

7:03 PM    , , ,
Permissions are hierarchical in SharePoint from Top Site collection till the List Item level. To set unique permissions on list items, you need to configure permissions on item level. Here is how: How to Grant Access to Individual List Items in SharePoint Online? Got a business requirement to grant permissions at List item level. To set explicit permissions on SharePoint online list items, we need to break the permission inheritance first (stop inheriting permissions) and then add user or group to the List Item. Go to your SharePoint Online list or library >> Select the Item to which you want to provide unique permissions.  Click on "Shared With" button from the ribbon. On the Shared With page, click Advanced. On the Permissions tab, in the Inheritance group, click Stop Inheriting Permissions button. Confirm the prompt. Now, from the ribbon, click on "Grant Permissions." button. In the Share dialog box, enter names, email addresses. Click the Show
SharePoint Online: Grant Permission to List Item using PowerShell SharePoint Online: Grant Permission to List Item using PowerShell Reviewed by Salaudeen Rajack on 7:03 PM Rating: 5

Create Search Service Application in SharePoint 2016 Multi-Server Farm using PowerShell

3:02 PM    , , , ,
The Search Service Application in SharePoint provides search functionality, as its name implies. We have to use PowerShell scripts to configure search service application from SharePoint 2013 on wards as there is no user interface to configure the Search topology from SharePoint Central Admin - although we can create new search service application instance. Configuring SharePoint 2016 Search Service Application for Multi-Server Farm: While my earlier article addresses How to create search service application in SharePoint 2013 - Single Server farm , for Standalone SharePoint 2013 or SharePoint 2016 installations, In a production environment we may have to distribute and load balance search components to different servers in a multi-server farm. Here is the proposed Farm search topology in high level: I've the below servers in my SharePoint 2016 environment using Shared MinRoles: Web Front End + Distributed Cache Servers - 2 Application + Search Servers - 2 Since w
Create Search Service Application in SharePoint 2016 Multi-Server Farm using PowerShell Create Search Service Application in SharePoint 2016 Multi-Server Farm using PowerShell Reviewed by Salaudeen Rajack on 3:02 PM Rating: 5

SharePoint Online: Rename Files in Document Library using PowerShell

6:28 PM    , , , , ,
Requirement: Rename files in SharePoint document library using PowerShell PowerShell CSOM Script to rename a file in SharePoint Online: #Load SharePoint CSOM Assemblies Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" #Set Variables for Site URL, Old File Name and New File Name $SiteURL= "https://crescent.sharepoint.com/sites/sales/" $OldFileURL="/sites/Sales/Documents/Legal.docx" $NewFileURL="/sites/Sales/Documents/LegalTemplate.docx" #Setup Credentials to connect $Cred = Get-Credential $Cred = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($Cred.UserName,$Cred.Password) Try { #Setup the context $Ctx = New-Object Microsoft.SharePoint.Client.ClientContext($SiteURL) $Ctx.Credentials = $
SharePoint Online: Rename Files in Document Library using PowerShell SharePoint Online: Rename Files in Document Library using PowerShell Reviewed by Salaudeen Rajack on 6:28 PM Rating: 5

Create User Profile Service Application using PowerShell in SharePoint 2016

4:54 PM    , , , ,
We need User Profile Service Application to consume social features in SharePoint 2016 such as My Sites, User profiles, etc. This PowerShell script creates User Profile Service Application in SharePoint 2016. Prerequisite: Create my site host prior creating user profile service application. Create My site host using PowerShell in SharePoint PowerShell to create user profile service application in SharePoint 2016 Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue #Configuration Parameters $ServiceAppName = "User Profile Service Application" $ServiceAppProxyName = "User Profile Service Application Proxy" $AppPoolAccount = "Crescent\SP16_Pool" $AppPoolName = "Service Application App Pool" $DatabaseServer ="SP16-SQL" $UserProfileDB = "Farm_Profile_DB" $UserProfileSyncDB = "Farm_Profile_Sync_DB" $UserProfileSocialDB = "Farm_Profile_Social_DB" $MySiteHostLocation="http://mysi
Create User Profile Service Application using PowerShell in SharePoint 2016 Create User Profile Service Application using PowerShell in SharePoint 2016 Reviewed by Salaudeen Rajack on 4:54 PM Rating: 5

SharePoint Online: Site Users and Groups Report using PowerShell

4:54 PM    , , , , ,
Requirement: Generate a report with all site groups and members of each group of a SharePoint online site collection. Prerequisites: Make sure you have SharePoint Online Management Shell installed! Get all Site Groups and Members of Each group: #Import SharePoint Online Management Shell Import-Module Microsoft.Online.Sharepoint.PowerShell -DisableNameChecking #Variables for processing $AdminURL = "https://crescent-admin.sharepoint.com/" $AdminName = "spadmin@crescent.com" $SiteURL="https://crescent.sharepoint.com/sites/sales" #User Names Password to connect $Password = Read-host -assecurestring "Enter Password for $AdminName" $Credential = new-object -typename System.Management.Automation.PSCredential -argumentlist $AdminName, $Password #Connect to SharePoint Online Connect-SPOService -url $AdminURL -credential $Credential #Get all Site groups $SiteGroups = Get-SPOSiteGroup -Site $SiteURL #Get Members of each group foreach($Group
SharePoint Online: Site Users and Groups Report using PowerShell SharePoint Online: Site Users and Groups Report using PowerShell Reviewed by Salaudeen Rajack on 4:54 PM Rating: 5

SharePoint Online: How to Change List to New Experience?

5:42 PM    , ,
SharePoint Online's new list experience provides faster and easier user interface to lists and libraries. You can switch between classic & new experiences in SharePoint online by simply changing list settings. To change list or library to new modern user interface: Go to List or Library settings >> Click on "Advanced Settings" Scroll down to the bottom, and from "List experience" section, Select "New experience" option and hit OK. This changes the list UI to new experience in SharePoint online, From: To: New list experience in SharePoint online How about setting the default option for all New Lists? To set list experience for new lists, you can specify this option globally using using SharePoint Admin Center. Here is how: Navigate to your SharePoint Admin Center(typically: https://YOURCOMPANY-admin.sharepoint.com/) Click on "Settings" from the Left navigation On the Setting page, under "SharePoint list and
SharePoint Online: How to Change List to New Experience? SharePoint Online: How to Change List to New Experience? Reviewed by Salaudeen Rajack on 5:42 PM Rating: 5

Remove SharePoint Web Application Policy using PowerShell

9:49 PM    , , , , , ,
Requirement: Remove Web Application Policy using PowerShell How to remove a web application Policy in SharePoint? To remove a user or group from SharePoint web application Policy, follow these steps: Login to SharePoint Central Administration Site Application Management >> Manage Web Applications  Select the appropriate web application from the list >> Click on "User Policy" button from the ribbon.  Now, from the "Policy for Web Application" page, Select the user or group to remove and click on "Delete Selected Users" link Confirm the prompt once to remove select accounts from web application Policy. PowerShell to Remove a Web Application Policy in SharePoint: Here is the PowerShell script to delete a web application policy in SharePoint. Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue Function Remove-WebAppPolicy($WebAppURL, $Account) { Try { Write-host "Removing Account '$Acc
Remove SharePoint Web Application Policy using PowerShell Remove SharePoint Web Application Policy using PowerShell Reviewed by Salaudeen Rajack on 9:49 PM Rating: 5

How to Delete a Host Named Site Collection in SharePoint using PowerShell?

8:22 PM    , , ,
Requirement: Delete host named site collection using PowerShell in SharePoint. How to Delete host named Site Collection? Generally, Host named site collections in SharePoint are managed through PowerShell. Prior to SharePoint 2013, You cannot delete host named site collections from Central Administration site as the delete button is greyed out on delete site collection page. However, from SharePoint 2013 you can delete either host named site collection or path based site collection from: Central Administration >> Application Management >> Delete Site Collection Select the site collection from the drop down and hit "Delete" button Confirm the prompt once to delete the host named site collection. Delete host named site collection using PowerShell: To delete a Host named site collection using PowerShell, use Remove-SPSite cmdlet in SharePoint Management Shell. Remove-SPSite -Identity "http://Host-Named-Site-Collection-URL" This removes gi
How to Delete a Host Named Site Collection in SharePoint using PowerShell? How to Delete a Host Named Site Collection in SharePoint using PowerShell? Reviewed by Salaudeen Rajack on 8:22 PM Rating: 5

Style SharePoint 2016 List View Web Part with Custom CSS

6:36 PM    , , , ,
Requirement: Add a custom style to SharePoint 2016's standard list view web part to make it look like a dashboard! By default, SharePoint list view web part looks dull, isn't it? So, lets add some custom CSS to the SharePoint 2016 list view, to make it look like a dashboard! How to add CSS to listview? Simple, Click on Site Settings gear >> Edit Page Insert web part >> Choose "Script Editor" under "Media and Content" Place the below CSS code in it. Save and close! CSS to Brand SharePoint List view: <style type="text/css"> /* List View Header */ .ms-listviewtable > thead > tr > th { background-color: #5B9BD5; } /* List view Header Text color*/ .ms-vh-div, .ms-headerSortTitleLink { color:white!important; font-weight: bold; } /* background color for alternate rows */ .ms-listviewtable > tbody > tr.ms-alternating { background: #DDEBF7 } </style> Here is the output of the branded List view web p
Style SharePoint 2016 List View Web Part with Custom CSS Style SharePoint 2016 List View Web Part with Custom CSS Reviewed by Salaudeen Rajack on 6:36 PM Rating: 5

Find and Replace User ID in SharePoint InfoPath Forms using PowerShell

6:34 PM    , , , ,
Requirement: Replace User IDs in InfoPath Forms. Little background: A particular user's User account changed in Active directory and in SharePoint we ran Move-SPUser cmdlet to accommodate the user's SAM account name change. However, There are many InfoPath form libraries with bunch of InfoPath forms in it - with old user id. Of course, Move-SPUser has no effect on InfoPath Forms! PowerShell script to search and replace user id in InfoPath XML Forms: Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue #Configuration Parameters $SiteCollURL="http://intranet.crescent.com" #Old and New User IDs - CASE SENSITIVE! $OldUserID="<pc:AccountId>i:0#.w|Crescent\JohnA</pc:AccountId>" $NewUserID="<pc:AccountId>i:0#.w|Crescent\JonhAbraham</pc:AccountId>" #Get all webs in the site collection $WebsColl = Get-SPSite $SiteCollURL | Get-SPWeb -Limit All #Iterate through each web foreach($web in $WebsColl) {
Find and Replace User ID in SharePoint InfoPath Forms using PowerShell Find and Replace User ID in SharePoint InfoPath Forms using PowerShell Reviewed by Salaudeen Rajack on 6:34 PM Rating: 5

SharePoint Online: Create a Document Library or List with New Experience UI using PowerShell-CSOM

5:00 PM    , , , ,
The new list and library experience in SharePoint Online improves the user experience by providing many features such as navigation, fast response, mobile UI, easier to use, etc. You can switch between classic & new experiences anytime. Here is the PowerShell-CSOM script to create a document library in SharePoint online with new experience UI. PowerShell Script to create a document library in new experience UI: #Load SharePoint CSOM Assemblies Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" ##Variables for Processing $SiteUrl = "https://crescent.sharepoint.com/Projects" $UserName="salaudeen@crescent.com" $Password ="Password goes here" #Setup Credentials to connect $Credentials = New-Object Microsoft.SharePoint.Cli
SharePoint Online: Create a Document Library or List with New Experience UI using PowerShell-CSOM SharePoint Online: Create a Document Library or List with New Experience UI using PowerShell-CSOM Reviewed by Salaudeen Rajack on 5:00 PM Rating: 5

Fix "Unfortunately, help seems to be broken...There aren't any help collections in the current language for the site you're using." Error in SharePoint 2016

8:26 PM    ,
Problem: The Help Menu (?) in SharePoint 2016 is not working! On clicking the Help menu, it gets the error message: "Unfortunately, help seems to be broken... There aren't any help collections in the current language for the site you're using." Troubleshooting Steps:  Enable External Web-based Help in Privacy Options of SharePoint 2016 Central Admin. Navigate to : http://central-admin-url/_admin/privacy.aspx , and Set "Yes" to "Display Help from external web Sites as specified by each Help collection?" Check the help collection status and install if needed: Open SharePoint 2016 Management Shell, Run: Get-SPHelpCollection It gave nothing. Guess help collection is not installed. Now, Install help collection by running: Install-SPHelpCollection -All wait for few minutes to get them installed (10 min!). Try close and reopen the SharePoint 2016 sites! Now, SharePoint 2016 help should work.
Fix "Unfortunately, help seems to be broken...There aren't any help collections in the current language for the site you're using." Error in SharePoint 2016 Fix "Unfortunately, help seems to be broken...There aren't any help collections in the current language for the site you're using." Error in SharePoint 2016 Reviewed by Salaudeen Rajack on 8:26 PM Rating: 5

Set Global Search Center in SharePoint 2016

11:24 PM    , , , ,
So, you have your search center site ready for SharePoint 2013 (Use this article: Create Enterprise Search Center using PowerShell ) as a next step, you should configure global search center from SharePoint central admin site to set default search center site for all site collections. SharePoint 2016 default search center Once the search center site collection is created, navigate: Central Administration >> Application Management >> Service Applications Click on the Search Service Application >> In Search Administration page, Click on "Set a Search Center URL" link Enter the URL of your Enterprise Search Center Site collection that you created and add "/pages" at the end. In my case, its "http://searchcenter.crescent.com/pages" By this, we've instructed the SharePoint Search Service Application to use this site to submit search queries and view search results. Change Global Search Center URL with PowerShell You can al
Set Global Search Center in SharePoint 2016 Set Global Search Center in SharePoint 2016 Reviewed by Salaudeen Rajack on 11:24 PM Rating: 5

Rich Text Column in SharePoint Document Library

9:22 PM    , , , ,
Problem: Could not add rich text columns to SharePoint document library, Picture Library and other type of Libraries! Little background: End user created in document library with type "Description" column as "Multiple lines of text"and expecting this column to is expecting to have the Rich text capability. so, tried editing the column, and found no option to update the type of this column as rich text! Troubleshooting: When you add a Multiple lines of text field to custom list, announcement, tasks, etc, You'll find the Rich text and Enhanced rich text options. However on document libraries, these options seems missing! It just displays a Text area without any formatting! It seems you can't have a rich text column in a document library with SharePoint 2013. So, How do we create Rich Text column for a Document Library? Solution: While there are many options to get rich text field in SharePoint 2013 document library like: Custom field types, Cont
Rich Text Column in SharePoint Document Library Rich Text Column in SharePoint Document Library Reviewed by Salaudeen Rajack on 9:22 PM Rating: 5

Fix "Get-SPOSite: The Site 'https://tenant.sharepoint.com/' is not properly formed" Error in SharePoint Online

10:55 PM    , ,
Problem: When trying to connect to SharePoint Online site collection, got this error message "Get-SPOSite The Site Tenant-URL is not properly formed." Solution: Solution is simple! Just remove the trailing "/" from the URL! E.g. In my case, instead of " https://crescent.sharepoint.com/sites/marketing/ ", I had to removing the backslash "/ "after marketing. So the right format of my site collection is: " https://crescent.sharepoint.com/sites/marketing "
Fix "Get-SPOSite: The Site 'https://tenant.sharepoint.com/' is not properly formed" Error in SharePoint Online Fix "Get-SPOSite: The Site 'https://tenant.sharepoint.com/' is not properly formed" Error in SharePoint Online Reviewed by Salaudeen Rajack on 10:55 PM Rating: 5

Compare SharePoint List Item Version History using PowerShell

5:04 PM    , , , , ,
Requirement: Compare version history data of SharePoint List items and update a metadata column based on a particular field's value change. Bit background: We've a project tracking list with "Status" column. We wanted to have a insight on when a particular item's status was set to "Rejected". PowerShell to Compare Version History Data and update a Column value: As far solution to the above requirement, lets compare list item versions to capture when a particular item's "status" column was changed to "rejected", and get the created date of the specific version to update "Rejected Date" column of the list item. Lets compare version history in SharePoint using PowerShell: Add-PSSnapin Microsoft.SharePoint.Powershell -ErrorAction SilentlyContinue #Parameters $SiteURL="http://intranet.crescent.com" $ListName = "Projects" #Get web and List $Web = Get-SPWeb $SiteURL $List = $web.Lists.TryGetList(
Compare SharePoint List Item Version History using PowerShell Compare SharePoint List Item Version History using PowerShell Reviewed by Salaudeen Rajack on 5:04 PM Rating: 5

SharePoint Online: Change User Permissions using PowerShell

2:16 PM    , , ,
Requirement:   Edit user permissions in SharePoint Online How to change user permissions  in SharePoint Online? You want to change user's permission on a particular site/library/item in SharePoint online. E.g. Once a particular project has completed and you no longer want the team member to add or edit the project's supporting documents but only view! SharePoint provides a flexible way to manage permission changes to a user or a group. Here is how to update user permissions in SharePoint online. To edit site permissions for a user, Navigate to the SharePoint Online site where the user has access. Click on Settings gear and then site settings. On the Site Settings page, click on "Site Permissions" link under Users and Permissions group. On the site permissions page, Select the check box next to the user which you want to edit permissions. Click on "Edit User Permissions" button from the ribbon. Select-Unselect the relevant permissions check boxes.
SharePoint Online: Change User Permissions using PowerShell SharePoint Online: Change User Permissions using PowerShell Reviewed by Salaudeen Rajack on 2:16 PM Rating: 5

SharePoint Online: Change Group Permissions using PowerShell

12:07 PM    , , , ,
Requirement: SharePoint Online Change Group Permissions How to Update permissions for a SharePoint group? To edit group permissions in SharePoint Online, following these steps: Login to your SharePoint Online site as a administrator >> On the site collection Home page, click on Settings icon >> Click Site settings. On the Site Settings page, under Users and Permissions, click on Site permissions. Select the check box of the group to which you want to change permissions (either to grant additional rights or to revoke existing permissions). In the Modify section of the ribbon, click on "Edit User Permissions" button. On the Edit Permissions page, select/deselect the group permission check boxes according to your requirement. You can simply tick a checkbox next to permission levels such as "Contribute" to grant permission or uncheck to remove permission from the group. Click OK to save permission changes to the group. Now, Lets edit group
SharePoint Online: Change Group Permissions using PowerShell SharePoint Online: Change Group Permissions using PowerShell Reviewed by Salaudeen Rajack on 12:07 PM Rating: 5

SharePoint Online: Remove Site Collection Administrator using PowerShell

11:15 AM    , , ,
Requirement: Remove Site collection Administrator using PowerShell in SharePoint Online. How to remove site collection administrator(s) in SharePoint Online? Site collection administrators in SharePoint Online have full control for the entire site collection, including the root site and all of the sub-sites, lists and libraries in the site collection. To remove a site collection admin, follow these steps: Login to SharePoint Online site as a SharePoint Online Administrator or Site collection Administrator Click on Settings gear and then Site Settings On the site settings page, click on "Site Collection Administrators" link Remove unwanted users from the site collection administrators and click on "OK" to save your changes. SharePoint Online: PowerShell to Remove Site Collection Administrator To remove a user from site collection administrators rights for a particular SharePoint Online site collection, use this PowerShell script in SharePoint Online Ma
SharePoint Online: Remove Site Collection Administrator using PowerShell SharePoint Online: Remove Site Collection Administrator using PowerShell Reviewed by Salaudeen Rajack on 11:15 AM Rating: 5

Fix for SharePoint 2016 Project Templates Missing in Visual Studio 2015

3:13 PM    , ,
Problem: SharePoint Project Templates are missing in Visual Studio 2015! Solution: We need to install "Microsoft Office Developer Tools for Visual Studio 2015" for SharePoint 2016 project templates in Visual Studio 2015. For SharePoint 2010/2013, download and install: Microsoft Office Developer Tools for Visual Studio 2015 For SharePoint 2016, Download and install: Update 2 for Microsoft Office Developer Tools for Visual Studio 2015 Once installed, You should see SharePoint 2016 project templates in Visual Studio 2015!
Fix for SharePoint 2016 Project Templates Missing in Visual Studio 2015 Fix for SharePoint 2016 Project Templates Missing in Visual Studio 2015 Reviewed by Salaudeen Rajack on 3:13 PM Rating: 5

SharePoint Online: Get All Users using PowerShell

10:10 PM    , , , ,
While my another post addresses How to get all users and groups in SharePoint Online , this post aims to get all users of the SharePoint site collection. SharePoint Online: PowerShell Get All Users of the Site Collection #Load SharePoint CSOM Assemblies Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" #Site collection URL $SiteURL="https://crescent.sharepoint.com" #Setup Credentials to connect $Cred = Get-Credential $Cred = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($Cred.UserName,$Cred.Password) #Initialize the context $Ctx = New-Object Microsoft.SharePoint.Client.ClientContext($SiteURL) $Ctx.Credentials = $Credentials #Get all users of the site collection $Users = $ctx.Web.SiteUsers $ctx.Load($Users) $ctx.Execute
SharePoint Online: Get All Users using PowerShell SharePoint Online: Get All Users using PowerShell Reviewed by Salaudeen Rajack on 10:10 PM Rating: 5

SharePoint Online: Create Announcement List using PowerShell

12:27 AM    , ,
Requirement: Create Announcement List in SharePoint Online. How to Create Announcement list in SharePoint Online? Here is how to create announcement list in SharePoint Online: Navigate to the SharePoint Online Site >> Click on Settings Gear >> Select "Add an App"  From the Apps page, Click on "Announcements" Tile Provide the name to your announcement list and click on Create.  This creates announcement list in SharePoint Online. SharePoint Online: PowerShell to Create Announcement List Here is the PowerShell CSOM script to create announcement list in SharePoint Online. #Load SharePoint CSOM Assemblies Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" #Set Parameter Values $SiteURL="https://crescent.sh
SharePoint Online: Create Announcement List using PowerShell SharePoint Online: Create Announcement List using PowerShell Reviewed by Salaudeen Rajack on 12:27 AM Rating: 5
Powered by Blogger.