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

sample "Proactive message bots app" missing AAD environment variabes when provision into azure env #1423

Open
ayachensiyuan opened this issue Oct 15, 2024 · 7 comments
Assignees

Comments

@ayachensiyuan
Copy link

I use VSC teams toolkit to create sample "Proactive message bot" in sample gallery.
Sample: https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-proactive-messaging-teamsfx
When I provision in to azure, I have following issue.
image

@Nivedipa-MSFT
Copy link
Collaborator

Nivedipa-MSFT commented Oct 15, 2024

@ayachensiyuan - Thanks for reporting your issue.
We have cloned the latest Microsoft-Teams-Samples repo.

The bot-proactive-messaging-teamsfx sample provisioned and executed successfully.
We have tested this on Visual studio code 1.93.1 and Teams Toolkit version v5.8.2

image

Could you please test this again and let me know if you face any issues here?

@ayachensiyuan
Copy link
Author

@Nivedipa-MSFT thank for your reply. I still face this issue, the version of TTK is the same. It works in local debug. but when I run provision in to AZURE, it failed with that error.

@Nivedipa-MSFT
Copy link
Collaborator

@ayachensiyuan - Could you please verify that all necessary environment variables are correctly set in your Azure portal?
Verify that your Azure resources are properly configured and that you have the required permissions?

@ayachensiyuan
Copy link
Author

@Nivedipa-MSFT We have daily auto test for TTK, So this sample in TTK gallery failed since half month ago. Usually we test it according to readme file, It is certain that using the current version of TTK to create this sample and following the instructions in the readme to provision and deploy will encounter the problems mentioned above. All of this was automatically deployed by TTK, and I did not have to manually operate on Azure. Here's the test: https://github.com/OfficeDev/teams-toolkit/actions/runs/11419663804/job/31778539159

@Nivedipa-MSFT
Copy link
Collaborator

@ayachensiyuan - We have tested this on our end but were unable to reproduce the issue. Could you please clone the latest repository and test again?

@ayachensiyuan
Copy link
Author

ayachensiyuan commented Oct 24, 2024

Double confirm with you the repo steps:

  • clone the latest sample repository main branch
  • switch the folder root to bot-proactive-messaging-teamsfx
image
  • open sidebar teams toolkit extension
  • login azure and m365 account
  • click provision button and fill in prompt information
image
  • wait for error log

@ayachensiyuan
Copy link
Author

This PR fixed this sample issue, thanks.
3e45a81

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

No branches or pull requests

3 participants