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
Rolzzzz agreed it is a pain. If you've got some coding friends see if they've got a solution. It is well above what I was able to figure out 🙂
Dorje-McKinnon I'm going to see if "Invoke-WebRequest" is something we can use to automate it
https://linuxhint.com/run-wget-powershell
- RolzzzzNov 23, 2021Copper Contributorwasted a good few hours, but just cant get cli auth working... raging hard that this is a roadblock grumble...
- Dorje-McKinnonNov 23, 2021Iron ContributorRolzzz Not sure where you're getting authorisation issues, but check row 50 of the code. The script has to run under one security context and the browser window also needs to have credentials entered into it.
- RolzzzzNov 23, 2021Copper Contributorwas trying to get PS to auth into Stream without a browser so I could Invoke-WebRequest the generated weblinks to auto download the json files to the specified download folder...