MFA (Multi Factor Authentication) Authentication using PowerShell in SharePoint online

Now a day’s authentication is the most important factor in cloud environment. Many of the organizations are utilizing SharePoint Online as their Content Management System, it is basic that the delicate information does not slip into false hands. Therefore, Multi-Factor Authentication for Office 365 becomes possibly the most important factor. Multi-factor authentication, is a two-step process. In addition to passwords, users are expected to acknowledge a phone call/ text message to complete the verification process. One can enable Multi-Factor Authentication

Continue Reading

Set List Properties By WebRequest

There are many ways in CSOM to set the list properties of a SharePoint site but there are a few properties which we can’t set directly from list object. In this blog, I will explain how to set those properties using WebRequest. There are many ways in CSOM to set the list properties of a SharePoint site. But there are a few properties which we can’t set directly from the list object. In this blog, I will explain how to

Continue Reading

How to create structural navigation nodes both in quick launch and top navigation node

Sharepoint customizes navigation feature so that user can navigate to different location and access them quickly.You can add, edit, or remove links on the left-hand menu (Quick Launch menu), the top menu (Top Navigation Node) through edit links. In this blog we are going to create structural navigation node that is root node having subnodes in both top navigation and quick launch. After code executed, you can see root navigation with their respective subnodes created successfully. This solution is brought

Continue Reading

Identify The Modern Pages And Copy Them To Another Site Collection

In this blog, I am going to perform two actions – Identify if a page is a modern page or not. Migrate or copy that modern page (including its content) to another site collection or site (destination location) I am going to accomplish these tasks by using CSOM (Client Object Model). After identifying the modern page, I will copy the modern page into another site collection (destination location) and then, will migrate all the page contents of this modern page

Continue Reading

Wildcard search of Users using CSOM in SharePoint

In this blog, I will explain how to find users using ClientPeoplePickerSearchUser class. There are many ways in CSOM to get the users from SharePoint site or web but I did not find any proper way to perform wildcard search of users from SharePoint site using CSOM. For e.g lets, I want to find all users present in site collection where the first name starts with “John” or last name starts with “Patt”. This below-mentioned code sample will help us

Continue Reading

Add and Remove Site Columns from Site Content Type

In this blog post, I am going to add and remove site columns in existing site content type. Content types empower you to arrange, oversee, and handle content reliably across your sites. To view all content types used in the site collection. Open SharePoint site Navigate to site settings ->Under Web designer galleries -> Click Site content type or navigate to this url “<Site Url>+ /_layouts/15/mngctype.aspx” We can view all site contents type. To view details of the content type

Continue Reading

How to Create Web Part Page in SharePoint 2013/2016/2019 Programmatically using CSOM?

Basically, CSOM has not exposed any inbuilt functions which will help us in creating web part page template in SharePoint 2013/2016/2019. By using CSOM functions we can create wiki pages, modern pages and also publishing page but we cannot create web part pages. In this blog post I am going to use “Web Browser Control” to achieve this task. By using “Web Browser Control” we can create webpart page in destination page Library. We can create web part page by

Continue Reading

Change User Regional Setting to “Always follow Web” using PowerShell

I have written this PowerShell script which is related to user regional setting. This below-mentioned code block will help us to change user regional setting to “always follow web” regional setting. This solution is brought to you by our SharePoint professionals. Softree Consulting employs SharePoint consultants; we are a technology services provider with the aim to help companies achieve exceptional performance through SharePoint. Our dedicated team of SharePoint consultants has the right bent of mind to understand and execute customer requirements.

Continue Reading

How to Inject your Custom JavaScript in Modern Pages on Page Load

This SPFx functionality helps to inject your custom JavaScript file in your modern site pages on page load. This solution is brought to you by our SharePoint professionals. Softree Consulting employs SharePoint consultants; we are a technology services provider with the aim to help companies achieve exceptional performance through SharePoint. Our dedicated team of SharePoint consultants has the right bent of mind to understand and execute customer requirements. Be it SPFx or SharePoint add-in developments, SharePoint 2019 developments, web part developments, migrating

Continue Reading

How to Set Permanent Redirect in SharePoint Online for a Clean User Experience?

In case you ever feel the requirement of setting stable redirects in SharePoint Online, you can consider different ways to do that. However, for a clean user experience we have one solution that you might like. Whether you have a marketing site collection or a home site collection, redirects may look incredibly simple, but in some cases it is not. Such as: if you want to make sure when users steer to the marketing site collection from the home site

Continue Reading

Site Footer