#teams 9 articles
- A comma in a Graph permissions table can mean AND — searching Teams messages needs two scopesgotchas / graphSearching chatMessage needs Chat.Read and ChannelMessage.Read.All; the 403 spells it out, the table does not (+ webUrl vs webLink from the same endpoint)
- A Teams message your app posts in the user's name doesn't notify that user — and "I can't see it" needs a read-back, not a guessgotchas / graphDelegated ChatMessage.Send delivers (even to the self chat 48:notes), but Teams never alerts the sender; verify with GET + webUrl, notify from the app
- Audio in an SPFx web part (SharePoint and Teams): playback may be refused, the feature must not stopgotchas / spfxSPO's CSP has no media-src today, so MP3 from your CDN plays; start playback from a click and fall back to silent timing on NotAllowedError, 404 or mute
- Creating a team right after creating its Microsoft 365 group returns 404 — retry only the 404, and don't log the failure as successgotchas / graphPUT /groups/{id}/team fails with 404 for minutes after POST /groups (replication); retry only 404, surface a real failure as a warning
- Guests cannot join a Teams shared channel — only people from another Microsoft 365 organisation cangotchas / permissionsShared channels admit external people only through B2B direct connect between two Entra tenants; a guest account cannot be added, so a partner without their own Microsoft 365 needs a different design
- Sharing text through a URL (Teams /share, mailto) breaks at length limitsgotchas / spfx"Send to Teams" (/share?msgText) dies with AADSTS90015 on long answers and mailto silently won't open; cap the URL payload and put the full text on the clipboard
- SPFx in Teams — a personal app needs global deployment, not a root-site installgotchas / spfxskipFeatureDeployment: true + "all sites"; the teams/ icon-folder convention
- SPFx in Teams — the current user's numeric ID belongs to the host site, not to your data sitegotchas / spfxlegacyPageContext.userId in a Teams personal app is the tenant root site's ID; written as the user's ID on another site it can silently point to someone else
- Teams mobile webview renders your tab at ~980px — and you can't reproduce it in a browsergotchas / spfx~980px layout; fix the viewport meta in Teams first