Comments (9)
Im having the same issue, did you manage to resolve this?
from teams-toolkit-samples.
Hi James, for me it was related to the single tenancy setting of my AAD app...
Find the detailed discussion here:
MicrosoftDocs/msteams-docs#7920
from teams-toolkit-samples.
The initial issue was solved per MicrosoftDocs/msteams-docs#7920
To use single tenancy bot, make sure @microsoft/teamsfx
SDK is upgraded to ^2.2.0
and set correct MicrosoftAppType
and MicrosoftAppTenantId
.
from teams-toolkit-samples.
@jamesburton85 - do you still have the issue? Would you mind share more details or file another issue to track?
from teams-toolkit-samples.
I am facing this issue, it has been 2 days of trying and nothing seems to work.
I have a Teams SSO Tab app, I added the Notification Bot feature and everything works okay when running locally. After provisioning and deploying to Azure, the notification bot isn't working. I added Storage and noticed that the installation is not being recorded. I have timerTrigger which executes but finds no installations. The storage container is empty.
I created a totally new Teams SSO Tab app and added the notification bot feature. This also did not work either. The Storage container is created but not installation is recorded.
I created a Standalone Notification Bot and this worked okay without any issue.
I added SSO enabled Tab feature to the Bot application and after provisioning, deploying and running, the installation is not being recorded. I had uninstalled the Bot and the installation was removed from the container.
Is there any special case with SSO Tab + Notification Bot when they are together?
from teams-toolkit-samples.
@muiruri - Since your app works well on local, there may be some mis-configuration on your Azure resources. Is it convenient for you to share your .bicep
files? Feel free to remove any personal info such as resource name or app settings.
from teams-toolkit-samples.
@swatDong They are all the auto generated files, I only edited the botService.bicep to add the msaAppType
value of MultiTenant
The bicep
files from ./templates/azure/provision
botService.bicep : https://pastebin.com/04uxQdBS
azureFunctionBot.bicep : https://pastebin.com/C9btGD55
identity.bicep : https://pastebin.com/a8jgQ7s5
frontendHosting.bicep : https://pastebin.com/7yD9DbGj
from teams-toolkit-samples.
@muiruri Your bicep
files from ./templates/azure/provision
look good.
I tried on my side and can also repro your issue. The cause I found is that "Authentication is enabled on the Azure Functions". It seems the templates/azure/teamsFx/azureFunctionBotConfig.bicep
has unexpected auth settings (diff from the pure notification project).
A quick workaround is - disable the auth in templates/azure/teamsFx/azureFunctionBotConfig.bicep
and provision again.
Also verify the status from Azure Portal:
After that, you can message your bot (or uninstall / reinstall) to see if installation is added to your storage container.
@hund030 - FYI since it's related to azure function bicep. I'll log a bug to track internally.
from teams-toolkit-samples.
@swatDong Thanks for your help. It is now working.
from teams-toolkit-samples.
Related Issues (20)
- Add app icon to samples HOT 4
- Error Building React Retail Dasboard HOT 4
- [Sample Onboard Request] meetings-live-code-interview HOT 17
- [Sample Onboard Request] Intelligent Data Chart Generator HOT 6
- [Sample Onboard Request] Containerized Bot App with SSO Enabled HOT 4
- [Sample Onboard Request] Teams Chef Bot HOT 2
- [Sample Onboard Request] Containerized Hello World Tab with Backend HOT 5
- Update sample dependencies HOT 2
- The graph-connector-app does not work HOT 3
- [Sample Onboard Request] Word-Add-In-Writing-Assistant HOT 3
- [Sample Onboard Request] Excel-Add-in-ChartAPI-Anylysis-Data HOT 4
- [Sample Onboard Request] Excel-Add-in-ShapeAPI-Dashboard HOT 5
- [Sample Onboard Request] Excel-Add-in-Custom-Function-Using-WebWorker HOT 4
- [Sample Onboard Request] Excel-Add-in-Mail-Merge HOT 5
- [Sample Onboard Request] Word-Add-In-AIGC HOT 4
- Teams Bot App with SSO on K8S Experiences Multiple Responses with HPA Scaling Beyond Two Pods HOT 2
- Sample not working as Single Tenant HOT 2
- Deploy is failing HOT 2
- Action based message extension with SSO HOT 2
- [Sample Onboard Request] Graph RSC Helper HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from teams-toolkit-samples.