...
Register the service principal in Azure AD.
After the service principal is registered, navigate to API permissions for the application.
Add the application permissions specified in the above table.
When completed, your application permissions should look like those show in the below image.Grant admin consent for the application.
Insert excerpt IL:External Stylesheet - Test IL:External Stylesheet - Test nopanel true
...
Next Steps
Create an app service for the SharePoint Online Microservice
...