How can an Azure B2C user make a request to Microsoft Graph to retrieve other users' information? ​

Ralf 0 Reputation points


I have created an Azure web application (with React) that uses the Azure B2C service to handle user authentication. Now I would like users to be able to add other users (like a basic social network). So my application should display users' public information to each of them.

It seems that it is not possible for a user to be able to make a request directly to Microsoft Graph to retrieve information from other users.

What is the best way and the securiest to achive that ?

Thanks for your help.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,321 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Akash Jadav 85 Reputation points Microsoft Vendor

    Hi Ralf,

    You can create backend application for reading content of all users. Application Permissions needs to be provided to this app.

    You can try with creation of demo app as mentioned in documentation. Permissions Reference in MS Graph:

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    0 comments No comments