Share via

REST api authentication for Stream and Sharepoint?

matt howell 3,511 Reputation points
2021-07-26T21:01:16.727+00:00

We're using Azure AD authentication and REST apis to pull Sharepoint content into a native mobile app. Many pages have Stream videos embedded in them and there seems to be some confusion about whether an Azure auth token for "allsites" will also authenticate a user for the Stream urls.
As far as I know, Msft never developed the apis for Stream that they promised 4 years ago, so I'm wondering if a better option would be to use Graph apis. Would that resolve authentication issues for Stream and Sharepoint?

Microsoft 365 and Office | SharePoint | Development
Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments

1 answer

Sort by: Most helpful
  1. MichaelHan-MSFT 18,136 Reputation points
    2021-07-27T07:43:10.8+00:00

    Hi @matt howell ,

    Graph api would not work for you. As far as I know, Stream is also not available in the Graph Api currently.

    For your requirement, using sharepoint library to store the video files will be a good choice.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.