Link to home
Start Free TrialLog in
Avatar of Rohit Bajaj
Rohit BajajFlag for India

asked on

Microsoft application REgistration only show permissions for Microsoft Graph

Hi,
The microsoft application registration page shows only Microsoft Graph Permissions. But i want to fetch dynamics 365 leads data...
AS i understand microsoft Graph is for different purpose so does that means i cannot fetch leads data from dynamics 365 using microsoft application registration page ?
Here is the page i am talking about - https://apps.dev.microsoft.com/#/application

Thanks
Avatar of Feridun Kadir
Feridun Kadir
Flag of United Kingdom of Great Britain and Northern Ireland image

What's the bigger picture here?  What are you trying to do?  There might be a totally different approach.
Avatar of Rohit Bajaj

ASKER

I  am making a java program which will fetch all the leads that are created in a month for a users...
eg hit /leads and fetch the results.... so i am using v2.0 endpoint for OAuth and registering by app on microsoft portal...
I am able to get the accessToken  but when i hit /api/data/v9.0/leads i get invalid token error.

Dont know why.. So i was wondering if i have to register the app on Azure portal directly instead of the new app registration page and grant the permission there...
But i have tried there also i get the same error
Also if i am registering the application on Azure portal should i be using v1.0 endpoints for OAUth ??
ASKER CERTIFIED SOLUTION
Avatar of Feridun Kadir
Feridun Kadir
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial