Thursday 20 October 2016

SharePoint : URL list

We all are working, enjoying, exploring and learning something new everyday with SharePoint.

There may other articles related to it. Just want to throw my cap in the ring.

This will help you when your  site settings is missing and no where to find in the GUI . There are few URL which can save your day.

You just have to add URL at the end of the site below screenshot for your reference.




So lets get starts :)



 
Site Settings /_layouts/settings.aspx
Site Contents /_layouts/viewlsts.aspx
User Alerts /_layouts/sitesubs.aspx
Workflows /layouts/wrkmng.aspx
Gallery /catalogs/solutions
Site content and structure Manager /_layouts/sitemanager.aspx
site content types /_layouts/mngctype.aspx
people and groups /_layouts/people.aspx
Manager User permissions /_layouts/users.apsx
Site column gallery /_layouts/mngfield.aspx
Recycle Bin /_layouts/adminrecyclebin.aspx
Master Page Gallery /_catalogs/masterpage
Web part gallery /_catalogs/wp
Create /_layouts/create.aspx
List Template Gallery /_catalogs/It
Manage Site collection Administrators /_layouts/15/mngsiteadmin.aspx
Manage site and Workspace /_layouts/mngsubwebs.aspx

 Let me know if i missed on something will update that .
 
Happy SharePointing :)

 

Tuesday 18 October 2016

SharePoint 2016 : Create Web Application and Site Collection Using PowerShell.

This post will help you on how to create Web Application and Site Collection using PowerShell.

i am going to create Web Application as  http:Sharepoint with port 32789.

Before we create lets see the web application list i have in my farm.





So lets get started.

Creating Web Application

Open SharePoint Management shell or Windows Powershell ISE run it as administrator.

Run below PowerShell Script

Add-PSSnapin "Microsoft.SharePoint.PowerShell"
$authentication = New-SPAuthenticationProvider -UseWindowsIntegratedAuthentication -DisableKerberos

New-SPWebApplication -Name "SharePoint2016" -Port 32789 -ApplicationPool
"SharePoint2016" -ApplicationPoolAccount (Get-SPManagedAccount "Sutta\Administrator")
-AuthenticationMethod NTLM -AuthenticationProvider $authentication


It will take some time to create and once successful you will see the below screen.

Now, go and check web application list again.


New Web application has been created and added to the list.


Creating Site Collection

Run below PowerShell command  to create a site collection

New-SPSite http://sharepoint:32789/Sites/SP -OwnerAlias "Sutta\Administrator" -Name "Root" -Template "STS#0"

It will take some time to create and once successful you will see the below screen.





Now, we again check the site collection list.


Site collection has been created.


Happy SharePointing :)
 



Friday 14 October 2016

Configure User Profile Service Application in SharePoint 2016

This post will help you to configure the User Profile Service application

User Profile Service application require MMS application in running mode.please make sure you configure MMS before you start with User profile service.

Note : SharePoint 2016 has deprecated Forefront Identity Manager (FIM) which we used in SharePoint 2013.
Microsoft has replaced FIM with Microsoft Identity Manger (MIM). You have to install and configure MIM only if you required sync data 2 way from and to AD.

This UPA which we are creating will do only Active Directory Import.

So lets get started :)

1. Open Central Administration--> Application Management--> Manage Service Application
2. Click New and Select User Profile service Application.

3. Enter a name for your UPS application and select create new application pool give a name to it.Also give name to your database accordingly.Click Create


5. It will take few minutes to configure your User Profile Service application.








 6. Once it is done,Click OK .You can see it listed on Manage Service Application page.



 7. Before you create a connection in UPS application.Make sure the account which you are using should have Replicated Directory change and read/write permission on the domain.

8.Open the User profile Service application manage page.Click on Configure Synchronization connections.
9. Click on Create New Connection.

10. Give name to your connection, then enter your forest name,give the account details you are using for sync purpose and click on populate container.



11. Select the OU which you want to sync in SharePoint and click OK.

12. Connection created, Now go to home page on User Profile service. We can see we have zero profiles.

13. Click on Start profile Synchronization. Select the Full sync for the first time after that you have to do incremental sync and click OK.

 15 Wait for profile synchronization status to become IDLE and after you can see your profile got imported to SharePoint




 We are done with User Profile in SharePoint. As mentioned above if you want 2 way sync then MIM need to be install. We will cover installation and configuration of MIM in different blog.

Hope it helps. Happy SharePointing :)


Monday 3 October 2016

Configuring Forms Based Authentication in SharePoint 2016 – Part 4 – Editing the Web.Config Files

This article will help you out on Configuring Forms based authentication (FBA) in SharePoint 2016 it is very similar to SharePoint 2013.

I have broken down steps in  4 articles.

1. Configuring SharePoint

2. Creating Membership Database

3. Adding users to Membership Database

4. Editing the web.config files.

 So lets get started :)

Part- 4 Editing the Web.Config Files

We have reached the last step to configure and then test FBA.

 We will edit the web.config of FBA based web application and make changes to People Picker Wild Card section.

  • In IIS expand the site and Right click on FBA site then click on Explore.



  • Edit the web config. Search for People Picker Wild Cards and make the below changes. Save the Web config.


  • Now,we have to test our FBA configuration. First i will login with window authentication and give access to FBA users and after that we will try FBA authentication.


  • After log in. Go to Site settings and click on People and groups.




  • Click on New and Search for the .net users.
  • Grant him the permissions and Sign out from the site
  • From Sign In drop down select Form Authentication.
Now, Enter the Username and Password.

You have successfully configured FBA in SharePoint 2016.

Happy SharePointing :)




Configuring Forms Based Authentication in SharePoint 2016 – Part 3 – Adding users to the Membership Database

This article will help you out on Configuring Forms based authentication (FBA) in SharePoint 2016 it is very similar to SharePoint 2013.

I have broken down steps in  4 articles.

1. Configuring SharePoint

2. Creating Membership Database

3. Adding users to Membership Database

4. Editing the web.config files.

 So lets get started :)

Part-3 Adding users to Membership Database

  •  Open IIS manager
  • Select IIS Server Name on the left navigation
    • Click on the “Connection Strings”


  •  Click on ADD.
  • Enter name of Connection String
  • Enter SQL Server Instance Name
  • Enter Database Name
  • Verify the Connection String and make sure it is correctly build up




  • Once done we can see the connection string in IIS manager.
  • Now Click on Providers.





  • Click on Add.
  • Select Type as “SqlRoleProvider”
  • Enter Name
  • Enter Connection String Name 
  • Enter Application Name as “/”. Click OK






  • Select Feature “.Net Users” from the drop down and Click Add





  • On the “Add Provider” Screen and Select Type as “SqlMembershipProvider”
  • Enter Name as appropriate
  • Configure behavior of the Membership Provider
  • Choose Connection String Name we created earlier under Data Section
  • Application Name under General Section will be "/"


  •  Expand the sites in web application pool and Click SharePoint Web services.
  • Select STS and Click on Provider.
  • Follow same as above steps to Add Provider. Below are the screenshot for reference.









  • Now we will add users to Membership database.
  • Select the Sites FBA and click on .Net Users.



  •  Click Add and fill out the required fields.Click Next and Finish.



  •  Once done user has been added to .net users.



 We are done with Part-3 now we will move to the last part which is editing the web.config files.

Happy SharePointing :)

Configuring Forms Based Authentication in SharePoint 2016 – Part 2 – Creating the Membership Database

This article will help you out on Configuring Forms based authentication (FBA) in SharePoint 2016 it is very similar to SharePoint 2013.

I have broken down steps in  4 articles.

1. Configuring SharePoint

2. Creating Membership Database

3. Adding users to Membership Database

4. Editing the web.config files.

 So lets get started :)

Part 2 – Creating the Membership Database


 When we configure FBA for SharePoint we need a place to store all our usernames and passwords.
ASP.Net comes with a tool which we can use to create a membership database to store logon information.

Steps to create membership database.

  • Navigate to "C:\Windows\Microsoft.NET\Framework64\v4.0.30319"
  • Run application "aspnet_regsql.exe"
  •  Welcome screen will appear.Click Next
  •  Select “Configure SQL Server for application services” option and click Next.

     

  •  Enter the name of your server and your authentication information.I have selected windows authentication as i have single server farm.My administrator account has full access over SQL Server.Click Next

  •  Confirm your settings and click Next
  • The database has been created. Click finish.
     

    • Now we have to add the Application Pool that runs the web application and give it required permission . I have used Sutta\Administrator as my application pool name. 
    • Open up SQL Management Studio, Expand the database we created and expand Security
    • Right click Users and add a new User
    • User Type = Windows User
    • User name = choose <yourAppPoolAccountName>
    • Login name = browse and choose the login name
     



    •  Now Click on Owned Schemas and choose the following.
      • aspnet_Membership_FullAccess
      • aspnet_Persolalization_FullAccess
      • aspnet_Profile_FullAccess
      • aspnet_Roles_FullAccess
      • aspnet_WebEvent_FullAccess





    We are done with Part-2.Now, we will move to part 3 which is "Adding users to Membership Database".

    Happy SharePointing :)

Configuring Forms Based Authentication in SharePoint 2016 - Part 1 Configuring SharePoint


This article will help you out on Configuring Forms based authentication (FBA) in SharePoint 2016 it is very similar to SharePoint 2013.

I have broken down steps in  4 articles.

1. Configuring SharePoint

2. Creating Membership Database

3. Adding users to Membership Database

4. Editing the web.config files.

 So lets get started :)

Part 1-  Configuring SharePoint


  • Open SharePoint Central Administration -> Application Management -> Manage Web Applications.
  • Click “New” to create a new Web Application.
  • Name the Web Application and change options to your preferences.
  •  Check "Enable Forms Based Authentication"and enter the Asp.net MemberShip Provider Name and Asp.net Role Provider name.As an Example i have used FBAMember and FBARole. Click OK
  •  Once Web Application is created we will create root site collection for it.


  • While creating the root site collection, you can choose any template or URL.
  • Now if you browse the site collection it will take you to default sign in page where you will be asked to choose an Authentication Provider to Sign In.If you want external users than FBA is the only option.




 We are done with SharePoint Configuration.
In next part we will cover Creating Membership Database.

Happy SharePointing :)