ms teams
3 TopicsPower Virtual Agent Bots as Skills for an Azure Bot
Hi, We have an Azure Bot deployed and are exploring the possibility of using a PVA Bot as a skill for the Azure Bot. From https://learn.microsoft.com/en-us/power-virtual-agents/advanced-use-pva-as-a-skill#add-your-bot-framework-bot-to-the-allowlist-for-your-power-virtual-agents-bot, we have read that we can add a PVA Bot to a Bot created via the BotFrameworkComposer as a skill. However, we did not find any documentation on how we can accomplish the same using code. Our Azure Bot is written in NodeJS. We have a skill dialog bot that is currently connected to the root bot using NodeJS. Is it possible to have our NodeJS root bot talk to a PVA Bot? Thank You1.2KViews0likes1CommentCalendar Integration in Teams Bot
Hi Team, Below is the requirement where in need your help to discuss and understand the best ways to implement. We have a Bot hosted on teams using Bot framework and need to give the users capability to book meeting and room. The room here is the external system not the outlook rooms. Hence booking meeting online and room are going to be hand in hand for the conversation. Trying to understand if we could leverage the existing calendar app via Bot and continue with room booking. Can we load the calendar meeting pop up in Bot using task modules and continue the other conversations ? Challenges we have currently is Bot cannot do a people search to be able to add attendees. This needs a custom form to be called. Kindly please comment.5.2KViews0likes5CommentsGraph API to create Tab in MS Teams with custom SPFx WebPart
Hello Experts, I have created SPFx WebPart and deployed it in SharePoint. I have enabled "Team" scope and this works fine along with team context when I add it in MS Teams manually. Now, I am trying to create Tab programmatically using Graph API endpoints as below, API: https://graph.microsoft.com/v1.0/teams/xxxx-9532-4b0c-997f-60704a3f8cd8/channels/19:c09b7d2b2cc546xxxc3f3a0e6d979f65@thread.skype/tabs Body: { "displayName": "Opportunity Summary", "canUpdateConfiguration":true, "teamsApp@odata.bind" : "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps('8f4b04a6-a79e-4677-b81c-dff4e34d9989')", "configuration": {"entityId": "d500-452a-885d-b091d9151dbe", "contentUrl": "https://xxxxx.sharepoint.com/sites/team0042/_layouts/15/TeamsLogon.aspx?SPFX=true&dest=/sites/team0042/_layouts/15/teamshostedapp.aspx%3FopenPropertyPane=true%26teams%26componentId=30A56BEF-D500-452A-885D-B091D9151DBE", "websiteUrl": null, "removeUrl": null } } The tab is getting created successfully but unable to load WebPart in the tab. Below is a response when I hit this API call, { "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#teams('xxxxxx-9532-4b0c-997f-60704a3f8cd8')/channels('19%3Ac09b7d2b2cc546cfbc3f3a0e6d979f65%40thread.skype')/tabs/$entity", "id": "181f19b8-87f2-484e-be2f-59bc896a45f1", "displayName": "Opportunity Summary", "webUrl": "https://teams.microsoft.com/l/entity/xxxxxxx-a79e-4677-b81c-dff4e34d9989/_djb2_msteams_prefix_2382545309?label=Opportunity+Summary&context=%7b%0d%0a++%22canvasUrl%22%3a+%22https%3a%2f%2fhexawaretek.sharepoint.com%2fsites%2fteam0042%2f_layouts%2f15%2fTeamsLogon.aspx%3fSPFX%3dtrue%26dest%3d%2fsites%2fteam0042%2f_layouts%2f15%2fteamshostedapp.aspx%253FopenPropertyPane%3dtrue%2526teams%2526componentId%3d30A56BEF-D500-452A-885D-B091D9151DBE%22%2c%0d%0a++%22channelId%22%3a+%2219%3ac09b7d2b2cc546cfbc3f3a0e6d979f65%40thread.skype%22%2c%0d%0a++%22subEntityId%22%3a+null%0d%0a%7d&groupId=6880a93f-9532-4b0c-997f-60704a3f8cd8&tenantId=3d661275-2f86-4c66-a403-89012031c616", "configuration": { "entityId": "d500-452a-885d-b091d9151dbe", "contentUrl": "https://xxxxx.sharepoint.com/sites/team0042/_layouts/15/TeamsLogon.aspx?SPFX=true&dest=/sites/team0042/_layouts/15/teamshostedapp.aspx%3FopenPropertyPane=true%26teams%26componentId=30A56BEF-D500-452A-885D-B091D9151DBE", "removeUrl": null, "websiteUrl": null } } I search a lot to define configuration entity in the body for custom deployed SPFx Teams App but did not find any solution. Further analysis, I tried to find out manually deployed app configuration entity but seems that list guid, id and webinstanceId is generating dynamically as below, { "id": "a75956d0-131c-44e3-a484-f59dd2b6ea7e", "displayName": "SPFx Summary WebPart", "webUrl": "https://teams.microsoft.com/l/entity/xxxxx-a79e-4677-b81c-dff4e34d9989/_djb2_msteams_prefix_70e2b7d4-a4e8-48a0-aff9-02f03885f93e?label=SPFx+Summary+WebPart&context=%7b%0d%0a++%22canvasUrl%22%3a+%22https%3a%2f%2fxxxxx.sharepoint.com%2fsites%2fteam0042%2f_layouts%2f15%2fTeamsLogon.aspx%3fSPFX%3dtrue%26dest%3d%2fsites%2fteam0042%2f_layouts%2f15%2fteamshostedapp.aspx%253Flist%3d1ef02590-ede8-4825-a70f-43002f62bcf9%2526id%3d1%2526webPartInstanceId%3d731b7934-fdd2-4d3b-8ba1-2132cb4b14c9%22%2c%0d%0a++%22channelId%22%3a+%2219%3ac09b7d2b2cc546cfbc3f3a0e6d979f65%40thread.skype%22%2c%0d%0a++%22subEntityId%22%3a+null%0d%0a%7d&groupId=6880a93f-9532-4b0c-997f-60704a3f8cd8&tenantId=3d661275-2f86-4c66-a403-89012031c616", "configuration": { "entityId": "sharepointtab_45b23925-551a-4d81-a0b9-9d46297098c1", "contentUrl": "https://xxxxx.sharepoint.com/sites/team0042/_layouts/15/TeamsLogon.aspx?SPFX=true&dest=/sites/team0042/_layouts/15/teamshostedapp.aspx%3Flist=1ef02590-ede8-4825-a70f-43002f62bcf9%26id=1%26webPartInstanceId=731b7934-fdd2-4d3b-8ba1-2132cb4b14c9", "removeUrl": "https://xxxxx.sharepoint.com/sites/team0042/_layouts/15/TeamsLogon.aspx?SPFX=true&dest=/sites/team0042/_layouts/15/teamshostedapp.aspx%3Flist=1ef02590-ede8-4825-a70f-43002f62bcf9%26id=1%26webPartInstanceId=731b7934-fdd2-4d3b-8ba1-2132cb4b14c9%26removeTab", "websiteUrl": null, "dateAdded": "2019-11-04T07:08:09.086Z" } } Please guide me to defined configuration parameters in the body of Create Tab Graph API endpoints for deployed custom SPFx Teams App. Thanks, Uday G2.8KViews0likes3Comments