Announcements
Hi,
I have a Model Driven App (in a solution).
Can I include an HTML/JS Web Resource that directly queries the Graph API ?
If not, how can I access the Graph API within my Model Driven App ?
Thanks
- Rory
Have you tried using the method mentioned in the below article to call the REST API? You will also most likely have to enable CORs as well when making the call to the external API.
https://docs.microsoft.com/en-us/graph/use-the-api#call-a-rest-api-method
Thank you for the reply.
In order to use the Graph, I need an access_token ?
GET https://graph.microsoft.com/v1.0/users
HTTP/1.1 Authorization : Bearer {access_token}
How will I get the Access Token from within the Model Driven App ?
Did you solve getting the token?
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 234 Super User 2026 Season 2
WarrenBelz 207 Most Valuable Professional
timl 122 Super User 2026 Season 2