Sep 15 2020 07:56 PM
Greetings,
I'd like to get a list of videos uploaded to Microsoft Stream.
I referred to this document . I'm testing it by copying and pasting it.
[string]$StreamPortal = "https://web.microsoftstream.com/?NoSignUpCheck=1"
[string]$StreamPortalChannelRoot = "https://web.microsoftstream.com/channel/"
[string]$StreamAPIChannels100 = "https://aase-1.api.microsoftstream.com/api/channels?NoSignUpCheck=1&`$top=100&`$orderby=metrics%2Fvideos%20desc&`$expand=creator,group&api-version=1.3-private&`$skip="
Part of code, These don't seem to work.
The first line code URL works.
The code on the second row didn't work, so I changed it like this.
https://web.microsoftstream.com/channel/ -> https://web.microsoftstream.com/browse?view=channel
Is this right?
And I think the URL on the third line doesn't work.
$StreamAPIChannels100
- There is no value in this variable. There is also a Microsoft Stream channel.
Europe: https://euno-1.api.microsoftstream.com
Asia: https://aase-1.api.microsoftstream.com
Neither seems to work.
There is not much information about this. I'd really appreciate your help.
Tell me if what I think is wrong. Thanks..
Sep 17 2020 02:51 AM
@BoHyun As I posted it here to your other post (https://techcommunity.microsoft.com/t5/microsoft-stream-forum/microsoft-stream-cors-error/m-p/167338...) - currently we do not have an official API for Microsoft Stream. I have managed to get the videos with a Power Automate Flow "Send HTTP request" which worked, but is more a hack than supported.
Sep 17 2020 06:04 PM - edited Sep 17 2020 06:05 PM
Thank you for your answer.
In my case, it would be a little difficult to use Power Automatic Flow.
I just need video list information, not data processing.
I also tried how to get by using microsoft audit logs.. But I failed.
Is there any other way but to wait for API?
Sep 18 2020 12:16 AM
@BoHyun Did you see this in the Stream docs: https://docs.microsoft.com/en-us/stream/audit-logs#use-powershell-to-search-the-log
Or this blog posts from @Tony Redmond : https://office365itpros.com/2020/05/29/tracking-video-uploads-stream/ and https://office365itpros.com/2020/06/11/report-stream-deleted-videos/
Jan 13 2022 01:19 PM