Does Azure Active Directory App Model v2 support graph api?

i am not able to consent the graphi api permission in active directory v2 (app model v2). I tried below: Incremental and dynamic consent example

https://azure.microsoft.com/en-us/documentation/articles/active-directory-v2-compare/

Error i got: The provided value for the input parameter 'scope' is not valid. The scope https://graph.windows.net/directory.read is not valid.

consent url

Answers


The Microsoft Graph (https://graph.microsoft.com) partially supports the App Model v2 - specifically the outlook scopes (e.g. mail.read) and directory scopes (e.g. directory.read.all). Other scopes such as File and Sites don't.

The Azure AD Graph (https://graph.windows.net) does not support the App Model v2 at all.

Directory.Read isn't being accepted because it isn't a valid scope, you're either after User.Read or Directory.Read.All

See http://graph.microsoft.io/en-us/docs/authorization/permission_scopes for more info.


Need Your Help

Convert Linq statement to be used in abstracted repository pattern

c# linq lambda repository-pattern

This Linq statement works perfectly except that I realized that I am required to use the repository and unit of work ...

Android Place image over image at certain position

android image imageview coordinates

I'm trying to build an app where I have an Image as ImageView which is my background. Now I want to place another Image at a certain position on top of the background. My target is that the user se...