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 […]

Continue Reading...

Moving from Azure functions to AWS Lambda, all you need to know

Recently I’ve had a challenge of moving some Azure functions to AWS Lambda, some of these functions interact with Office 365 through Graph API, and we also had a function for uploading multipart files to Azure blob storage that needed to be replaced with S3 bucket. Setup development environment It was the first time I wanted to develop something in AWS so first I needed to understand the similarities between Azure and AWS and try […]

Continue Reading...

Implementing Repository Pattern with SharePoint Framework Library Component

SharePoint framework 1.9.1 is out and Library Components are now generally available, Library component gives you ability to share code between your components. In this post I’m going to implement a basic version of repository pattern that allows you to do CRUD operations on SharePoint lists and libraries as well as tenant properties (global properties that can be shared between your components such as web parts, extensions and libraries). If you don’t want to read […]

Continue Reading...