Hello,
How can I use ms graph api so that I can trigger an email using a context menu option. when a user clicks sendMail option in conextmenu, I need to trigger an email using MS sendMail graph api. I am using enterprise version of dash, thanks!
Hello,
How can I use ms graph api so that I can trigger an email using a context menu option. when a user clicks sendMail option in conextmenu, I need to trigger an email using MS sendMail graph api. I am using enterprise version of dash, thanks!
Hey @codermemem welcome to the forums.
Could you elaborate where exactly you need help? The graph API call is just an request, right?
Hi, To authenticate my app I would need to use either DefaultAzureCredential or any other similar auth menchanisms and when I m trying to import either azure identity or ms graph sdk into a python file its not even recognizing those libraries. How can we register our app in so that we can authenticate and call the api’s. Also, should we need to handle this whole as callback or should we need to handle this in dashAgGridFunctions.js? It would be great if u can direct me with some examples, thanks!
Hello @codermemem,
It really depends on the flow process. You can send the user an email if you want from an address you control.
Or, you could have the user register and provide an OIDC login for the user to be verified with Microsoft within your app and then send emails as the user.
Either way, your app just needs to be able to store the data and use it when the time comes to trigger an email. There should be examples of both Python and JS performing this task.
My suggestion is that you create a function that will perform the task in the way that you want it, and then during a callback you can trigger the function.