A few years ago I wrote “Build your SharePoint 2013 development machine on Windows Server 2012” series, I mainly work in the cloud now, but as the blogs was so popular, I thought I would create a new series for the newer version of SharePoint.
You can access other parts of this post below.
- Part 1 – Introduction
- Part 2 – Setting up and configuring Host Computer using Hyper V Part 2 – Setting up and configuring Host Computer using Hyper V
-
- Installing Windows Server 2012 R2
- Setting up the Menu
- Syspreping
- Installing Windows Server 2012 R2
- Part 4 – Installing Active Directory
- Part 5 – Creating Certificate Authority
- Part 6 – Creating SQL & SharePoint Machine
- Part 7 – Adding AD Accounts
-
- Installing SQL 2016
- Installing SQL 2016
- Part 9 – Installing SharePoint 2016
- Part 10 – Configuring Central Administration for SSL
- Part 11- Configuring Services
- Part 12 – Configuring Hosting Apps and HNSC
- Part 13 – Configuring My Sites and User Profiles – (This post)
- Part 14 – Enterprise Search Centre
-
- Installing SharePoint Designer
- Installing SharePoint Designer
-
- Installing Visual Studio
- Cleaning up Hyper V Checkpoints
- Installing Visual Studio
My Sites
We are now going to create a new Web Application for our My Site site. However, we are not going to create a HNSC like we did for the other sites, here we are going to create path-based site collection.
Creating a Web Application for MySites
- From the start menu, type SharePoint 2016 Central Administration and open the site.
- Select Application Management > Manage Web Applications.
- In the ribbon click the New icon
-
In the Create New Web Application dialog leave Create a new IIS web site selected and set up the following
- Name: SharePoint My Site Host – 22222,
- Port:22222
- Host Header: <Leave Blank>
- Path: <Leave as default>
- Allow Anonymous: No
- Use Secure Sockets Layer (SSL): Yes
- Claims authentication Types: Leave as is, enabled, integrated, NTLM
- Application Pool: MySites – 22222
- Select Security Account: CFCODE2016\SP_Content
- Database Name: SP_MySitesDB
- Click OK.
- After Web Application created, click OK.
- After you have created your Web Application, you should be returned to the Manage Web Application page. Select SharePoint My Site Host by clicking on it. This will highlight the line and items in the ribbon will become available to you.
- In the ribbon click the button Managed Paths
- In the Define Managed Paths dialog, tick Sites. Then click the link Delete Selected Paths.
- Now add a new path called personal and make it Wildcard inclusion
- Click OK.
IIS Bindings and AAMs.
- . In Start type IIS and open IIS Manager
- Navigate to SharePoint My Site Host -22222 and then on the right hand panel, click Bindings…
- On the Bindings dialog, select the bindings for port 22222 and click Edit
- Leave the host name blank, but select your certificate. Click Ok
- Click Add
- In the Add Site Binding page, select https from the Type dropdown, leave the IP address as All Unassigned, the Port should say 443. Ensure you tick Require Server Name Indication.
Enter the Host name as my.cfcode2016.com then select your certificate. Click OK
- Open SharePoint 2016 Central Administration and select Application Management then Configure alternative access mappings.
- On the right of the screen, change the Alternate Access Mapping Collection to SharePoint My Site Host -22222
- Click on the only entry https://cfsp2016:22222 and edit it to say https://my.cfcode2016.com, click OK.
- Click Add Internal URLs enter https://cfsp2016:22222 click Save.
- Click Add Internal URLs enter https://cfsp2016.cfcode2016.com:22222 click Save.
Create My Site Hub
- From Central Administration landing page, select Application Management then select Create site collections
-
Ensure the Web Application is https://my.cfcode2016.com then enter the following information:
- Title: My Site Hub
- URL: /
- Template Selection: Enterprise > My Site Host
- Primary Site Collection Admin: SP_Setup
- Click OK.
- Once site is created, just click OK.
Configuring SP_UserProfile account Active Directory Access
- On the Domain controller, log in as Domain Administrator
- Using Run, type adsiedit.msc
- Right click ADSI Edit and then select Connect To.
- On the Connection Settings dialog just click OK
- Expand the Default naming context.
- Right click on the folder underneath Default naming context and select Properties
- Select the Security tab, and add SP_UserProfile, giving the account “Read” and “Replicating Directory Changes” permissions.
- Click OK.
User Profile Service Application
- Back on the SharePoint box. From Central Administration landing page, select Application Management then select Manage Service applications
-
Click New in the ribbon, and select User Profile Service Application put the following information (leave as, if I haven’t mentioned it).
- Name: User Profile Service Application
- Application Pool: Create New – SharePoint User Profile Service Application
- Account: CFCODE2016\SP_UserProfile – Will need to register this account
- Profile Database Name: SP_ProfileDB
- Social Tagging Database: SP_SocialDB
- My Site Host url: https://my.cfcode2016.com
- My Site Managed Path: /personal
- Click Create, you will get a success message if created correctly.
- Back on the Manage Service Application page click the User Profile Service Application. (You might need to refresh the page first)
Configuring User Profile Service
- From within the Manage Profile Service screen underneath Synchronization click Configure Synchronization Connections
- Click Create New Connection
-
Enter the following information:
- Connection Name: CFCode2016 AD import
- Type: Active Directory Import
-
Connection Settings:
- FQDN: cfcode2016.com
- Account Name: CFCODE2016\SP_UserProfile
- Password: Pa55w0rd
- Port: 636 use SSL and filter out disabled user.
- Click Populate Containers
- Select Managed Service Accounts and Users.
- Click OK
- Click back on Application Management > Manage Service Applications > SharePoint User Profile Service Application to get back to Manage Profile Service screen.
- Click Start Profile Synchronization.
- Select Full Synchronization, then click OK.
After this has completed you will see the number of User Profiles gone up from 0 to a higher number (depending on how many accounts you have within your AD, apparently mine is at 12)
If I navigate to https://my.cfcode2012.com, after a bit of processing, I am able to see my One Drive for Business. Or if I navigate to https://my.cfcode2012.com/person.aspx I can see my profile information.
User Profile has changed for SharePoint 2016
The configuration I have set up above was pretty similar to what you would do in SharePoint 2013. However, things like user profile pictures don’t get imported. With SharePoint 2013 this was taken care of with some headbanging against a wall and using the FIM service. This has been removed in SharePoint 2016, and things don’t seem to be any easier. You now need to use the Microsoft Identity Manager Series, I won’t be configuring any of that here, but if you are interesting in learning about this please check out the following links
https://technet.microsoft.com/EN-US/library/mt627723(v=office.16).aspx
My next blog post I will talk about setting up SharePoint Search. Time to check point your machines.