Contents
Access MySQL Data in SharePoint External Lists
- Set Up the API Server. Deploy. Connect to MySQL.
- Create the External Content Type.
- Import the External Content Type. SharePoint 2013.
- Create the External List.
- Limit Results.
- Configure Pass-Through Authentication.
- Configure Credentials Authentication. SharePoint Online.
Below mentioned are the steps that we will follow in this article:
- Create SharePoint list.
- Create Azure SQL DB and table.
- Generate Client ID and Secret & grant access at site level.
- Create Azure function app.
- Create Log Analytics.
- Create Microsoft Flow for SP to Azure SQL Sync (Single item)
How do I pull data from a SharePoint list in SQL Server?
Follow the steps mentioned below by navigating to the SharePoint List:
- List Actions > Export to SpreadSheet/Excel.
- Save the Excel file.
- Open your SQL database with SQL Management Studio.
- Right click on your database > Tasks > Import Data.
- Select your Excel file as the source, and specific table as destination.
Please follow the below steps.
- Connect to the SharePoint Online site and get the reference of the SharePoint list.
- Connect to the SQL database using a connection string and execute the SQL query.
- Iterate through all the rows in the data table and create items in SharePoint List.
SharePoint lists are incredibly useful. You can quickly create what amount to database tables and start working with them in moments. I love them because: Unlike a “real” database like we’d create in SQL Server/SQL Azure or MySQL, we don’t need any special privileges from a DBA to provision a new schema or anything.
How do I integrate a SharePoint database?
Connect to a database by saving the user name and password
- 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.