Application permissions
Prerequisites
For application permissions, you do not need to specify the SharePoint URL or document library name. Running the Work Instruction Connection Setup wizard is recommended. You must still enter the Client ID and Client Secret field values on the Shop Floor Production Setup page.
For application permissions, follow the same steps described in the App registration section to register the application in the Azure portal.
Configure API permissions
To configure the necessary API permissions, follow these steps:
On the menu bar, select API permissions.
Add Microsoft Graph permissions for sites
-
Select + Add a permission.
The Request API permissions page opens.11.png)
-
On the Request API permissions page, select Microsoft Graph > Application permissions.
12.png)
-
In the Select permissions filter, enter Sites to view the list of permissions for sites.
-
Select the Sites.ReadWrite.All checkbox.
18.png)
-
Select Add permissions.
Add Microsoft Graph permissions for user
- Select + Add a permission.
- Select Microsoft Graph > Application permissions.
- In the Select permissions filter, enter User to view the list of permissions for user.
- Select the User.Read.All checkbox.
-
Select Add permissions.
19.png)
Add SharePoint permissions for all sites (Read)
- Select + Add a permission.
The Request API permissions page opens. - On the Request API permissions page, select SharePoint > Application permissions.
- In the Select permissions filter, enter Sites to view the list of permissions for all sites.
- Select the Sites.Read.All checkbox.
-
Select Add permissions.
20.png)
Add SharePoint permissions for all sites (Write)
- Select + Add a permission.
- Select SharePoint > Application permissions.
- In the Select permissions filter, type Sites to view the list of permissions for all sites.
- Select the Sites.ReadWrite.All checkbox.
-
Select Add permissions.
21.png)
Once all the necessary permissions are added, your API permissions will be configured.
App registration is complete. Make sure to record the following two fields to proceed:
- Client ID
- Secret Value
Admin consent is required for the application registration to function correctly.