Create an App Principal for SharePoint Online

Assign full permissions to the tenant to back up SharePoint Online sites.

Procedure

  1. In your browser, go to the appinv.aspx page on your tenant admin site, as in https://tenant-admin.sharepoint.com/_layouts/15/appinv.aspx.

    The SharePoint admin center page appears.

  2. In the App ID box, enter the application ID that you recorded earlier, and then click Lookup.

    In the Title box, the name of the application appears.

  3. In the App Domain box, enter tenantname.onmicrosoft.com.

    To get the correct domain name, go to "Custom domain names" on the Azure website.

  4. In the App's Permission Request XML box, enter the following XML string:

    <AppPermissionRequests AllowAppOnlyPolicy="true">
      <AppPermissionRequest Scope="http://sharepoint/content/tenant" Right="FullControl" />
      <AppPermissionRequest Scope="http://sharepoint/social/tenant" Right="Read" />
    </AppPermissionRequests>
  5. Click Create.

  6. Click Trust It.

Loading...