Step by step guide to set up Service Principal
- Go to https://portal.azure.com/ and click on "new registration" on the top left.

2. Complete the following information:
- Name: we suggest "Lexis® Create DMS", but you can choose what's convenient for you.
- Support account types: "Accounts in this organizational directory only" (first option)
- Redirect URL: leave empty
Click “register” to complete

3. Add permissions
- Click "Add a permission" on the left
- Select "Microsoft graph API" with the option "Application permissions"
- Search for the permission "Sites.Read.All".
- Alternatively, choose "Sites.Selected". As explained in the database review article, if the Sites.Selected permission is used, Lexis® Create DMS team needs to know the Site ID and Web ID of the Sharepoint Site. Please sent this information to your CSM.
Be sure to also grant permissions to the service principal for the relevant sites as specified in this microsoft blogpost. Assigning permissions to a service principal is not possible through the Azure UI, only through REST API calls.
- Alternatively, choose "Sites.Selected". As explained in the database review article, if the Sites.Selected permission is used, Lexis® Create DMS team needs to know the Site ID and Web ID of the Sharepoint Site. Please sent this information to your CSM.
- Select this one and click Add Permissions

-
Once this happened, click "Grant admin consent for {name}" on the permissions page

Go back to the integration guide to follow the next steps of the integration