Forum Discussion
Powershell Script to list ALL videos in your 365 Stream environment
- Oct 22, 2022
Anyone looking at this script should also look at the PowerShell script that was released by Microsoft as part of the Stream (Classic) migration tools. The PowerShell script released by Microsoft can be downloaded directly from Stream (Classic) admin page and also has a PowerBI Desktop template that can be used to analyze the output CSVs.
See this part of the migration help articles for more info:
https://learn.microsoft.com/stream/streamnew/migration-details#stream-classic-video-report
Hi swhitestrath , I did try with the most recent version of my code, but I found keeping the security context of the browser window inside the code was the issue.
I'm sure someone who is better at that could send an HTTP request asking for the JSON files, then save them out as individual files, or combine them into one file. The issue I had was getting the code to run and ask for the files as the user account that has admin rights to the STREAM back end.
All I've been able to find on API access is the following
Which leads here (lots of the other links don't work)
https://docs.microsoft.com/en-us/stream/streamnew/new-stream
which mentions the Graph API
But this is all talking about New Stream (after the files are moved to SharePoint) AND my situation (and yours too I think swhitestrath is old Stream).
Sorry I don't have a better option for you.