Hi @Ad van den Berg,
In SharePoint Framework code you make Azure AD permission requests by adding a webApiPermissionRequests
element inside the config/package-solution.json file.
"webApiPermissionRequests": [
{
"resource": "Microsoft Graph",
"scope": "User.ReadBasic.All"
}
],
Then you can redeploy the app package, the admin can approve the permission requests using the API access page in the SharePoint Admin Center.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.