UPDATE: SharePoint 2016 development machine
I am doing a collection of blog posts, you can access the other parts of this post below.
- Part 1 – Introduction
- Part 2 – Setting up and configuring Host Computer using Hyper V and a Wireless Network
-
- Installing Windows Server 2012
- Installing SQL 2012
- Installing Office 2013
- Installing Visual Studio
- Setting up the Menu
- Syspreping
- Part 4 – Installing Active Directory
- Part 5 – Configuring SQL 2012 ready for SharePoint 2013 and Kerberos.
- Part 6 – Installing SharePoint 2013
- Part 7 – Configuring Hosting Apps
- Part 8 – Configuring My Sites and User Profiles
- Part 9 – Configuring Workflow
- Part 10 – Setting up Visual Studio
MySites
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 dev.cannonfodder.local, here we are going to create path-based site collections. From the Microsoft Technet article (which is for SP2010, so it might be different now, but couldn’t see anything saying something different) that there is a guideline for mysite sites.
- You must use the self-service site creation feature that is included with SharePoint Server to create path-based site collections. MySite should be created as a path-based site or a custom solution should be provided.
Creating a Web Application for MySites
- From the start menu, type 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 type the name as SharePoint My Site Host, leave the port as 80, and put my.cannonfodder.local in the host header.
- For simplicity in finding the Web Applications, I put the path on a different drive. D:\VirtualDirectory\MySite
- Under Claims Authentication Types set the Integrated Windows Authentication to Negotiate (Kerberos)
- Under Application Pool, select Use existing application pool and select SPContent App Pool
- Under Database Name and Authentication set the Database Name to SP_DEV_MySites.
- Scroll down to the bottom and click OK.
- Once the Web Application of My Site Host has been setup, click the link to Create
Site Collection
Creating a Site Collection for MySites.
- On the Create Site Collection put the Title as My Site Host
- Set the URL as /
- The Template section as My Site Host, which can be found in the Enterprise tab
- Set the Primary Site Collection Administrator as cannonfodder\administrator
- Scroll down to the bottom and click OK.
Configure the Web Application to Host My Sites.
- After you have created your site collection, 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.
- Add another new path called my and make it Explicit inclusion. Then click OK.
- With SharePoint My Site Host still selected click the icon on the ribbon called Self-Service Site Creation.
- On the Self-Service Site Creation page, under Site Collections, select the on radio button. Click OK.
Add my.cannonfodder.local to DNS
- From the start menu, type DNS and open the application.
- Expand Forward Lookup Zones,
right click cannonfodder.local and select New Host (A or AAAA)…
- For Name put my. Put the IP Address as 192.168.139.99, click Add Host. Click OK to the DNS message box stating the host record wad successfully created. Close DNS Manager.
Create Kerberos SPN for my.cannonfodder.local
- From the start menu, type cmd and open Command Prompt.
- Type setspn –S HTTP/my.cannonfodder.local cannonfodder\SP_Content
- While here also flush dns by typing ipconfig /flushdns
-
Close Command Prompt window.
Configuring the User Profile Service Application My Site settings.
- In Central Administration left hand menu, select Application Management.
- Under Service Applications select Manage Service Applications.
- Find the User Profile Service Application in the list and click on it.
- Under the My Site Settings section click the Setup My Sites link.
- On the My Site Settings page, set the My Site Host to http://my.cannonfodder.local
- Under the heading Personal Site Location set the value to personal. Now click OK.
Configuring SharePoint User Profile Service Application with Active Directory.
There is a new way to import users into the user profile from Active Directory in SharePoint 2013. It is called Active Directory Import. It is a faster than the SharePoint 2010 way of using the FIM approach. Spencer Harbar has written a good blog about it here.
- From the start menu, type Central Administration and open.
- Under Application Management click Manage Service Applications.
- Find the User Profile Service Application and click the link.
- Under Synchronization, click Configure Synchronization Settings.
- On the Configure Synchronization Settings page, under Synchronization select Use SharePoint Active Directory Import and click OK.
- Back on the User Profile Service Application page, under Synchronization, select Configure Synchronization Connections.
- On the Configure Synchronization page, select Create New Connection.
-
Put the following details in the Add New Synchronization Connection page.
- Connection Name: Cannonfodder AD
- Type: Active Directory import
-
Connection Settings:
- Fully Qualified Domain Name: cannonfodder.local
- Authentication Provider Type: Windows Authentication
- Account Name: cannonfodder\administrator
- Password: Pa55w0rd
- Confirm Password: Pa55w0rd
- Under Containers click Populate Containers.
- After it loads, expand CANNONFODDER and then tick Users. Click OK.
- You will now be returned to the Synchronization Connection Page. You will see your new connection display.
- Repeat Steps 2 + 3 to navigate back to User Profile Service Application.
- Take note that on the right hand side of the screen under Profiles it states that there are 2 User Profiles.
- Under Synchronization, click Start Profile Synchronization.
- Select Start Full Synchronization and click OK.
- Refresh the Manage Profile Service: User Profile Service Application page, and you should see more User Profiles.