Forum Discussion
rrrrr10
May 08, 2021Copper Contributor
How to call graph API to read SP list items from SPFx in SP Online?
I'm new to graph api and trying to use graph api to read sp list items from a custom list using the current user's rights (not service account). But i'm getting an error. I have this so far in th...
ganeshsanap
May 12, 2021MVP
rrrrr10 As you are requesting for Sites.Read.All permissions in your web part, you have to approve this from SharePoint admin center --> API management.
Anyone else facing this issue can find more details about this in below thread:
How to call graph API to read SP list items from SPFx in SP Online?
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.