Into "<membership><providers>" add the following lines, replace "SQL_Membership" by the membership provider name you chose earlier when we have extended the webApplication. You can see that you can change some parameters (password length, max invalid password attempts before account will be locked etc..):

One of the first feature that many company need is to provide information to client or provider, one of the way to do that is to open an extranet on which they can connect and find your latest documentation on product, technical documents.

In order to open one site you can add for each users of AD account but it can be expensive if you have many clients. SharePoint offer an other way to authenticate users called FBA (Forms Based Authentication) users and authorization will be stored in a dedicated database.

1. Create the database

From your SharePoint 2016 server go to the folder: "C:\Windows\Microsoft.NET\Framework64\v4.0.30319"

Open and click on "Next/Suivant"

Select the first option and click next again:

Specify the server that will host the datadabse and the named instance if you have any, specify a name for the database "fba_extranet" in my case and click next.

The account use to connect to the SharePoint server will be used as admin for the database you can change the right after.

Click "next/suivant" and the base will be created, you can see the dase and the structure thanks to Management studio:

2. Create Extranet WebApplication

We will now create the SharePoint WebApplication that will host you extranet sites, from SharePoint central administration create a WebApplication

2.1 Extend the webApplication

The web application is now available but only your AD users can connect we will now extend the webApplication to make it available through an other url that will be dedicated for your client/provider users.

I've created my webApplication on port 82 my internal users will use that url to connect with SSO to the site using their windows account.

I will now decide that external users will connect on port 8282 but they will use FBA credentials.

mardi 29 mars 2016

In my previous post we saw how to change default image used by sharepoint into standard masterpage or ribbon for example (http://larry-microsoft-techno.blogspot.fr/2016/03/change-icons-used-for-sharepoint-2016.html)

In order to map icons to your design I just found this post by Eric :
http://ericoverfield.com/sharepoint-2013-spcommon-png-sprite-breakdown/

Thanks to him you can easily find which css code to use in order to include sharepoint icons into your masterpage or webparts.

vendredi 25 mars 2016

Designer can easily change icons used for site by modifying the following sprite, one example if you want to have the ribbon in a dark colour the icons "share" "follow" are nearly invisible because they are gray.

Once you've changed the image you can use the following css to override the image where they are used :

mardi 9 février 2016

One new
feature that is coming to us from SharePoint 2013 is the Apps Management
Service. This awesome new feature allow user to use Apps published on
SharePoint Store by the community or by the company IT to enhanced private site
for example.

If you want
to be able to publish your killer app to the store and maybe make some money
with it or if you are ask by your IT to configure the Apps Management Service
to offer this feature to user this article is made for you.

There is a
few step to achieve in order to enable this service application that will be
described below.

First of
all if you want to make sure that the service is not yet configured to can
navigate to your SharePoint 2016 Central Administration page, section Apps and clic on Purchase Apps.

If
the service is not configured or not well configured you will see the following
message

This are
the steps that we gonna do in order to active Apps Management Service:

Set up a forward lookup zone for
apps

Set up the link between the app
domain and SharePoint Server 2016

Create applications services: App Management service

Check the required services on SharePoint Server

Set up the Apps URLs in SharePoint Apps
section

Test apps capabilities.

Set up a forward lookup
zone for apps

SharePoint
2016 need to have urls that are isolated from the Urls of the site where that
are used in. In order to do that it’s required to provide an isolation by using
a new domain.

It’s highly
recommended to not use a subdomain of the domain used by your SharePoint web
application.

First of
all you have to use a user account that have local administrator right on the
domain controller.

4. In the Zone Type page, accept the default of Primary zone, and then click Next.

5. In the Zone Namepage, in theZone namebox type the name for your new app domain name (for example, mcatrinescuApps.com), and then clickNext.

6. Click next on the page and review the setting

Set up the link between the app domain and SharePoint Server 2016

We do need to ask the DNS to forward requests from sp.localApps to our SharePoint Server 2016 that will host SharePoint Apps:

1. In the Administrative tools logged as Domain Admin go into the DNS section, in DNS Manager, under Forward Lookup Zones, right-click the new app domain name, and then click New Alias (CNAME).

2. In the New Resource Record dialog box, in the Alias name (uses parent domain if left blank)box, type*.

3. To the Fully qualified domain name (FQDN) for target host box, click Browse and navigate to the Forward Lookup Zone for the domain that hosts the SharePoint sites

4. And then navigate to the record that points to the server that hosts the SharePoint site.

See below the screen well filled, and click OK

Create applications services: App Management service

1. From SharePoint 2016 administration centrale page click on Manage service application, and add App Management Service service application.

2. Specify the following element in the create form

- Service application Name

- Database server

- Database name

- Application pool

3. The service application will be created within a few minutes

Check the required services on SharePoint Server

Verify that you are a member of the farm administrators group in Central Administration.

In SharePoint 2016 Central Administration home page, click on Manage services in this farm in the System Settings section

3. On the Services on Server page, next to App Management Service, verify that the service is well started.

4. In order to start the "Subscription settings service application" you have to run the following commands other your SharePoint Server 2016. In the first line replace "sp\sp_service" by your managed service account.

Set up the Apps URLs in SharePoint Apps section

1. In the App domainbox, type the isolated domain that you just creat for hosting apps url.

2. In App Prefix specify a prefix that will preprend your apps url

Additional set up on Manage web application

The SharePoint Store contains apps for SharePoint intended for use with sites that require Internet-facing endpoints. By default, these apps are not available (greyed out and cannot be purchased) because they are incompatible with most sites. However, if your farm is configured to allow internet-facing end points, you can turn on the Internet-facing endpoints feature to show these apps in the SharePoint Store. For each web application that will used apps select it from the SharePoint Server 2016 Manage Web Application pageAnd then activate feature "Apps that require accessible internet facing endpoints"

Test apps capabilities

From a SharePoint site you can go scroll down setting and click on "Add an app"