teams
53 Topicsposting Incoming webhook to MS Teams using curl command
we are using azure devops pipeline and web hook notifications to slack. For below notification I changed the webhook url to outlook. But not working it says `Bad payload received by generic incoming webhook`. How to customize payload for teams. curl -H 'Content-Type: application/json' --data-urlencode 'payload={"username": "Application","text": "Application_IOS_EnterpriseBuild","attachments": [ { "color": "#F35A00", "fields": [ { "title": "Pipeline", "value": "'"$(Agent.JobName)"'", "short": true } ] }, { "color": "#F35A00", "fields": [ { "title": "commit_sha", "value": "'"$GIT_RELEASE_NOTES "'", "short": true } ] }, { "color": "#F35A00", "fields": [ { "title": "Status", "value": "'"Started"'", "short": true } ] } ]}' https://outlook.office.com/webhook/6ab53-e6a3-4b3e-ae06-a65cdaf3b31e/IncomingWebhook/ae2d458317eb4b20a3581fdd01aeecd3/e966e859-4ec9-497a-b1b8-5e6fadb19404(sample)51KViews0likes2CommentsMultiple Timezones in Teams Calendar
Has Microsoft given additional consideration to the request to add multiple timezones to the Teams Calendar, similar to the functionality to show multiple timezones in Outlook Calendar? This feature is critical to the user experience in Teams.Solved14KViews1like1CommentHow to resolve "Failed to submit this app" error?
Hi Team, Just from Today, while submitting teams custom app via Developer Portal, error "Failed to submit this app." started to occur. I have tried with below condition but this error always occurs. Error also occurs on the app which we can submit update till yesterday. What is happening and how can we resolve it? (from this error message, we couldn't guess anything about the reason..) Checked: ・Publish from outside Developer Portal (apps > manage apps > send app to organization) succeeded so seems Developer Portal related Issue. ・For all apps, no validation error in "Publish to store" is found. Manifest itself seems to be fine. ・Create new custom app with minimum configuration and publish but failed with same error. ・Tried publish from both Teams client and Browser but failed with same error. ・Try same operation with different tenant but failed with same error.13KViews0likes24CommentsIncoming Webhooks Emojis stopped working
Edit: It seems that emojis are working again since 28.04.2023 --- Until 25th of April 2023 I was able to send AdaptiveCards to the Teams Incoming Webhook that contained (unicode) emojis in TextBlock text. E.g.: { "type": "message", "attachments": [ { "contentType": "application/vnd.microsoft.card.adaptive", "contentUrl": null, "content": { "type": "AdaptiveCard", "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "version": "1.4", "body": [ { "type": "TextBlock", "wrap": true, "text": "🕵️ Hello" } ] } } ] } However this stopped working and the Webhook-endpoint responds with status code 200 and following text: Webhook message delivery failed with error: Microsoft Teams endpoint returned HTTP error 400 with ContextId MS-CV=6VuKZ6LzJEy0rlogGwBLyg.0.. When sending the same message without the emoji it works as before... What has changed? How can I fix it?5.2KViews5likes9CommentsTeams Meeting Extension - Side Panel App - How to get attendees emails list
Hi Community, We are developing a Microsoft Teams meeting extension. In order to embedded details related to our system info, we need to get the emails list of attendees of the specific meeting. Tried many ways including graph API but it couldn't identify the meeting ID returning from the teams SDK microsoftTeams.getContext((context)=>{ const meetingID =context.meetingId; }) This returned a meeting id which a format ofMCMxOTptZWV0aW5nX01UbG1Zams0WW1ZdFpESXdaUzAwWmpFeUxUbGhaVGd0TW1Ga01XVTVPV05sTnpGaUB0aHJlYWQudjIjMA== but it does not identify by graph API Also, we tried microsoftTeams.meeting.getMeetingDetails((context)=>{ console.log(context) }) this method returnserrorCode: 1000, message: "App doesn't have sufficient permission to use this API" Is there any simple way to get a meeting attendees list from teams meeting optimized tab apps? or is this feature not yet released to third-party developers?Solved4.3KViews1like8CommentsMicrosoft Teams theme for fluentui/react
I am confused whether to use fluentui/Northstar or fluent/react. Few control of northstar are easy to implement example searchable dropdown, which is complecated in fluentui/react. If I use fluentui/react how do I set the theme. The pivot which is mentioned in the design document of the teams ui is not available in fluentui/ northstar.. 🙁. The menu of northstar don't have an example how to call a component on click of a menu item.. Please help me. It is so confusing.4.1KViews0likes2CommentsMicrosoft Graph Api Teams and Channels - filesFolder
Hello everyone, we want to extend the script by Tommy Lee https://www.lee-ford.co.uk/backup-team so that the Team Channels can download the files and folders. With the new Microsoft Graph Api Teams Beta I found the filesFolder see "https://graph.microsoft.com/beta/teams/$Teamsid/channels/$($channelId)/filesFolder". I would like to use this so that we (see script below) can download all files and folders or am I on the wrong way? # List all items in drive $itemList = Invoke-GraphAPICall -URI "https://graph.microsoft.com/v1.0/groups/$($chosenTeam.id)/drive/list/items?`$expand=DriveItem" # Loop through items $itemList.value | ForEach-Object { $item = Invoke-GraphAPICall -URI "https://graph.microsoft.com/v1.0/groups/$($chosenTeam.id)/drive/items/$($_.DriveItem.id)" # If item can be downloaded if ($item."@microsoft.graph.downloadUrl") { # Get path in relation to drive $itemPath = $item.parentReference.path -replace "/drive/root:", "" $fullFolderPath = "$Path/_Backup_Team_Temp_/Files/$itemPath" -replace "//", "/" $fullPath = "$Path/_Backup_Team_Temp_/Files/$itemPath/$($item.name)" -replace "//", "/" # Create folder to maintain structure New-Item -ItemType Directory -Force -Path $fullFolderPath | Out-Null # Download file Write-Host " - Saving $($item.name)... " -NoNewline try { Invoke-WebRequest -Uri $item."@microsoft.graph.downloadUrl" -OutFile $fullPath Write-Host "SUCCESS" -ForegroundColor Green } catch { Write-Host "FAILED" -ForegroundColor Red } } } } else { Write-Host " - Excluding Files..." }4KViews0likes1CommentSend personal messages to Teams from daemon service.
Hello, I need to send notifications to my colleagues using Teams in case of emergency which is detected by monitoring system. These messages must be sent on behalf of background service which cannot follow interactive user authentication flow and therefore cannot get Authorization Code to authenticate on behalf of user. I can connect to Azure AD using Graph SDK for Golang and get all users of my organization. But I cannot use Chat API because it's not allowed in "application only context". Is there a way to send personal user messages from daemon service?Solved3.6KViews1like7Comments