kwizcom banner advertisement

SharePoint 2013 People Picker Error: Sorry, we're having trouble reaching the server

July 19, 2016    , , ,
Problem: While trying to add a new user to SharePoint group, SharePoint 2013 People Picker displayed the error: "Sorry, we’re having trouble reaching the server" Troubleshooting: The server may not have enough resources such as Memory to process the function without timing out. Try adding more memory to your SharePoint 2013 web front end server. If "HTTP Activation" feature is not enabled, You may face this issue. Loging to your WFE >> Go to Server Manager >> Add ROles and Features >> Select HTTP Activation and install. Try IIS reset once from all front end servers. Check Alternate Access Mappings settings for the web application. Try deactivating "Limited-access user permission lockdown mode" Feature from site collection features (This worked in one of the external facing site). Make sure the domain account you are using for a SharePoint service account has the necessary permissions to read domain accounts, If you have one-way
SharePoint 2013 People Picker Error: Sorry, we're having trouble reaching the server SharePoint 2013 People Picker Error: Sorry, we're having trouble reaching the server Reviewed by Salaudeen Rajack on July 19, 2016 Rating: 5

Approval Workflow Missing in SharePoint 2013?

July 19, 2016    , , , ,
Problem: SharePoint approval workflow not available! This happened after migrating from SharePoint 2013 to SharePoint 2016! Solution: This is due to workflow feature not activated for the site collection. To resolve this issue, Just Activate "Workflows" feature for the site collection. Steps in detail: Login to your the target site collection as Site collection administrator Click on Site settings gear >> Click on "Site collection Features" and click activate button next to "Workflows" Feature. That's it! This brings approval workflows back!and all other out of the box workflows like collect feedback, Collect signatures, etc PowerShell Script to activate Workflows feature for all site collections: You can use PowerShell to activate workflow feature on all site collections, which resolves approval workflow template missing issue. Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue #Workflow Feature ID $Fea
Approval Workflow Missing in SharePoint 2013? Approval Workflow Missing in SharePoint 2013? Reviewed by Salaudeen Rajack on July 19, 2016 Rating: 5

"Object reference not set to an instance of an object" Error on Creating Site Collection

July 17, 2016    , , , , ,
Problem: On creating a new Site collection in SharePoint 2016, got this error message "Object reference not set to an instance of an object"! On Checking the ULS logs, it revealed detailed error as: System.NullReferenceException: Object reference not set to an instance of an object.    at Microsoft.SharePoint.Administration.SPContentDatabaseCollection.FindBestContentDatabaseForSiteCreation(IEnumerable`1 contentDatabases, Guid siteIdToAvoid, Guid webIdToAvoid, SPContentDatabase database, SPContentDatabase databaseTheSiteWillBeDeletedFrom)     at Microsoft.SharePoint.Administration.SPContentDatabaseCollection.FindBestContentDatabaseForSiteCreation(SPSiteCreationParameters siteCreationParameters, Guid siteIdToAvoid, Guid webIdToAvoid, SPContentDatabase database, SPContentDatabase databaseTheSiteWillBeDeletedFrom)  Root cause: This is due to a broken content database associated with the particular web application. Solution: Remove the invalid content database associat
"Object reference not set to an instance of an object" Error on Creating Site Collection "Object reference not set to an instance of an object" Error on Creating Site Collection Reviewed by Salaudeen Rajack on July 17, 2016 Rating: 5

How to Change Server MinRole After Installing SharePoint 2016?

July 15, 2016    ,
One of the exciting new feature in SharePoint 2016 is Minrole. It defines server's role in the SharePoint 2016 farm, and makes sure all necessary services are running in that server! SharePoint 2016 comes with below Minroles: Single Server Farm Front End Application Distributed Cache Search Custom Change MinRole in  SharePoint 2016: Server roles are selected during the installation of SharePoint 2016 or when you join a server to your farm. Based on the Server role selected, certain services will get activated on selected servers. What if you want to change the server role after SharePoint has been provisioned?  With the introduction of MinRoles in SharePoint 2016, its fairly straightforward to switch server roles between anyone among them: Go to SharePoint 2016 Central Administration >> System Settings  Click on Convert server role in this farm under Servers Now, It takes you to the "Role conversion" page, where you will see the options for all Mi
How to Change Server MinRole After Installing SharePoint 2016? How to Change Server MinRole After Installing SharePoint 2016? Reviewed by Salaudeen Rajack on July 15, 2016 Rating: 5

Add Alternate Access Mapping in SharePoint using PowerShell

July 10, 2016    , , , ,
Alternate Access Mappings helps to expose a SharePoint web application into different URLs in scenarios such as publishing, load balancing, reverse proxy, etc. Each web application can have up to five different URLs through alternate access mapping, with "Default" zone as mandatory and other optional zones. How to Configure Alternate Access Mapping in SharePoint Central Administration? Follow these steps to set alternate access mapping in SharePoint. Go to the SharePoint 2016 Central Administration Site, Click on System Settings from Left navigation menu. From the "System setting" page, click on "Configure Alternate Access Mappings" link under in the "Farm Management" group. You will be presented with the Alternate Access Mappings page. Select your desired web application to get the AAM settings for the specific web application. Here, The public URL is the address of the Web Application, where the traffic will be routed to.  Internal
Add Alternate Access Mapping in SharePoint using PowerShell Add Alternate Access Mapping in SharePoint using PowerShell Reviewed by Salaudeen Rajack on July 10, 2016 Rating: 5

How to Redirect in SharePoint using Alternate Access Mapping (AAM)?

July 09, 2016    , , , ,
Internal URL in SharePoint Alternate Access Mapping is used to redirect from one URL to another. Say for E.g. If you want to redirect or transform from "http://portal.crescent.com" into "http://intranet.crescent.com" use this feature! So, you enter "http://portal.crescent.com" in the address bar of your browser, and it takes you to "http://intranet.crescent.com"! How to Add URL Redirection using Alternate Access Mapping? Here is how to achieve web application redirect using AAM. Go to SharePoint 2016 Central Administration >> Click on "System Settings" >> Configure alternate access mappings Select your web application from the drop down list. Click on "Add Internal URLs" link on the toolbar Enter the desired URL and select the zone from the list, and hit save to commit your changes. In my case, I wanted to redirect from "http://portal.crescent.com" to "http://intranet.crescent.com"
How to Redirect in SharePoint using Alternate Access Mapping (AAM)? How to Redirect in SharePoint using Alternate Access Mapping (AAM)? Reviewed by Salaudeen Rajack on July 09, 2016 Rating: 5

Export SharePoint Configuration Inventory to XML using PowerShell

July 09, 2016    , ,
Requirement: We had to compare certain SharePoint inventories between different environment, such as web applications, content databases, etc. So had to extract and export SharePoint configurations into XML file. PowerShell Script to Export Web Applications List into XML SharePoint export data to XML Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue #Create new XML File [System.XML.XMLDocument]$XMLDocument=New-Object System.XML.XMLDocument #Add XML Declaration $Declaration = $XMLDocument.CreateXmlDeclaration("1.0","UTF-8",$null) $XMLDocument.AppendChild($Declaration) #Create Root Node [System.XML.XMLElement]$XMLRoot=$XMLDocument.CreateElement("WebApplications") #Get all web applications and loop through $WebApps = Get-SPWebApplication ForEach($webApp in $WebApps) { $WebAppElement = $XMLDocument.CreateElement("WebApplication") $WebAppElement.SetAttribute("Name", $WebApp.DisplayName) $WebAppEl
Export SharePoint Configuration Inventory to XML using PowerShell Export SharePoint Configuration Inventory to XML using PowerShell Reviewed by Salaudeen Rajack on July 09, 2016 Rating: 5

How to Configure Secure Store Service Application in SharePoint 2016 - Step by Step

July 08, 2016    , , , , ,
Secure store service enables you to securely store credentials required for connecting to external systems and associating those credentials to a specific identity or group of identities.  Secure Store Service solves the problem of having to sign into many applications and entering different usernames and passwords. This is managed through the SharePoint central administration and keeps the credentials stored secure and safe within a secured storage. Secure Store Service was introduced as a replacement to Single Sign-On in MOSS 2007. Purpose of secure store service in SharePoint 2013 Primary purpose of Secure Store Service is to maintain credentials for target applications on external systems. When we connect to external data sources, it needs to pass the user credentials like user name and password. These type of scenarios we can solve with configure an unattended service account for the external data access. E.g. When you want to use external data, such as data from your other
How to Configure Secure Store Service Application in SharePoint 2016 - Step by Step How to Configure Secure Store Service Application in SharePoint 2016 - Step by Step Reviewed by Salaudeen Rajack on July 08, 2016 Rating: 5

How to Get SharePoint Farm ID using PowerShell?

July 06, 2016    , , , , ,
Requirement:   Get SharePoint Farm ID to apply a third party product license to our SharePoint 2016 environment. How to Get SharePoint Farm ID? SharePoint farm id is a GUID which is uniquely identifies each farm. To get the Farm Id in SharePoint, use this handy PowerShell code. (Get-SPFarm).Id Just open SharePoint 2016 Management Shell and paste this cmdlet in it to find the farm id of the SharePoint Farm. This gets your the SharePoint farm id. get SharePoint farm guid powershell You'll get a GUID similar to above screenshot. Although you can query SharePoint Farm config database to get this information, its strongly recommended to use PowerShell, instead of accessing SharePoint database. To get the GUID of SharePoint Web Application, Site Collection, Site, List or Library,  Fields, View - Refer: How to Find the GUIDs of SharePoint Web Application, Site Collection, Site, List, View and Columns
How to Get SharePoint Farm ID using PowerShell? How to Get SharePoint Farm ID using PowerShell? Reviewed by Salaudeen Rajack on July 06, 2016 Rating: 5

How to Disable SharePoint Designer 2013 using PowerShell?

July 04, 2016    , , , , ,
SharePoint Designer 2013 is a great free tool from Microsoft to customize SharePoint sites and create workflows. Why should we disable SharePoint designer? Well, In some cases site owners and designers may damage SharePoint with this Powerful utility, and I've seen SharePoint designer become SharePoint destroyer! So, to prevent from irreversible damages to SharePoint, we decided to disable SharePoint designer. Since there are no upgrade to SharePoint Designer, SharePoint Designer 2013 continue to support creation and modification of SharePoint sites, pages and workflows for SharePoint 2016 and SharePoint Online environments. How to disable SharePoint designer in SharePoint 2013 or SharePoint 2016? You can disable Microsoft SharePoint Designer at Web application and Site collection levels. Disable SharePoint designer at central administration To disable SharePoint designer at central administration for a web application, follow these steps: Go to SharePoint 2016 central Ad
How to Disable SharePoint Designer 2013 using PowerShell? How to Disable SharePoint Designer 2013 using PowerShell? Reviewed by Salaudeen Rajack on July 04, 2016 Rating: 5

SharePoint 2016 Automatic Index Feature

July 04, 2016    , , ,
SharePoint 2016 introduces a new feature to automatically create indexes on list fields, Where the list has more items than half of the list threshold value. E.g. If the list threshold is set to 5000 items, and your list has a view with more than 2500 items in it, then the automatic indexing process starts automatically by a daily timer job "Large list column index management Timer Job". How to Enable Automatic Index on SharePoint List? This behavior is controlled from Advanced Settings page of the list. If you head on to List Settings >> Advanced settings >> under "Automatic Index Management" section, you'll find an option to turn ON or OFF Automatic Index Management option. By default for all list and library the property is enabled. This setting determines whether this list should automatically start indexing its fields when its item count reaches half of the threshold. PowerShell to Enable or Disable Automatic Indexing: Using PowerShell,
SharePoint 2016 Automatic Index Feature SharePoint 2016 Automatic Index Feature Reviewed by Salaudeen Rajack on July 04, 2016 Rating: 5

Add-Remove Permissions to SharePoint Group or User with PowerShell

July 04, 2016    , , , ,
Updating the permission level of a SharePoint group or user is fairly straightforward. To add or remove permissions levels of the SharePoint group, Navigate to: Site Settings >> Site permissions Select the person or group you want to change >> Click on "Edit User Permissions" ribbon button Select or deselect any relevant permission levels required Click "OK" to save changes. PowerShell script to update Permissions of a SharePoint group or User: Here is my PowerShell script to change permissions of a SharePoint group: Say, We want to remove "Edit" permission level and add "Contribute" to Members group of the SharePoint site. #assign permission to sharepoint group powershell Add-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue #Configuration parameters $SiteURL="http://intranet.crescent.com" $GroupName="Crescent Intranet Members" $PermissionToAdd="Contribute"
Add-Remove Permissions to SharePoint Group or User with PowerShell Add-Remove Permissions to SharePoint Group or User with PowerShell Reviewed by Salaudeen Rajack on July 04, 2016 Rating: 5

SharePoint Online: Search Recycle bin using PowerShell

July 02, 2016    , , ,
Requirement: Search SharePoint online recycle bin for all files deleted by a particular user To find all items deleted by a particular user, Navigate to your SharePoint online site, Click on Site Settings Gear >> Choose "Site Settings" From the Site settings page, Click on "Recycle bin" from Site Collection Administration. This page gives you all deleted items in the site collection along with deleted by user data. PowerShell script to search SharePoint online Recycle bin: #Load SharePoint Online 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/sites/Sales/" $AdminUserName="Salaudeen@crescent.com" $DeletedByUserAcc
SharePoint Online: Search Recycle bin using PowerShell SharePoint Online: Search Recycle bin using PowerShell Reviewed by Salaudeen Rajack on July 02, 2016 Rating: 5

SharePoint Online: Restore a document from the recycle bin using PowerShell

July 02, 2016    , , , ,
Task: Recover a deleted document from the recycle bin in SharePoint online. How to restore from recycle bin in SharePoint online? Login to your SharePoint online site and click "Site Contents" from either site settings gear or from left navigation. Click on "Recycle bin" link from the top of the page. Select the document(s) you would like to restore and then click "Restore Selection". Confirm restore by clicking "OK" button. The files you selected is available in the original location from where it was deleted. SharePoint online: restore from recycle bin using PowerShell Now, lets use PowerShell to restore all excel files from recycle bin.  #Load SharePoint Online 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.C
SharePoint Online: Restore a document from the recycle bin using PowerShell SharePoint Online: Restore a document from the recycle bin using PowerShell Reviewed by Salaudeen Rajack on July 02, 2016 Rating: 5
Powered by Blogger.