Question from @ankushsaxena12 via Twitter:
I have a query regarding on Azure AD Graph API. I need to be able to get the signed in user's group membership so that I can verify whether he is part of a specific group. However I am getting "Insufficient privileges to complete the operation."
exception using the graph API client library.
I am a co-admin of a subscription and I have created a new Azure AD application to authenticate against the default directory. In the Permissions to Other Applications section, I am getting a message "You are authorized to select only delegated permissions
which have personal scope." Anyways, I selected the "Access the directory as the signed-in user" and "Sign in and read user profile" in the delegated permissions. Now, I am able to fetch the signed in user details, but when I try to
call MemberOf function, then I get the above exception. Can you please check and let me know what I am missing here. Thanks in advance!
Thanks,
@AzureSupport