#39 The easiest way to connect your app to Microsoft 365


When you build an app and want to connect it to Microsoft 365, there are several things you need to do first. You need to take care of auth. You need to ensure correct scopes. You need to get an access token. You need to create a correct web request to Microsoft Graph. You need to properly handle paging. You need to ensure that your app won’t break if you’re throttled or there is some other exception. And if your app will be used for a while, you need to ensure that you will refresh the access token timely before it expires. When you build an app and want to connect it to Microsoft 365, you need to take care of all that. And you didn’t even get to coding your business logic.

There is a huge opportunity to build apps for Microsoft 365. Millions of users use Microsoft 365 in their workplace, and your app can help them work more effectively. But is there really no easier way to deal with the plumbing you need to connect to Microsoft 365? There is!

Have you heard of Microsoft Graph Toolkit? It’s a set of web components connected to Microsoft 365. MGT components take care of authentication, loading data, and showing it in your app. And if anything goes wrong, they also properly handle exceptions. MGT is highly customizable so that you adjust it to your app. Your users won’t be able to tell the difference and you will save a lot of time!

If you haven’t tried using Microsoft Graph Toolkit, I’d highly recommend you do. Recently, my colleagues and I created an introductory learn module showing you how to get started with MGT. In just a few minutes you’ll learn what MGT is, how it works and what can you do with it. Give it a try. You won’t regret it.

Looking forward to hearing from you what you think.

Others found also helpful: