Forum Discussion
Issues with permissions again
- Dec 04, 2023
Jennifer Loudiana For embed to work you need to set direct permissions on the video as share links only work when someone clicks the specific link you created. We don’t have share links tied to embed codes.
Thus you need to go to Manage access, and in the upper right there is a button to Grant access. From there type in the security groups, m365 groups, or users you want to access the video via embed and grant them access. Or you can type in “everyone except external users” which if enabled in your organization will make everyone except guests instantly have access to that video.
And sharing those videos from OneDrive is risky as when or if that person leaves the files in OneDrive are deleted.
You haven't provided quite enough detail for me to completely answer your questions. First question you asked. . . is your user storing a video(s) in OneDrive and then using the "Share" button to email someone a link to view the video? Or are they using that "Share" link to add it to an email? Or. . . are they using a "Share" link from OneDrive to attempt to post a video to a SharePoint web page on your intranet? Also, was the video migrated from Stream Classic or did they just upload it to OneDrive themselves?
There is a new section of documentation that may help you related to permissions at https://learn.microsoft.com/en-us/stream/streamnew/migration-details#permissions-and-destinations.
The issues with embedding videos vs links appears to be resolved per the Bug tracking list here:
https://learn.microsoft.com/en-us/stream/streamnew/migration-tool-release-logs#migration-tool-bugs-undertaken-to-be-fixed
- Jennifer LoudianaNov 28, 2023Brass ContributorKaren,
These were not migrated, just loaded into OneDrive and they are embedding in an LMS and have set to anyone with the link can view or edit. People are getting the request access option when they see it and once they are added as an individual to the video they can see it.- Marc MrozDec 04, 2023
Microsoft
Jennifer Loudiana For embed to work you need to set direct permissions on the video as share links only work when someone clicks the specific link you created. We don’t have share links tied to embed codes.
Thus you need to go to Manage access, and in the upper right there is a button to Grant access. From there type in the security groups, m365 groups, or users you want to access the video via embed and grant them access. Or you can type in “everyone except external users” which if enabled in your organization will make everyone except guests instantly have access to that video.
And sharing those videos from OneDrive is risky as when or if that person leaves the files in OneDrive are deleted.
- karen_dredskeNov 28, 2023Iron ContributorHonestly, I would stop loading the files to OneDrive because from a file management perspective, if that user ever leaves and their account is deactivated, then no one has access. I would setup a SharePoint site and in the Site visitor permissions group add Everyone except external users. Then, capturing the link from there you "should" have less issues because the site will allow visitors to view videos. I have heard your scenario quite a few times and although it is supposed to work, I think it gets caught because the OneDrive "site" for that user is not open to everyone as it is their personal file storage space in the Microsoft tenant. Therefore, it has to get past that to the file and has to confirm that the user accessing the file has access.
I reviewed the instructions on embedding found here to see if I saw anything different.
https://support.microsoft.com/en-us/office/embedding-stream-content-in-third-party-sites-b50b6cd2-be3b-44b0-8a6b-8bebc5ba3e3a#ID0EFD=Embed_from_OneDrive_(for_Business)
I still believe that this is most likely your issue since the users are given the screen to request access and then are able to get to the video. An additional benefit of posting those videos on a SharePoint site instead of someone's OneDrive account is that if that user leaves the organization, you don't have to worry about all access to those videos being lost when that person's license is removed.