1
votes

I am using the recently published for preview Office 365 Unified Web APIs. In general they work, but at least one of the API endpoints is either not working, or it is not documented properly.

For instance, the following GET request returns my manager: https://graph.microsoft.com/beta/me/manager

But, calling this URL https://graph.microsoft.com/beta/me/WorkingWith returns a 400 Bad Request, even though it should return the colleagues that I am most collaborating with.

Preview features and Graph queries are enabled both in Office 365 and SharePoint Online settings.

Is anyone experiencing a similar issue? O ris there someone from MS to anser?

2

2 Answers

1
votes

The functionality for /workingWith and /trendingAround is deploying in our production services worldwide and at this point in time it might be that your particular instance has not been updated yet. Please give it a week or so and you should have the functionality on your tenant. Kind regards, Yina

1
votes

Please review https://msdn.microsoft.com/Library/Azure/Ad/Graph/api/graph-api-permission-scopes. You'll see that this permission CAN be consented to by end users on mobile apps (native clients). The admin consent restriction only applies to web apps. Are you seeing a different behavior here?

In time we hope to also introduce some more granular scopes (in the underlying directory) that will allow users to consent to this information without needing to use what is essentially full user impersonation.

Hope this helps,