Create and manage access tokens

For full instructions on how to build this code sample from scratch, look at Quickstart: Create and manage access tokens


Code Structure

  • ./AccessTokensQuickstart/Program.cs: Core application code with chat operations implementation.
  • ./AccessTokensQuickstart/AccessTokensQuickstart.csproj: Project configuration file.

Before running sample code

  1. Open an instance of PowerShell, Windows Terminal, Command Prompt or equivalent and navigate to the directory that you'd like to clone the sample to.
  2. git clone
  3. With the Communication Services procured in pre-requisites, add connection string to environment variable using below command


Run Locally

  1. Open AccessTokensQuickstart.csproj
  2. Run the AccessTokensQuickstart project