Skip to content
Discussion options

You must be logged in to vote

Hey Benjiiim, for your first error, your app should be configured with an adapter as follows:

// Create adapter.
// See https://aka.ms/about-bot-adapter to learn more about how bots work.
export const adapter = new TeamsAdapter(
  {},
  new ConfigurationServiceClientCredentialFactory({
    MicrosoftAppId: process.env.BOT_ID,
    MicrosoftAppType: process.env.BOT_TYPE,
    MicrosoftAppTenantId: process.env.BOT_TENANT_ID,
    MicrosoftAppPassword: process.env.BOT_PASSWORD,
  })
);

export const app = new Application<ApplicationTurnState>({
  // Adapter and botAppId are required for the Application to send proactive messages.
  adapter: adapter,
  botAppId: config.MicrosoftAppId,
  storage: s…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Benjiiim
Comment options

Answer selected by Benjiiim
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants