Rohit Bajaj
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
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
What's the bigger picture here? What are you trying to do? There might be a totally different approach.
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
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
ASKER
Also if i am registering the application on Azure portal should i be using v1.0 endpoints for OAUth ??
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.