Create an App Principal for SharePoint Online


On this page

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


  1. In your browser, go to the tenant URL.

    For example, go to https://<office_365_tenant_URL>/_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

    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" />

  5. Click Create.

  6. Click Trust It.