Skip to content

ISO clarification+answers to modern bot template with user defined MSI's + SSO #12596

Answered by therealjohn
andrewconnell asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @andrewconnell

Q1: I think some of our templates/samples are missing some config and need updated - which one are you testing with?

Our templates should have been updated to set the app type as an env var and an action in the YML specifies it:

const config = {
  MicrosoftAppId: process.env.BOT_ID,
  MicrosoftAppType: process.env.BOT_TYPE,
  MicrosoftAppTenantId: process.env.BOT_TENANT_ID,
  MicrosoftAppPassword: process.env.BOT_PASSWORD,
};
...
teamsapp.local.yml
  # Generate runtime environment variables
  - uses: file/createOrUpdateEnvironmentFile
    with:
      target: ./.localConfigs
      envs:
        BOT_ID: ${{BOT_ID}}
        BOT_PASSWORD: ${{SECRET_BOT_PASSWORD}}
        BOT…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@andrewconnell
Comment options

@andrewconnell
Comment options

@therealjohn
Comment options

@andrewconnell
Comment options

Answer selected by andrewconnell
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