Forum Discussion
Ashish Jain
Sep 10, 2017Copper Contributor
Unable to call graph API from SharePoint page
I am trying to call the graph API for fetching user profile information. The blog post I followed is http://julieturner.net/2017/01/extending-sharepoint-with-adal-and-the-microsoft-graph-api-part-1-...
Ashish Jain
Sep 15, 2017Copper Contributor
I was able to resolve this issue. So basically the issue was with the reply url wherein the Azure AD was trying to send the token back to
https://tenant.sharepoint.com/sites/mysite/SiteAssets/ADALTest.aspx
and my reply-url's did not have that entry. I had only entered either my tenant url or sie collection url. Added the same and now works smoothly.