New command: `m365 teams meeting transcript get`
Usage
m365 teams meeting transcript get
Description
Download a transcript for a meeting
Options
| Option | Description |
|---|---|
-u, --userId [userId] |
The id of the user, omit to get meeting transcript for current signed in user. Use either id, userName or email, not all. |
-n, --userName [userName] |
The name of the user, omit to get meeting transcript for current signed in user. Use either id, userName or email, not all. |
--email [email] |
The email of the user, omit to get meeting transcript reports for current signed in user. Use either id, userName or email, not all. |
-m, --meetingId <meetingId> |
The Id of the meeting |
-i, --id <id> |
The Id of the transcript |
-f, --outputFile [outputFile] |
Path to the file where the report should be stored in |
Examples
Gets the specified transcript made for the current signed in user and Microsoft Teams meeting with given id
m365 teams meeting transcript get --meetingId MSo1N2Y5ZGFjYy03MWJmLTQ3NDMtYjQxMy01M2EdFGkdRWHJlQ --transcriptId MSMjMCMjNzU3ODc2ZDYtOTcwMi00MDhkLWFkNDItOTE2ZDNmZjkwZGY4
Gets the specified transcript made for the [email protected] and Microsoft Teams meeting with given id
m365 teams meeting transcript get --userName [email protected] --meetingId MSo1N2Y5ZGFjYy03MWJmLTQ3NDMtYjQxMy01M2EdFGkdRWHJlQ --transcriptId MSMjMCMjNzU3ODc2ZDYtOTcwMi00MDhkLWFkNDItOTE2ZDNmZjkwZGY4
Additional Info
https://learn.microsoft.com/en-us/graph/api/calltranscript-get?view=graph-rest-beta&tabs=http
We will need a check to make sure userName is required when they are signed in with app permissions.
See m365 spo file get for saving of local files.
⚠️ Uses additional permissions, make sure to list them in PR OnlineMeetingArtifact.Read.All, OnlineMeetings.Read.All ⚠️ Add remark that the beta endpoint is subject to change
I think we can change the option --transcriptId to -i, --id <id> and here the same remark about the beta endpoint 😄
Could we maybe combine --asFile with --path because, if I'm reading it correctly, they will always go together and asFile doen't require any input.
Done, opening up
What's the difference between email and userName? Aren't they the same?
You can have several aliases for a upn or at least I assume is the way we inplantend it in Aad user get, will validate when back behind a desktop
Can I work on it?
Can I work on it?
All yours 👍👏
@appieschot I have a follow up question. What is the difference between userName and email
if we specify it like this in the example ... --userName [email protected] ... it seems that there is no difference between userName and email 🤷♂️? Maybe we could leave just one property. As I saw in @nanddeepn PR we are even validating this the same way.
@pnp/cli-for-microsoft-365-maintainers any feed on the above 👆. Am I missing something here?
We have a few commands where we make the distinction between userName and e-mail. But in most, we don't.
For me it doesn't matter that much, I can live with it whether we add it or not. I can imagine that in some use cases, email might be useful, for example for guests, where the email is [email protected] and the UPN is something like john.doe_hotmail_com#EXT#@contoso.onmicrosoft.com. But personally, if I were to write a script, I'd use UPNs.
ok. thanks @milanholemans for the ASAP answer 👍. Lets leave it then 👍
Indeed, the rationale was to make life a little bit easier for guests with weird UPN's.