hongbo-miao / microsoft-graph-angular

This project is showing how you can use Microsoft Graph in your Angular 4 project
11 stars 4 forks source link

Multi-Tenant access issue #3

Open ravivit9 opened 6 years ago

ravivit9 commented 6 years ago

Hi,

I am using Angular 6.0.3 version and have been trying to get user profile picture from MS Graph API.

Using this library invokes the MS login page which is good. But after successful login I am getting the following error despite setting my Azure app to Multi-tenant.

<>is+not+supported+over+the+/common+or+/consumers+endpoints.+Please+use+the+/organizations+or+tenant-specific+endpoint.

What I did is I followed the below operation path Azure portal -> Azure Active Directory -> App Registraitons -> Select Project name -> Settings -> Properties -> Select Yes for Multi-Tenant.

Would you be able to give a better picture on how to set the Azure app to be a multi-tenant?

Is the above process is appropriate? or do I need to do something different?

hongbo-miao commented 6 years ago

Hi @ravivit9 I have left Microsoft, maybe this demo https://github.com/microsoftgraph/angular4-connect-sample can give some help?