I'm currently testing RESTfull API access to Office365 Sharepoint server using bearer authentication (oAuth2). I can succesfully get current files in the OneDrive via the /_api/web endpoint but get System.UnauthorizedAccessException on all _/api/social.feed endpoints.
I granted all available Sharepoint rights in AAD to the (test) application, just to be on the safe side, the token says: [scp] => MyFiles.Write MyFiles.Read AllSites.FullControl AllSites.Manage AllSites.Write AllSites.Read
The exact same endpoint is accessible and returns a sane result when accessed through a browser with "normal" fedAuth/rtFa authentication cookies (aka normal browser login) for the same user.
What am I doing wrong to retrieve the social.feed(/my/feed) for the access_token I'm presenting?