officedev / microsoft-teams-apps-hrsupport Goto Github PK
View Code? Open in Web Editor NEWHR support app template
License: MIT License
HR support app template
License: MIT License
I have tried to deploy this app, however, the error always show up, I have no idea about this.
{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"Conflict","message":"{\r\n "status": "Failed",\r\n "error": {\r\n "code": "ResourceDeploymentFailure",\r\n "message": "The resource operation completed with terminal provisioning state 'Failed'."\r\n }\r\n}"}]}
Could you help me check this?
Another one from:
https://github.com/OfficeDev/microsoft-teams-hrsupport-app/wiki/Deployment-Guide
The screenshot in step 5, number 4 is unprecise:
It shows the context menu of a channel, while the text says to get the team link. The latter proves to be correct, as the configuration app does not accept a channel link.
My bot now working with thread.skype , it working on thread.tacv2
Hi there,
When deploying the template there seems to be a library version issue. I can capture more information if need be. Tried to fix this manually and then get presented with an error around XML.
D:\home\site\repository\Source\Microsoft.Teams.Apps.AskHR.Common\Microsoft.Teams.Apps.AskHR.Common.csproj(1,1): error MSB4041: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format. Failed exitCode=1, command="D:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" "D:\home\site\repository\Source\Microsoft.Teams.Apps.AskHR.Configuration\Microsoft.Teams.Apps.AskHR.Configuration.csproj" /nologo /verbosity:m /t:Build /t:pipelinePreDeployCopyAllFilesToOneFolder /p:_PackageTempDir="D:\local\Temp\8d80c642ef03e83";AutoParameterizationWebConfigConnectionStrings=false;Configuration=Release;UseSharedCompilation=false /p:SolutionDir="D:\home\site\repository\Source\\" An error has occurred during web site deployment.
This feature would make an awesome teams app-template since lots of companies might want to integrate the API of their internal URL shortener.
For the Experts Team, in the config app, if the link to the Team contains "thread.tacv2" then it will not accept the Team ID (seems to be the case for newer Teams), but if it is thread.skype (seems to be the case for older Teams) it will accept it.
When my Knowledge Base is configured for multi-turn QnA, the bot template does not return the additional prompts.
I have some confusion about this wiki page:
https://github.com/OfficeDev/microsoft-teams-hrsupport-app/wiki/Deployment-Guide
In step 1, number 9, there is this sentence:
Now go to your app registrations, then go to Authentication and check the checkbox ID tokens and Access tokens for Bot App and Only ID tokens for Configurator App.
But without adding a platform "Web" with URI, there is no implicit grant and so no checkboxes.
Otherwise, later in the deployment guide, there is the step 3 which correctly describes the process of configuring authentication.
Hi,
I have tried to create the hr support app, but due to our policies we are only allowed to deploy to West Europe. In the template
line 179 the qnaMakerLocation is hardcoded to westus.
"qnaMakerLocation": "westus",
That will fail in our deployment due to the policies in place. When I change it to WestEurope it fails with error message
{"code":"InvalidTemplateDeployment","details":[{"code":"InvalidApiSetId","message":"The account type 'QnAMaker' is either invalid or unavailable in given region."}]....
The only explanation I have found while searching is via here but has been some time since then.
Therefore I was wondering what you inputs are upon it.
Thanks in advance
@v-smahaj I try to implement this solution and get this error:
The subscription does not have QuotaId/Feature required by SKU 'S0' from kind 'QnAMaker' . (Code: SpecialFeatureOrQuotaIdRequired)
It looks like the Classic QnA Maker become retired from 1 october 2022. There is a new QnA Maker functionality with the name "Question Answering" . How to make the deployment work with the new the new Question Answering?
See this picture:
https://learn-attachment.microsoft.com/api/attachments/7a5c38b3-2e03-478a-8df0-4b5b72d1be47?platform=QnA
Below is my manifest.json script!
{
"$schema":"https://developer.microsoft.com/en-us/json-schemas/teams/v1.5/MicrosoftTeams.schema.json",
"manifestVersion":"1.5",
"version":"1.0.0",
"id":"98fc546e-ef74-42cb-8a16-9e7df8c9851f",
"packageName":"com.microsoft.teams.hrsupport",
"developer":{
"name":"Proven",
"websiteUrl":"https://contoso.com",
"privacyUrl":"https://contoso.com",
"termsOfUseUrl":"https://contoso.com"
},
"icons":{
"color":"color.png",
"outline":"outline.png"
},
"name":{
"short":"HR Support"
},
"description":{
"short":"A friendly HR Support bot that answers questions and connects you to experts.",
"full":"A friendly Q&A bot. If it can't find an answer, it'll offer to put you in touch with an expert from human resources."
},
"accentColor":"#64A2CC",
"bots":[
{
"botId":"fe2cb26a-b786-4b0f-859d-889e76e351a0",
"scopes":[
"personal",
"team"
],
"commandLists":[
{
"scopes":[
"personal"
],
"commands":[
{
"title":"Take a tour",
"description":"Tour of key features"
},
{
"title":"Ask an expert",
"description":"Connect with an expert"
},
{
"title":"Share feedback",
"description":"Send feedback"
}
]
}
],
"supportsFiles":false,
"isNotificationOnly":false
}
],
"staticTabs":[
{
"entityId":"HR Support",
"name":"HR Support",
"contentUrl":"https://xyz.azurewebsites.net/help?theme={theme}",
"scopes":[
"personal"
]
}
],
"permissions":[
"identity",
"messageTeamMembers"
],
"validDomains":[
"xyz.azurewebsites.net"
]
}
Even though I see that error, the bot is working and responding.
The interesting thing is not everyone sees that error. Test with 10 people and only myself and one other person saw that message.
Also, if I click on Apps and select to open the App from the list of apps, the error goes away for that time.
But if I try clicking the App again from the navigation bar, the error comes back.
If I go to Teams in a Web Browser the error does not show.
I have tried uninstalling the app from my client and re-adding, same issue.
Deleted all cache files from Teams, same issue.
Restarted the services in Azure - same issue.
Any idea how to resolve this?
There appears to be an issue with the Bot app deploying properly. It also will not sync.
Excerpt
'' at Microsoft.Build.CommandLine.MSBuildApp.Main(String[] args)
Failed exitCode=-532462766, command=dotnet restore "D:\home\site\repository\Source\Microsoft.Teams.Apps.AskHR.sln"
An error has occurred during web site deployment.
Unhandled exception. System.ComponentModel.Win32Exception (5): Access is denied.\r\n at System.Diagnostics.Process.set_PriorityClassCore(ProcessPriorityClass value)\r\n at System.Diagnostics.Process.set_PriorityClass(ProcessPriorityClass value)\r\n at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)\r\n at Microsoft.Build.CommandLine.MSBuildApp.Main(String[] args)\r\nD:\Program Files (x86)\SiteExtensions\Kudu\87.20522.4610\bin\Scripts\starter.cmd deploy.cmd
''
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.