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!


SharePoint Online

The cloud parts are functional components that extend your SharePoint Online environment in Microsoft 365.

Supports Classic and Modern sites for SharePoint Online/Microsoft 365

SharePoint

Top SharePoint Online Products

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


Calendar Plus


Chart Plus


Knowledge Base


Project Management Central


Simple List Search

 

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 – Classic Pages Only

SharePoint

Top On-Premises Only Products

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


Calendar Plus


Data Viewer


Password Change


Password Expiration


Password Reset

 

Our team of Microsoft 365 experts help you get the most out of your Microsoft technology, we have the best Microsoft 365 talent to streamline your organization.

Streamline Your Department

We Have What You Need

Bamboo Solutions

About


Blogs


Webinar & Events


Twitch


Culture & Diversity

 

 

Bamboo Solutions

Tools


Resources


Bamboo Installer