Implementing Microsoft Teams Authentication Flow For Tabs

Most Identity Providers like Azure AD use OAuth 2.0 as an open standard for authentication and authorization, In this blog post I will show you how to implement the OAuth 2.0 flow for Microsoft Teams Tabs using SharePoint Framework and the Teams Client SDK. A basic understanding of OAuth 2.0 is required for reading this post, so if you are new to this concept, please read this post or this good overview which is easier […]

Continue Reading...

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...

SPFx webpart consuming Yammer API using AadTokenProvider

Yammer JavaScript SDK gives you ability to consume Yammer Rest API. But the problem with the SDK is you need to handle the sign in through an iframe and a login button, so end users will have to click on that button and sign in to be able to use your app (if you are interested in building an SPFx web part using the Yammer Javascript SDK, you can see this sample on github). Today […]

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...

Using OfficeDev PnP to add/update modern quick links web part

In this blog post I will explain how you can add or update Quick links web part using PnP Core, source code can be found here. Recently I’ve had a challenge to add and update Quick links web part, but turned out it’s not as easy as I thought it would be, there are couple of disussions around it which you can find here and here. Adding Quick links web part For adding quick link […]

Continue Reading...