Replace the placeholders in the config file with your TenantID, ClientID and ClientSecret.
- .net core 2.2.1 or later
- Reliable internet connection
- 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
- 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