microsoftgraph / aspnetcore-connect-sample

[ARCHIVED] This ASP.NET Core MVC sample shows how to connect to Microsoft Graph using delegated permissions and the Azure AD v2.0 (MSAL) endpoint.
MIT License
123 stars 96 forks source link

The profile picture is not loading and getting access denied error. #44

Closed anurajrajagopal closed 4 years ago

anurajrajagopal commented 5 years ago

Hi Team,

Able to read the user profile details. But the profile picture is not loading and getting below exception. Have set the readbasic and read properties as well.

Code: ErrorAccessDenied Message: Access to OData is disabled.

Please help to figure it out.

Thanks, Anuraj Rajagopal

mark-szabo commented 5 years ago

Which version of the graph API are you using? v1.0 or beta? What kind of account are you using to sign in? Personal, or Work or school account?