다음을 통해 공유


Office 365 SharePoint Online BCS with Azure SQL Server Database

This article describes the steps to setup and configure the SharePoint Online Integration with Azure SQL Server.  Also covered are the Azure SQL database subscription used in this article and the test database. There is already  a Microsoft Office Online article related to this topic, however, the article does not describe the SharePoint Online process of setting up permissions in BCS in detail. 

Requirements

Below is the configuration of my test environment

  1. Microsoft Office 365 SharePoint Online Plan 2
  2. Microsoft Azure SQL Database with Basic feature.
  3. Microsoft Azure Active Directory
  4. SQL 2012 SP1 SQL Server Management Studio

Azure SQL database subscription

If you are interested in learning and or testing Azure SQL then consider using the basic database subscription as shown below.
 

https://pmop9q.dm2301.livefilestore.com/y2pAPluO-bSJ7wHtRAA0qDd0rHT-JrytBZEwQAs-tKMoqa7C1FaYuK0vBHMDY4dxgUzCMjGX_J1F8PJg8Wn4a4ZONNVDfIfzZuJ5OTjykvBLYE/screenshot1.png?psid=1

This subscription gives you the option to go to your Azure portal and see your SQL database information as shown below.

https://pmop9q.dm2301.livefilestore.com/y2peHDqPMIFDKpvbOs3b-cds0dNWwfPvO78ffBAYRQvB1q1V4jUW7lnZbFENWhXf9d5530nujH054p0LiWOpQJOI0bG-gIOpA8HP7DL6UeZDGQ/screenshot2.png?psid=1

When you view the SQL basic database created, you can see the server name. Now you can go to SQL 2012 SP1 Management studio (SSMS) on your local machine and put in the server name, change the authentication to 'SQL Server Authentication' and add in the Login name and password. 

https://pmop9q.dm2301.livefilestore.com/y2p5CFUu2MY3T5huzefO1-qEhP6r6TQRtbEcmZ2_m5_YOCy_x-ELTmNs3nv36EgdexJAY2oiGwAsu1EA3hERUKcKvj9pSmn9JYviMqClqkEP7M/screenshot3.png?psid=1

Below is what the database looks like on SSMS. Notice the blue color database icon.

https://pmop9q.dm2301.livefilestore.com/y2px0rJmFiszmGsODV4of29v_ffSrgt04WTEe7Wm5HDKWGI26KWvPg4C-8krsN5qt7h7HoJ2EnU4za5rcCcRCCCetokIrBMyB_ysFWA9u9KtsE/screenshot4.png?psid=1

Importing the test database

Download the Adventure Works for Azure SQL Database from codeplex and extracted the files to C:\tools where you should see AdventureWorks and AdventureWorks_Federated folders and ExecuteSQL and ReadMe files. Below is a screenshot.

https://pmop9q.dm2301.livefilestore.com/y2p1Md83qbx9LNKKNubwRd_sxP_UT30zWz-MA51xndUM1G3Xr1rOSZXWialtj5yDB6euW2lmQ3DES205xq2n44UUSmm2m31WtdPuHk_CyMTXzY/screenshot5.png?psid=1

***Copy the ExecuteSQL file in the AdventureWorks folder. ***

https://pmop9q.dm2301.livefilestore.com/y2pwWYS9T0cN3i9FK0z0PpboHSL2I3_kgaDw5Jm6eEOc_79agwCHz1v-7YO5n5iJds0U9VH5D1xHPUpxELzvRMGcfPm4xkrFIfYN4ryhbHX3Is/screenshot6.png?psid=1

Now run the following command.
CreateAdventureWorksForSQLAzure.cmd <serverGUID>.database.windows.net <sqllogin>@<serverGUID> <password>

For example, if the assigned SQL Azure server is named nssk8budo, the administrator user name is dchristian, and the fake password is Secret, the following would be typed:

 CreateAdventureWorksForSQLAzure.cmd nssk8budo.database.windows.net dchristian@nssk8budo Secret 

Depending on the performance of your computer and internet connection, creating this new database connection can take up to 15 minutes. Once the database is created you will get the below message. By default, this will create a Web Edition SQL Azure database. On September 10th 2014 Microsoft has announced the SQL Azure Web and Business database will be retired in September 2015.

https://pmop9q.dm2301.livefilestore.com/y2pZNKi8HXpFWY0T1M68NXUAF3npw-qXU6GiF3qWmeRSzN3xpBwVpk5LAQNcJqJw2zHci97boLfGxk-izy_cPDBOLYHbt_4D_wcfak0V3hLOgQ/screenshot7.png?psid=1

Go back to your SSMS, refresh the database and expand it. Below is what you should see

https://pmop9q.dm2301.livefilestore.com/y2p7lOk8Ppu-YR8fyeyWZ6gWv26k-lZwDf8pMZRUyg4SsIh51b062_m6QKjuBiT464aFfYvdfh8k9dcf_kZCPkvzIp_24a5miOLMKwV7ncnX9o/screenshot8.png?psid=1

Changing the database edition

Now when you go back to your Azure Portal and view the SQL databases, you will see the new AdventureWorks2012 database there, however, it is recognized as a Web (Retired) database as shown below. As mentioned above the Web edition is going to be retired hence I am going to take the extra steps below to change it Basic which is what my subscription is. The change process is simply one click!

https://pmop9q.dm2301.livefilestore.com/y2pXsdmtzpXcWiCg8KVMRdhb2JdJgJSycz42o58JU4P8WVkPFoMC9vLS_3lbatiojTmS9GOp6W1NofaolBH1zEVvN4Qzx-CHEl94RqKBv_7bYQ/screenshot9.png?psid=1

Click on the AdventureWorks2012 database name and then click on Scale. Below is a screenshot

https://pmop9q.dm2301.livefilestore.com/y2pAV9jj874il2UGiWTdT5x0IV8vHRnBfV3eKky5xpofcoY_8zY9sl2JeS2edT2gIpvEZLR4wVtvCUXUst_Acmr8zR83Zsuu1G_2i4dOrzBMq0/screenshot10.png?psid=1

Under General, SERVICE TIERS select BASIC. I have also changed the MAX SIZE to 500 MB. Below is a screenshot

https://pmop9q.dm2301.livefilestore.com/y2pEEHVjrPBBXTwoFVjmyEGiTvntX7v4dxxAogTV2aglZWkQ73EUejxPNzlmTpEHNS360bb2jUMOhbdKZIrlGnTu5GI9UakU_38HHxKlNU8tU8/screenshot11.png?psid=1

Now the database on Azure SQL is available and ready to make my Business Data Connectivity on SharePoint Online

Create a Business Connectivity Service

Before you go to your 365 SharePoint admin center, confirm the Azure SQL database name to get the URL for the Odata service. The URL is usually the database server name with https: hence in this example the URL is https://nssk8bdudo.database.windows.net 

Now go to your Office 365 SharePoint admin center and select bcs and then select Manage connections to online services.

https://pmop9q.dm2301.livefilestore.com/y2ppejC59x6yXcMrYfxssSSy66BrRFZnSPKH0fEtdyKF1yFjDfwGcoEE92sh7b0KMA_f2IaMydW2u0lT7pulh98qlLWt6zfoFZl_QOoc_SgGQs/screenshot12.png?psid=1

Click on the Add button and add the below settings for your connection. The service address is the same URL we copied above. 

https://pmop9q.dm2301.livefilestore.com/y2poANdL_bmIZbo9rovNyyo97fL30llbc66yP9OIWciErBM7PhKqvyMIvIFP7yUQpQ1grR5dhvG6uV87WstqqZ-wBO91KvvxOs34YLGcxdyJMU/screenshot13.png?psid=1

Create a Secure Store Service ID

In Office 365 SharePoint admin center go to secure store as shown below.

https://pmop9q.dm2301.livefilestore.com/y2pkIcg4AN5lJ3dpQr8Fpfep0vrtD8U0WYJoxokrLwhmSuodCXz_FduKl4xt5XnTdgntlB_C6bLQWsePJ0_N_E8ly0CuLBcUWzPQUFPPF_TOaY/screenshot14.png?psid=1

In the ribbon, click New which will take you to the page to specify the Target Application settings. 
In Target Application settings I have provided a unique ID. This ID cannot be changed once it has been created.

https://pmop9q.dm2301.livefilestore.com/y2p9V-XiNzybF-wqv4XFjmR7CtpC2Hj7pVlaEA5EYS_tVqokNx7XKBnm2K55oequRkhCV0DcynZAU_Au8jEgpTQyaXQT3sIafIENDIT7g69rC4/screenshot15.png?psid=1

In the Credentials Fields, enter names that you want to use for the username and password. By default, Secure Store will use a Windows User Name and Windows Password. It is recommended that these values are accepted.  The Field Type shown below cannot be edited once created and saved.

https://pmop9q.dm2301.livefilestore.com/y2pSAQ04aBKTyZrjW4CX-IBqTdBq-laXhi4jw182sXV7VTIMrPnAVhnjmgzDTpKj_jyGZXjcpeYbhfv19K9bNhxbyWkBG3zZ0GW81o7C_xrqqg/screenshot16.png?psid=1

In the Members section you can enter the names of the users or groups that will use this Target Application.

https://pmop9q.dm2301.livefilestore.com/y2pJXXV1OusC2VXTmoXul-_Us-KHckGfL5gTau4EFcVLrOfvZKQVqietAmtdkHbtVl_eSV8RO3hdt4jM-yuvMq2E8lijNQ8P1JbrmwLcGIsaYs/screenshot17.png?psid=1

Click Ok. You will be returned to the Secure Store Service page. Now that you have created the Target Application you need to enter the credentials that the Secure Store uses to access the data from the Azure SQL database.
Select the ID that you just created and click on Credentials

https://pmop9q.dm2301.livefilestore.com/y2p4M6j-Lay-_QNScBxK3lwgclVQuKOnhcviptgP1jQbv6eIWgR-QsP3Ai5gU_eSZlTcdSE5nq0Re1jF4vkCdluKAqEfEUK3Y4eCciMwM9PyjE/screenshot18.png?psid=1

If this is your first time using Azure then I recommend that you go back to Microsoft Azure Active Directory and confirm the username. Below is a screenshot of the credentials I am using. The account used in this example already has access to the Azure SQL database which is a requirement for the connectivity to work.

https://pmop9q.dm2301.livefilestore.com/y2pCd0skeykOvo84GqaBikBfFAd8wKA02kRXlffRLZzBYJbEL9l8SvGL29C6HyumBeQVbYJ1vKlEt3MCF7QEXOwxNglCyPjnXcR0uzvO7IK4Pc/screenshot19.png?psid=1

Create the External Content Type

From here onwards the steps are very similar to SharePoint 2013 on-premises farms.
Open SharePoint Designer 2013 from your local machine and access the SharePoint online site of your choice. 

https://pmop9q.dm2301.livefilestore.com/y2pcTmFY3F1Lyl2XW-stVahekn5V94kASN3w6JNpfV0a39TN9MiDYueKGK-D2XkxW1QneUXaTfRufHfoAXviQOHfeG_wfWtRgmoQpPmB3P0HBM/screenshot20.png?psid=1

Click on the External Content Types as highlighted above.  Click on the External Content Type option as shown below.

https://pmop9q.dm2301.livefilestore.com/y2pndKViRgyQ5SPS-umiBAWwawNuohCW4Iw5VLjmgfbWDpDBcEtT_al0ChaSMErCSeDc3_ZwUhAuo2Xn5YLe9IkzMkpmctPZfjT4kV2Jlnt0zw/screenshot21.png?psid=1

Below is what you will see 

https://pmop9q.dm2301.livefilestore.com/y2p4BKlALqGRCR8ciJJWzc2ngSkMCAoEVHek8ILL9WJlmLJChjJ384RpkpP060g5uZl70wLQBF30uZPwnMugFIy3-RW_6pGkh9CHnz01zn4Sxk/screenshot22.png?psid=1

Give the content type a name and then click on the External system link.

https://pmop9q.dm2301.livefilestore.com/y2p3uhOGPANVbo2EC116cL-omcVlJG8k71oyWF_5G2QPTDkM2yKiG4h1t3GOTGzPhTz2KCksPF4ACaa4XFDh5iKhE7osenK6dsZ3c1dXXwgvPk/screenshot23.png?psid=1

Click on the Add Connection button and the configuration settings shown below.

https://pmop9q.dm2301.livefilestore.com/y2pUWb3tfI9NlWbPdST4pUDBLIhTlqdbinrjdKHPZfQ_IK9MkZElt0K-c0FG83a8cnuae_spuN_LkGFnd3exr_x_4BUZ5AWWlUwJSbvQDQxHoI/screenshot24.png?psid=1

https://pmop9q.dm2301.livefilestore.com/y2pH5LSi1QbEciIGnjydDLMYnjlLnTLkCjQwaNAy3ZtoCfR7Ah_6KL98Rr1bhqSBHZoQ05le_tjrz9c9ZsnlUcAWu3XdEWy4zc-Dl1g2l8VC_c/screenshot25.png?psid=1

You will be prompted to added the Azure SQL database server, database name and the Secure Store Application ID we just created.
The server name is needs to be the Fully Qualified Server Name

https://pmop9q.dm2301.livefilestore.com/y2p_uD3ICU7-cJtJE1cdAf_Y6C9TikNDc8I4oPvAeWfx4tTQkiI8kL7HI9iRbWFUVij6FshxJuS7Uby5q7lVLE74ClJXGfmpR5Im9b5vnkLoQo/screenshot26.png?psid=1

In this case we have received a prompt requesting the credentials to access the external data source i.e. the Azure SQL database. 

https://pmop9q.dm2301.livefilestore.com/y2pc-5CBm0O4sJ0vz3Ud7a2s9IOyTAoYzR5q-ml_cl9r9GQi5NCzb4DnD2uI_on5Arhj28SxJvZNnVEzuAMtzMTnzxU0FR4Du7SUpQtawbDGfg/screenshot27.png?psid=1

It looks like the credentials typed in for the AzureSQL didn't work because we have received the below message.

https://pmop9q.dm2301.livefilestore.com/y2pi2poQdYGFU_zYpJMsvUwuT8U9ZaG3TS1H3ls3M97B1yj8QIBZi0EhOpX1YmssvJVXzuIpYfVIEQQAlCBigJb0ToIowUFCZ5xFG43qe_QfxM/screenshot28.png?psid=1

Consider taking this connectivity issue to your advantage and revisit some of the steps mentioned above to confirm the settings and find a solution. Following are three items you can check to confirm your credentials.

1. Go back to your SharePoint admin center, secure store and add the correct credentials again to the AzureSQL. Confirm that you have typed in the username match the username in the Windows Azure Active Directory. In this example, the username is dchristian@christianfamily.biz

https://pmop9q.dm2301.livefilestore.com/y2pU_Qr7gnFsHeclkpKrJW41KiElPUV3STj-OovKVFZoUOeruTRE0QjyfM0ehAOGccKo7vD94cgaFPVFgngQker-SYYved-8qE8xr3yfZ-7syQ/screenshot29.png?psid=1

2. In SharePoint admin center, bcs, Manage connections to online servers, select your connection name and view the properties.

https://pmop9q.dm2301.livefilestore.com/y2pzq0rkXUPnOTiwl7GFVXL0jToDUAKa09Wg9ogZt5y_kgkSMtdpDffe4upaL_vDHLjc1CPoEKDiGlAhfDkM7Ajg5UXfaEB4unrg40qK2RxMy0/screenshot30.png?psid=1

https://pmop9q.dm2301.livefilestore.com/y2p-u7__UhJqHGMa2Av33j-VQXEi4Co07wVK0oXcC9zZLLRF9BsJdygB3PBDGrUAngjsYO6n7SFSZIfROcR-0lPJzWl4gdBAkbiWeXjkWBx7h0/screenshot31.png?psid=1

 Here's a potential problem! We previously created this connection using User's Identity. We need to change it to Use credentials stored in SharePoint.
The credential we created was also AzureSQL. 

3. Finally, in SharePoint admin center, bcs, click on Manage BDC Models and External Content Types.

https://pmop9q.dm2301.livefilestore.com/y2pXrBpibqUO15T3i_jiUGFpOVY3ICilqzeKOgWwagm7cp6zfre703DxjnFsNsqkOerF6i27UgQ8jNPR34ghe-cwWkN0fgiigpIHnNo3Y-YE6w/screenshot32.png?psid=1

https://pmop9q.dm2301.livefilestore.com/y2pVSqxOThSs442oqtxxlv8wxMw5Rjvi28MMFh5fAAaiZLn29lVCUpW-lqIVEUp_98fiUWNaLxAB_eRW7-uDHzpVzV16aJdBoBOq2XuGx8z96E/screenshot33.png?psid=1

Click on Set Metadata Store Permissions

https://pmop9q.dm2301.livefilestore.com/y2p-FxtBgobjDOTAU4Bs833IYNwng55GHYnb9CGgkeY6UoFxHJbthKrgV0gBFv6RnsMtinmzyQOwiwVeKXQOskuGhyqIyUpKanZjEA8qJpcG2s/screenshot34.png?psid=1

Set metadata store permissions. One of the accounts must be given all permission levels.

https://pmop9q.dm2301.livefilestore.com/y2pBiBIXIFo8A663SJxroqzhTkq_560YtAtbyS0uBAxxpOzCrDGXqsVx_RYC_LS82AubRXK5UEkExxOLHMIJ7Z679I9ub-04Tx9qzXRXaoy6t4/screenshot35.png?psid=1

Now, let's go back to SharePoint Designer and try making the data connection again. 
It is recommended that you close SharePoint Designer and then reopen it again to create the external content type otherwise you will receive a message stating that an External content with this name already exists.

Yay!! The connection is established, i.e. we can have successfully connected the Azure SQL database with Office 365 SharePoint.

https://pmop9q.dm2301.livefilestore.com/y2pS7YjtZBtJbHQkq_lh-pNWShjmymQSygmG_WdIoBz1qIegxXub0M9MoSe_APbS8itBXoqVdI8hjeD7hWkMBEhUOfEbA6Oz9uJf88p0MOG5xs/screenshot36.png?psid=1

Expand the Tables and selected any one of them that you need. In this example I have selected Employee. Right-click on Employee and selected one of the options.

https://pmop9q.dm2301.livefilestore.com/y2p5XAdoN2yATYSZhMKIliN0iI22Ls0aw3thGqYwWKm5MjfFSV63qqClfKihHI--T3iGN20ryhg6Mp3mNNHXaglqquR22STbv4V4Lc5sJ9sbXc/screenshot37.png?psid=1

While the connection is being made you may momentarily view the below message.

https://pmop9q.dm2301.livefilestore.com/y2p2gw2OTcjXmkG4khd7VBmRPxkg94LvH5g2FKWTggonGDG8PgjlZ32JXtPeQow4Dn25vtYmGf8HVBn2r-1CTRD0DSSJX0ZIROi2fJQ4WMgUR8/screenshot38.png?psid=1

Once the process is completed you will receive the below operations properties message. Click Next

https://pmop9q.dm2301.livefilestore.com/y2pXERAFrc-Ys5vc_aqSG3gk8qZeOms3DFWUlEdX5D5FlP6CmshygyvDwQrEdwQPYz6lYLFymQMiknUQTvSLhi4devlcCRYYr080S2l3cm_pvY/screenshot39.png?psid=1

When you arrive at the Parameters Configuration options you may also see Errors and Warnings. In this case we have received two. To resolve them ***uncheck ***the Required box and ***check ***the Show in Picker box.

https://pmop9q.dm2301.livefilestore.com/y2pfN71ga_83NlVP_PUM7Gj7kFzKPkAOzXzQuUpcOSsKTtVy2E5HaLjpejBCSOo8Np3uK1J1hBwP7xLo5mL-3kg50Vwf-P3axY2CzGIy-L4ZlE/screenshot40.png?psid=1

Below is a screenshot.

https://pmop9q.dm2301.livefilestore.com/y2pMKdU85IUzELLO01TE-yJYJunKa7k7gKKrvL1316gv_vTPh7XF4PrnY8sU7TCvioex6YsvbqsmNKJRbZc7C4bGFGUJgPsDoYTKrEA93wRK30/screenshot41.png?psid=1

Click Next. You will be presented with the Filter Parameters Configuration operation. It is strongly recommended to add a filter of type 'Limit' for this operation type hence we are going to use the existing BusinessEntityID element to create a limit of 2000.
To set this limit, click on the 'Click to Add' link as shown below

https://pmop9q.dm2301.livefilestore.com/y2pxIQ2bdQdEZ9G6hODVOhSmnDs1RWkFpHuqe-vJSWdQNCHH7dpGqFm9aF-gp8c80Ch2Xs2MdeGy9Gj39_6KOtzW-SI5jL2f8Afy6xyFvcbu9M/screenshot42.png?psid=1

And set the Filter Type to Limit and click OK.

https://pmop9q.dm2301.livefilestore.com/y2pQvlMTqBVyVALyD0rpZgSwGp-xR2VLq7w8BXmBZ5_-y7j8Vnj6LOli7S2rnEEUya5dUt7wWplctUVi7IRyt8eUsx51ymqYnd1C2k6oV7AzMA/screenshot43.png?psid=1

Now type in 2000 or less as the Default Value and click Finish.

https://pmop9q.dm2301.livefilestore.com/y2piv53I3hFyVg3KWtcSqMTZkcSv_aLyyBdb0zYILVP7Ea9PsFVFVUA9TSCSXZPZLqdYt1FG4ae9JZxUiu_3wnnvXJdKeIzXdd-EvWSSjvfgP0/screenshot44.png?psid=1

Click on the Save button to save the new external content type that you just created. Now, when you go back to Office 365 SharePoint admin center, bcs and click on 'Manage BDC Models and External Content Types' you will see your connection there

https://pmop9q.dm2301.livefilestore.com/y2pZEigGm1KNdSqVc449E8k47BB8fkVXpI0Mr7-Rvtvda3dAwiUQNzHwr-iO12bCyQ3dXL-xk7SzJB2KaX7sT1L47n2xpw9Wnm9jCJqkXGQv8A/screenshot45.png?psid=1

Click on the drop-down option for SQLAzureAdventureWorks and click on Set Permissions as shown below.

https://pmop9q.dm2301.livefilestore.com/y2pSrJrvtYl_gVhUFpZXMUxNsPq_xX9Ek5kLHNcot7EFaJ4lLDLF-Qk0wfPtKIkI3bnudMXnV__tb7BR8MxOR92rOMYijNQ86xBkE9LtZ6UGRg/screenshot46.png?psid=1

Search for All Users, select both All users (Windows) and All users (membership), add them and click OK.

https://pmop9q.dm2301.livefilestore.com/y2ptgv_OBRLNYrRiN0h-B45-ivT9o-rGVFdXlkQND2yfw61lZyMAZg6mfYwyjm5lw9KnKgmQQ2E-dstiMuLKFWP6hEb2A7CgmamOsIhn93HmI8/screenshot47.png?psid=1

Give both the groups Execute and Selectable in Clients permission levels and click OK.

https://pmop9q.dm2301.livefilestore.com/y2pxVTqZhnNJk4M89J7kRQkYjxRCF__P_od2VsI0KMhIQuMujT7LVvIU7kIBlF3gpdFbi36fpTmbsvk21uj63J0nBBF0g_HPDrq6IwShcQHd_s/screenshot48.png?psid=1

Adding external list

Now that the data connection is made we are going to add the external list on our Office 365 SharePoint site. As shown below, click on Site Contents> add an app and then select External List

https://pmop9q.dm2301.livefilestore.com/y2p9O8PbSYtlK72OPZtZ6krSQoxZA8-FqwQUvrf3mjWoOgR-YO-D0xZzcZhUK76m86HSTURLZioBoVSIbHLx-KJitdC9K10W-6Gp8P_KBF7j-4/screenshot49.png?psid=1

https://pmop9q.dm2301.livefilestore.com/y2p8Zk7jiUHNGM0_pN1HU9AsKxn-coWZGzPEtCDR4c2185nqQX8cvjPm0FZh4BSPMManppk6GPJqyz1Iw9pXFiKy7IPDMpeK3xPMmf7nOV8e_8/screenshot50.png?psid=1

In Adding External List, add a name and then click on the icon highlighted below to find your ex

https://pmop9q.dm2301.livefilestore.com/y2ptlCnAE9RCeQRaB4cYGf-wvcpTnPNQ88TSJZ19lKAtQWiCuqEga452RxJsF4pjZVA3zPUNNWfIB-2Uh90XnLU9vpZyCZYLKugkT1dwCgdoLo/screenshot51.png?psid=1

If all the prior settings and configurations have been done successfully then you should see 'AdventureWorks2012' listed as shown below. Select it and click OK.

https://pmop9q.dm2301.livefilestore.com/y2ps_ZFDrcP7ibQPbVqm8SVvgU1rYCz2hQuffpHsr_kyblIpth7BQUyhH99eByZfitWZO3v-V9ViJBTwfHlpQwCjhNQWokrt2EuwMc_cs6b0XU/screenshot52.png?psid=1

Now click Create. 

https://pmop9q.dm2301.livefilestore.com/y2pcXIoHePVh03U9n5qsrBJgAYzE8FjIokXw-vACJJKr8hglzTxBahWOQgmnFlZtPu8BBHuJPlSFH6gE6gBlw1QZAxmeW0y1XmEu7lMmUQmd2I/screenshot53.png?psid=1

You should now see your new external list. 

https://pmop9q.dm2301.livefilestore.com/y2plWNAJ3-p5uc-rhLgjG5vASbD3kPiHvkXXfRv7Uxap1SASx0HZqMnhYbZpbGlB7CPtR0ctDz0W77gFAaAqznAHElqQVs1-PxdjeICIDs4-J0/screenshot54.png?psid=1

When you click on the app you might see the below image telling you that Office 365 SharePoint is attempting to connect to the Azure SQL database

https://pmop9q.dm2301.livefilestore.com/y2pdqrRVtHxzBUr12uc8Ek5lJMfeSI_LjXXUR4-DG1x7TWPq6hDf8CeP7zXNY_SRfXX67RUF38EUeqc4M3lvOu9eGrHzhacA_wf7tEvV3SAQrU/screenshot55.png?psid=1

 
Yay!! The data connection has been made!!!

https://pmop9q.dm2301.livefilestore.com/y2pYfjBIZTUG4kvKJbSlN9OHLv7-jVjpffAkYEPlXSejPX4Xvq4tVsWq-Eidmov5gq2kYoboU3pcBAMP2ivQUqETSr9cBwGsxvGKs3T2UyAk4g/screenshot56.png?psid=1

Conclusion

Microsoft has made it super easy to setup the external content types between Office 365 SharePoint Online and Azure SQL databases. Once all the permissions are setup correctly and the configurations made, databases from Azure SQL can be added as external lists on SharePoint Online. 

Other reference articles

Getting Started with Windows Azure SQL Database Using the Windows Azure Management Portal
Azure SQL Database TechNet Wiki Articles Index
Make an External List from a SQL Azure table with Business Connectivity Services and Secure Store