Use impersonation in SPFX Webpart

Copper Contributor



I have sharepoint team site with a list that have custom permissions.

I want to develop a WebPart SPFx that shows list items from my list for user who didn't have permissions.

I saw that we can create secured AAD function that let impersonation.

Could you explain process please ? How it does works ?


Thank you.

2 Replies
What you can create is an Azure Function and then secure it through Azure AD. In this Azure Function you have to write the code to return all the list items using OAuth behind the scenes (ClientID, ClientSecret

Thank you for your response.

What are the permissions applied on Azure Function ?

Do you have an example ?