Forum Discussion
Dorje-McKinnon
Oct 07, 2020Iron Contributor
Powershell Script to list ALL videos in your 365 Stream environment
I hope this is useful to everyone. My goal was to get a list of all videos in my stream so that I could contact each video creator about the changes that are coming to stream. Also so I could figur...
- 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
Dorje-McKinnon
Nov 23, 2021Iron Contributor
Rolzzz 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.
Rolzzzz
Nov 23, 2021Copper Contributor
was 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...
- mfarleyNov 23, 2021Copper ContributorI ended writing an "autohotkey" type of script to control the keyboard and mouse to automate the downloading of all the files
- Dorje-McKinnonNov 23, 2021Iron Contributor
great solution
Rolzzzz - tried it and couldn't get it working 🙂 It seems that the STREAM internals don't allow for that sort of thing hence the browser based work around. Perhaps mfarley option could work for you ?