Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Python bot-conversation sample deployment code with Managed Identity #1566

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Harikrishnan-MSFT
Copy link
Contributor

No description provided.

properties: {
channelName: 'MsTeamsChannel'
serverFarmId: serverfarm.id
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -12,4 +12,4 @@ class DefaultConfig:

PORT = 3978
APP_ID = os.environ.get("MicrosoftAppId", "<<MICROSOFT-APP-ID>>")
APP_PASSWORD = os.environ.get("MicrosoftAppPassword", "<<MICROSOFT-APP-PASSWORD>>")
APP_PASSWORD = os.environ.get("MicrosoftAppPassword", "<<MICROSOFT-APP-PASSWORD>>")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know how botframework python sdk consumes these config but seems BOT_TENANTID and BOT_TYPE is missing here, because js sdk would require these config to make the bot work . This is how js sdk works and I'm not sure it can be used as a reference: https://github.com/OfficeDev/teams-toolkit/blob/0c572e750d8c932b4c82f774a88c3e025d00eb93/templates/ts/default-bot/index.ts#L19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants