![]() ![]() VbNewLine & "HTTP request status: " & xml. MsgBox "Error" & vbNewLine & "Ready state: " & xml.readyState & _ GetToken = doc.getElementsByName("access_token")(0).Value If xml.readyState = 4 And xml.Status = 200 Then I think it can be useful for all users that have only poor knowledges like me in VBA and O365 authorization but have lot needs/ideas to improve their productivity using O365. I created this macro in Outlook: Sub TaskPlannerCreation()ĭim PlannerService As New MSXML2.XMLHTTP60 I finally succeeded to get a token for Graph Api connexion using Implicit grant flow technic. ![]() If yes, how to handle O365 authorization? I have seen plenty of topics saying to create an application in Microsoft Azure to get a token but I am surprised I must do that for a simple local use.Īfter discovering Microsoft Graph, I tried this API in Graph ExplorerĬonsequently, in my mind, it was possible to call this API from VBA code executed directly in Outlook. Is it possible to call Microsoft Graph API using VBA code? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |