Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Setup

Replace the placeholders in the config file with your TenantID, ClientID and ClientSecret.

Running the sample

Requirements

  • .net core 2.2.1 or later
  • Reliable internet connection

Using Visual Studio

  • Load the solution from the directory above this in Visual Studio
  • Rebuild solution
  • Select ClientCredentialFlow project
  • Run it
    • If you want to see the token and other outputs from the program, put a breakpoint at the end of the main method and run in debug mode

Command Line

  • Make sure you have the install location of dotnet added to your path
  • Run the following command from the location of this project:
dotnet run