How to Create Data Sources Using SharePoint Designer 2013, Part II: Single Sign-on Authentication

With Microsoft SharePoint Designer 2013, you can connect to any kind of database, including Microsoft SQL Server (SQL Server 2005 and SQL Server 2008), Oracle, and OLE DB protocol. Moreover, there are three options for connecting to databases:

This article shows you how to create a connection to a database. It also shows you how to connect to a database using Single Sign-On Authentication.

Steps:

Step 1: Using SharePoint Designer 2013, connect to site.

Make sure the site you are working on is a Microsoft SharePoint Foundation 2013 site or a Microsoft SharePoint Server 2013 site. Then, identify the kind of authentication you want to use.

Open SharePoint Designer 2013, and select Open Site.

Type the site name into the Open Site dialog box, and click the Open button:

The Windows Security dialog box will open; enter your username and password:

 

Step 2: Configure Single Sign-On Authentication in Central Administration.

Go to the Central Administration page, then click Manage service applications:


You will see the Services listed; click on the Secure Store Service:


Click on the Generate New Key icon in the Ribbon. Make sure that you input the Pass Phrase:


Enter the following information to create a new Target Application:

  • Target Application ID
  • Display Name
  • Contact E-mail


 


There are two choices for Field Type:

  • Windows User Name and Windows Password (if you want to use the Windows Authentication to connect)
  • User Name and Password (if you want to use the SQL Authentication to connect)

Click Next:

Input the user who you want to have full control permission in the Target Application.

Click OK:


After the Target ID is created, click the drop-down to select Set Credentials item menu:

In Credential Owner: type the user account.

In Windows User Name: type the user name authorized to connect to the SQL database.

In Windows Password: type the password belonging to the authorized user.

In Confirm Windows Password: type the password belonging to the authorized user.


Click the OK button to complete.

 

Step 3: Connect to Data Source.

  •  Click Data Sources in the Navigation Pane:

 

  •  On the Data Sources tab in the Ribbon, in the New group, click Database Connection:

  •  In the Data Source Properties dialog box, on the Source tab, click Configure Database Connection:

  • In the Configure Database Connection dialog box, under Server Information, in the Server Name box, type the name of the server where you want to connect.
  • In the Provider Name box:
    • If you are connecting to an external Microsoft SQL Server database, click Microsoft .NET Framework Data Provider for SQL Server.
    • If you are connecting to an external database that is OLE DB compatible, including versions of SQL other than Microsoft SQL, click Microsoft .NET Framework Data Provider for OLE DB.
  • Under Authentication, select the Use Single Sign-On authentication check box, and then click Settings.
  • In the Single Sign-On Settings dialog box, in the Application Name textbox, type the Application Name that you configured in Single Sign-On above.
  • In the Application field to use as the username text box, type the user name that you configured in Single Sign-On above.
  • In the Application field to use as the password text box, type the that you configured in Single Sign-On above.
  • Click OK.
  • Click Next.

For example: Here, I connect to SQL Server 2008; with Northwind Database; Employees table:

You will see the Database Name under Database Connections:

Cheers!


All SharePoint Versions

The web parts are functional components that extend your SharePoint environment whether it’s hosted, on-premises, or part of Microsoft® Office 365.

SharePoint 2013, 2016, 2019, Online (Office 365)

On-Premises Only

These web parts extend SharePoint beyond its out-of-the-box capabilities by tailoring it to your requirements with Bamboo Solution’s growing portfolio of SharePoint Web Parts.

SharePoint 2013, 2016, 2019

SharePoint

Product Suites

Experience greater power and savings by bundling our SharePoint apps and web parts.


Essentials Suite


Essentials Plus Suite


Bamboo Premier Suite


Project Management Suite


Knowledge Management Suite


External User Manager


 

For more information on our product suites, contact us.

Featured Services

SharePoint Health Check

A SharePoint Health Check will identify the causes of issues and risks associated with your specific environment, and is custom tailored to provide you with the best recommendations to optimize your SharePoint environment.

SQL Health Check

Document recommendations relating to performance, stability, availability, or a specific focus you request of your SQL Server database instances.

My SharePointXperts

The truth is that each SharePoint skill may not be a full time job for many organizations, and it is nearly impossible for one person to do everything you need – so augment your team with SharePointXperts; providing the skill sets you need when you need them!