Forum Discussion
Fromelard
Feb 21, 2019Steel Contributor
PowerShell script to audit and export Channel content details of your Office 365 Stream
Following the previous script developed to audit Office 365 Video Portal:
https://techcommunity.microsoft.com/t5/Office-365-Video/PowerShell-script-to-audit-and-export-all-content-details-of/m-p/...
EbenLiu1390
Mar 21, 2019Copper Contributor
Fromelard I tried to follow up these steps, but it returns 401 when I run the API query. For example, I signed in Stream with global admin and then access https://euno-1.api.microsoftstream.com/api/channels?$top=100&$orderby=metrics%2Fvideos%20desc&$expand=creator,group&api-version=1.3-private&$skip=0, it return 401. May I know if I missed something?
- FromelardMar 21, 2019Steel Contributor
EbenLiu1390 I just retried the first 2 steps, identifying:
- https://web.microsoftstream.com/?NoSignUpCheck=1
and load the first 100 channels successfully from my side
Fab
- Filippo_MorosiniJun 25, 2020Brass Contributor
Hi,
Also here 401 while clicking on the 2nd link, I am both stream admin and MS365 global admin
- Mel_ZakJul 27, 2020Copper Contributor
Filippo_Morosini Would it be possible for you to update this blog post for 2020 accuracy? I just want to make sure I'm referencing the most current information.
- EbenLiu1390Mar 21, 2019Copper Contributor
Fromelard Thanks for your reply. I can run it now with
https://aase-1.api.microsoftstream.com. So I think the internal API endpoint is different for Stream tenant in a different region.- FromelardMar 22, 2019Steel Contributor
Thanks a lot for your update, in that case, if we want to use that solution, we only have to use the internal API Root URL per tenant region.
By the way, Microsoft communicated their current activity on that public API.
I will try to find the list of Tenant Root URLs for Stream, if you have something related feel free to post it in comment
Fab
- FromelardMar 21, 2019Steel Contributor
EbenLiu1390 Error 401 is related to permission question.
Are you sure to be Stream Admin ?
I will retry it from my tenant next week to confirm if it's still possible to use that solution.
Is anyone else has the same error loading similar link ?
Fab