Blog Post

Educator Developer Blog
2 MIN READ

Build your first Microsoft 365 app in 10 minutes

waldek's avatar
waldek
Icon for Microsoft rankMicrosoft
Oct 06, 2022

If you're a web developer, there's an exciting opportunity for you to build applications for Microsoft 365, which many organizations across the world use for work. Let me show you, how you can use your existing skills and build your first application that integrates with Microsoft 365 in just 10 minutes.

 

What's Microsoft 365?

Microsoft 365 is a set of applications, like Microsoft Teams, Outlook, Word, or SharePoint, that organizations use for work. Every day, millions of people use Microsoft 365 to chat, meet, send emails, create documents, and more.

 

But Microsoft 365 isn't just a set of apps. It's also a platform that enables developers, like yourself, to build applications. These apps can tap into data and insights stored on Microsoft 365 and bring them into people's workflows.

 

Building for a platform

Building for a platform isn't trivial. It comes with all kinds of specific knowledge you have to have like what tooling, SDKs, and APIs to use, how to integrate your app, and finally how to package and distribute it. What many people forget though, is that you don't have to learn everything about everything at once. Often, you can start simple and build up from there.

 

Build your first Microsoft 365 app in just 10 minutes

Recently, I published an article on freeCodeCamp that shows you how you can build your first Microsoft 365 app in just 10 minutes.

 

 

Sure, the app is simple and doesn't do much, but when building it, you'll learn the fundamental concepts of building apps on Microsoft 365. And after these 10 minutes, you'll have a functional app that works and retrieves data from Microsoft 365, and which you can use as a starting point for more complex apps.

 

Give it a try, and we're looking forward to hearing what you think.

Updated Oct 06, 2022
Version 2.0

2 Comments

  • Tonana's avatar
    Tonana
    Copper Contributor

    Greetings Super169,

     

    It's almost a year but I only came across this post of yours today.

     

    Wonder if you have tried:

    $appID=(npx -p.... 

    instead of

    appID=$(npx

     

    Maybe that works.

  • Super169's avatar
    Super169
    Copper Contributor

    I'm a newie to Microsoft 365 app, and thanks for the tutorial for building a "Hello, world!" application, it's be very good starting point for testing required setup.

     

    However, in  how you can build your first Microsoft 365 app in just 10 minutes, after login to microsoft365, back in the terminal, run the following command:

    appId=$(npx -p @pnp/cli-microsoft365 -- m365 aad app add --name "Hello world" --multitenant --redirectUris "http://localhost,http://localhost/index.html" --platform spa --query "appId" -o text)

    There has error running in Command Prompt or Powershell, may I know what kind of terminal should be used?