Previous Topic

Next Topic

Book Contents

Book Index

Create a SharePoint App

To authenticate a SharePoint host on MOVEit Automation using the App Access, you must create a SharePoint App with appropriate permissions on Office 365 for use with MOVEit Automation.

The following example demonstrates how to create and grant access to a document library on a SharePoint site from the SharePoint App. The access requirements and permission levels required by your organization may be different.
For information about granting access, see Granting access using SharePoint App-Only. For detailed information about SharePoint permissions, see Add-in permissions in SharePoint.

Prerequisite

You must have a SharePoint instance in Microsoft Office 365 and access to the login credentials

  1. Log in to SharePoint, and navigate to https://<tenant-name>.sharepoint.com/sites/<site-name>/_layouts/15/appregnew.aspx

    Where <tenant-name> is the unique name that identifies your SharePoint instance

    Sites are created under /sites in this example

    <site-name> is the name of the site on your SharePoint instance.

  2. Generate a new Client Id and Client Secret.
  3. Enter the Title, App Domain, and Redirect URL information.
  4. Save the Client Id and Client Secret details. These are required to authenticate the SharePoint host.
  5. To save the App, click Create.

  1. Navigate to https://<tenant-name>.sharepoint.com/sites/<site-name>/_layouts/15/appinv.aspx
  2. Enter the App's Client ID (see step 2, above) and click Lookup.
  3. Confirm the Title, App Domain, and Redirect URL information.
  4. To grant permissions, insert the permission XML that describes the needed permissions in the App's Permission Request XML field. For example,

    <AppPermissionRequests AllowAppOnlyPolicy="true">

      <AppPermissionRequest Scope="http://sharepoint/content/sitecollection/web" Right="Write" />

    </AppPermissionRequests>

  5. To save your changes, click Create. You will be presented with a permission consent dialog. Click Trust It to grant the permissions.
  6. To set up the SharePoint Host, the Realm ID is required. To generate the Realm ID, navigate to https://<tenant-name>.sharepoint.com/sites/_layouts/15/AppPrincipals.aspx.

    The Realm ID is the string following the @ symbol. For example, the Realm ID is highlighted in this string: i:0i.t|ms.sp.ext|bb2d5eb0-43b0-437b-9a7d-c02a2b7714a5@db266a67-cbe0-4d26-ae1a-d0581fe03535