Skip to content

Latest commit

 

History

History
68 lines (47 loc) · 1.91 KB

File metadata and controls

68 lines (47 loc) · 1.91 KB
page_type description products languages extensions contentType createdDate
sample
This sample illustrates how you can use Resource Specific Consent (RSC) to call Graph APIs.
office-teams
office
office-365
csharp
samples
07-07-2021 13:38:26

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