Skip to content

abufaizur/MSGraphHackTogether

Repository files navigation

MSGraphHackTogether

This Application connects Microsoft Graph API & Displays Teams Users Status

1.Connect with Microsoft Identity Platform

Every app that uses Azure AD for authentication must be registered with Azure AD. For your .NET core MVC web app, you may connect your app with Microsoft Identity Platform through Visual Studio 2022. Please follow the instructions to connect your app with Microsoft Identity Platform:
  • Clone the MSGraphHackTogether repository to your local workspace or directly download the source code.
  • Open the project folder MSGraphHackTogether and double click to MSGraph.sln file to open your project with Visual Studio.
  • Select Connected Services from the project root, and then direct to Connected Services tab, select three dots icon next to Microsoft identity platform

image

image

  • Login with your developer account and select your tenant. Give a name for your app and then select Register.
  • Make sure to select Add Microsoft Graph permissions and select Next.
  • Select Local user secret file: Secret.json(local), then select Next.
  • 2. Run your .NET Core MVC web app

    Select https run button to start your app on your machine. When your .NET Core MVC web app initiates, log in with your developer account.

    After the login, you'll see your email address mentioned on navigation bar of your app & displays user details as below

    image

    Reference

    https://github.com/PabloVenino/hack-together/tree/main/templates/dotnet-core-mvc-web-app-microsoft-graph#minimal-path-to-awesome-

    About

    This Application connects Microsoft Graph API & Display Teams Users Status

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

     
     
     

    Contributors