Office Add-in and MSAL

Office Add-ins: Get consent for several resources using MSAL

In this blog post we will see how to setup MSAL to get consent for several resources in an office add-in to get access to Microsoft Graph, SharePoint and a secured Azure functions. If you are looking for the source code, you can find it here πŸ™‚ Create a word add-in project First we need to install Yeoman (as a prerequisites) and generator-office to create an office add-ins: Then run following command and create a…

SharePoint Framework, Azure Function and React Hooks, where the magic happens – part 2

In the previous post we developed the functions to get and apply a provisioning template using PnP core library and deployed them to the Azure Portal, then we configured the Application Registration by uploading the certificate needed for authentication process and added API permissions we need to do the operations on SharePoint. In this post we will implement the web part to call our functions and also we will learn how we can use some…

SharePoint Framework, Azure Functions and React Hooks, where the magic happens – part 1

We are living in a world which everyday you wake up with some brilliant features added to your favorite libraries and you can’t wait to use them somewhere in your solution. In this post I will show you how easy is to call Azure Functions from SharePoint Framework Web Part and also how you can use React Hooks to simplifies your components and get rid of extra classes and life cycles around them. As you…