Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Use the Work IQ MCP create_entity tool to create a real-time transcript subscription, then consume incremental speaker-attributed segments from the returned server-sent events (SSE) URL; ask, retrieve, and the regular transcript collection are not the live-stream interface.^1^
Subscribe to the live transcript
On the initialized MCP session, call create_entity against the subscription collection. Use placeholders—not actual meeting credentials—in logs or test fixtures.
{
"jsonrpc": "2.0",
"id": 10,
"method": "tools/call",
"params": {
"name": "create_entity",
"arguments": {
"parentUrl": "/copilot/communications/realtimeActivityFeed/multiActivitySubscriptions",
"jsonBody": {
"@odata.type": "#microsoft.graph.multiActivitySubscription",
"userId": "{SIGNED_IN_USER_OBJECT_ID}",
"meetingInfo": {
"@odata.type": "#microsoft.graph.joinMeetingIdMeetingInfo",
"joinMeetingId": "{MEETING_ID}",
"passcode": "{MEETING_PASSCODE}"
},
"activities": {
"transcript": {
"@odata.type": "#microsoft.graph.transcriptActivity"
}
}
}
}
}
}
Important requirements:
-
userIdmust equal theoidclaim in the delegated access token. - The delegated user must have joined the active meeting; being invited is insufficient.
- Teams transcription must currently be running.
- Meeting ID plus passcode applies to scheduled meetings.
- Keep using the
Mcp-Session-Idreturned by MCP initialization.
A successful call returns HTTP-style status 201, a subscription ID, and:
data.activities.transcript.transport.url
Read the incremental SSE stream
Append that relative URL to https://workiq.svc.cloud.microsoft and open it promptly; it expires about five minutes after subscription and is single-use.^1^
This Python fragment consumes the returned URL:
import json, requests
stream_url = "https://workiq.svc.cloud.microsoft" + transport_url
headers = {
"Authorization": f"Bearer {access_token}",
"Accept": "text/event-stream",
"MCP-Protocol-Version": "2025-06-18",
}
with requests.get(stream_url, headers=headers, stream=True) as response:
response.raise_for_status()
event = None
for raw in response.iter_lines(decode_unicode=True):
if raw.startswith("event:"):
event = raw[6:].strip()
elif raw.startswith("data:") and event == "segment":
data = json.loads(raw[5:].strip())
item = data["liveCaptionDataV2"]["transcriptData"]
print(item["audioCaptureTime"],
item["speaker"]["user"]["displayName"],
item["text"])
Each segment exposes:
-
speaker.user.displayName -
speaker.user.rawId -
text -
spokenLanguage -
audioCaptureTime
Work IQ live transcripts include speaker names. The separate Teams Include speaker attribution setting controls Graph transcript results, not Work IQ live segments.^2^
Expect a typical delay of 15 seconds to one minute. If the stream disconnects, create a new subscription because the old stream cannot be replayed. Use do_action with microsoft.graph.getArtifacts to recover recent segments while the meeting remains active; its window is limited to 300 seconds.^1^
Why the current calls return nothing
The dedicated live path is:
-
create_entity - Read
activities.transcript.transport.url - Consume SSE
segmentevents - Optionally call
getArtifacts - Unsubscribe with
delete_entity
Microsoft Graph transcript APIs instead expose transcript content after the meeting ends.^3^
Since the policy, authentication, and meeting lookup are already working, the additional runtime checks are that the delegated user has actually joined and that transcription is running in that live meeting. Also note that the organizer’s organization—not the app user’s organization—controls Work IQ transcript access, and policy changes may take time to apply.^2^
Meet Now
The documentation explicitly covers:
- Scheduled meetings, identified by meeting ID/passcode.
- Ad hoc group calls and 1:1 calls, identified by a
callConversationIdobtained from a Microsoft Graph call-events notification.
It does not explicitly classify or confirm Meet Now meetings in the current support matrix. Therefore, Meet Now support should not be assumed solely from successful calendar lookup. If the Meet Now session is exposed as an ad hoc call, test the documented call-events route and pass the notification’s callConversationId unchanged as joinUrl; this requires a call-events subscription.^1^
For an authoritative Meet Now support determination, open a Microsoft support case for Work IQ/Teams development and provide:
- Whether the session is returned by calendar lookup or only call-events.
- The
create_entityrequest shape with credentials removed. -
correlationId,requestId, error code, and upstream code from the failed response. - Confirmation that the delegated user had joined and transcription was active.
The feature is currently public preview, so schemas and supported behavior can change before general availability.^1^
References