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...
May 11, 2021
Hi, I was also having the "Could not retrieve Global Service Principal ID Error: Error: {}" on my tenant and the process described on the link that you shared solved the problem. This included deleting the problematic app registration and getting a new one created.
Regarding consuming the Graph API, there are many SPFx PnP web part samples that demonstrate this. Just search for "Graph" on the samples website: https://pnp.github.io/sp-dev-fx-webparts/
Regarding consuming the Graph API, there are many SPFx PnP web part samples that demonstrate this. Just search for "Graph" on the samples website: https://pnp.github.io/sp-dev-fx-webparts/