Register a New SharePoint Online App

The steps below register a new SharePoint Online App, which you publish the Smart Preview App to, later in this guide.

  1. Login to the Search Center where you wish to deploy Smart Previews using a SharePoint Online global admin account.
  2. Modify the URL in your browser by adding "_layouts/15/AppRegNew.aspx" after the site collection:
       https://<site collection url>/_layouts/15/AppRegNew.aspx
  3. The App Registration form appears.
  4. Complete the form:
    1. Client ID:
      1. Click "Generate" to generate the Client ID
    2. Client Secret:
      1. Click "Generate" to generate the Client Secret
    3. Title:
      1. Provide a title for the app.
      2. BA Insight recommends that you use a name so that it will be easily recognizable as the preview app.
    4. App Domain:
      1. Use the domain name from the Azure Web App.
      2. This should be the domain name only.
      3. Do NOT include "https" at the front of the path.
    5. Redirect URL:
      1. Use the Azure Web App URL, adding "/default.aspx" to the end of the URL.



  5. Click "Create".
  6. The confirmation page shows all of the information from the registration page.  Record this information for later.