OfficeDev / microsoft-teams-apps-faqplus

FAQ Plus is a friendly Q&A bot that brings a human in the loop when it is unable to help with an answer from the knowledge base.
MIT License
141 stars 145 forks source link

FAQ Plus Running Script issue #211

Open kgazar opened 1 year ago

kgazar commented 1 year ago

I went through the guided steps for implementing FAQ Plus and after running the script for deploy to Azure, we didn’t find any resources created in the Azure.

Attached screen shot for the error generated during running the script.

Please advise. FAQ Plus Issue

kgazar commented 1 year ago

Please advise on this issue? noting that its production environment and i am in urgent need to fix the issue

hannakeith commented 1 year ago

there's been a couple of changes to the az ad app cmdlets. I have resolved these by updating the deploy.ps1 script:

az ad app update --id $app.appId --sign-in-audience AzureADMultipleOrgs --enable-id-token-issuance $AllowImplicitFlow --required-resource-accesses './AdAppManifest.json'

az ad app create --display-name $appName --end-date '2299-12-31T11:59:59+00:00' --sign-in-audience AzureADMultipleOrgs --enable-id-token-issuance $AllowImplicitFlow --required-resource-accesses './AdAppManifest.json'

az ad app update --id $app.appId --web-redirect-uris @RedirectUris