I need to write a webpart, which shows data from the MS Graph.
I wrote this example code
But wow I can bring the Department and Name (result form the MS Graph) into the HTML rendering?
When I really understand the MSGraphClient works asynchron. How can I get save, that first the MSGraphClient gets the result and the build the HTLM rendering part?
Thanks for your helpStefan