Allow the token used to access MS Graph to also be used for SharePoint REST
Have been trying to see if there is a way to authenticate a user once for the graph api and then also use the sharepoint rest api. There are features that are only available in the sharepoint rest api that we would like to use but dont want to ask the user to login again for these specific features.
e.g. we can search individual sites from ms graph but the sharepoint rest api allows us to search all sites.
Tarun Telang commented
This is really a useful feature. If graph token cannot support SharePoint Rest API then need an approach to get the SharePoint bearer token using Outlook callback token. This shouldn`t ask for login at the end as the user already logged into the Outlook with Office 365 account.
Example scenario, we were looking for a way to get the HubSites and associated sites into Outlook add-in which seems not possible with Graph. Like this there are many more scenarios like Search all site collections were not possible.
Andrew Stroz commented
I would also like this functionality.