Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

RSC With Graph API

This sample illustrates you can use Resource Specific Consent (RSC) to call Graph APIs.

Prerequisites

To try this sample

  1. Register your app with Microsoft identity platform via the Azure AD portal

  2. Clone the repository

    git clone https://github.com/OfficeDev/microsoft-teams-samples.git
  3. Build your solution

    • Launch Visual Studio
    • File -> Open -> Project/Solution
    • Navigate to samples/graph-rsc folder
    • Select RSCDemo.sln file
    • Build the solution
  4. Setup ngrok

    ngrok http -host-header=rewrite 3978
  5. Config changes:

    • Add your client id, client secret in appsettings.json
    • Press F5 to run the project
    • Update the ngrok in manifest
    • Zip all three files present in manifest folder.
  6. Upload app manifest file (zip file) to your team