A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Dear anon1_324,
Good day! Thank you for your reply to Microsoft Community. We are happy to help you.
I read your reply carefully. And I tested multiple times. I got the same error as you.
.
{
"error": {
"code": "itemNotFound",
"message": "The stream could not be found."
}
}
And the reason is the site (https://www.w3schools.com) doesn’t have permission to view the content of Steam. You need to set authentication from a third-party website. You can view the video because you already login to the account. try to go to the incognito window. You will be prompted to login. conclusion when you embed a code to a custom site you need to set up an authentication method in third-party site.
.
I found that if you would like assistance to debug or write such a script, "Unified support" could be able to help. Kindly notice that Unified support is paid service. You may have to sign contraction with MS first to get this type of service if you didn't do it before.
Support limitations for issues with Microsoft 365 Apps - Microsoft 365 | Microsoft Learn
.
To further investigate about the issue We’d suggest you contact your office 365 administrator to go to Office 365 Admin Center-> Support-> New Service Request, the support engineers there have the correct escalation channel and this is the most efficient way to report such issue.You can refer to this article to check the way how to raise a ticket. Ways to contact support for business products - Admin help. The engineers in related team have higher permission and resources than us and they may help check it from background.
If there is any misunderstanding, please feel free to correct me.
Have a nice day!
Best regards,