I am looking for an example JavaScript for playing with the Microsoft Graph API. Although I found https://github.com/OfficeDev/O365-Angular-Microsoft-Graph-Connect ; I do not work. Do I have to be an AAD administrator to register it correctly? I am just an ordinary user of my Office365 organization.
I used the wizard at http://graph.microsoft.io/app-registration . I registered the application through 1) the current registration tool and 2) a new registration portal. Both routes provided me with a unique client. When I try to run the Angular example via clientId 1, I get the following error:
AADSTS90093: Calling principal cannot consent due to lack of permissions.
And through clientId 2, I get the following error:
Application '<clientId>' is not supported for this API version.
What is your guide?
source
share