Issue while using AWAIT with GraphserviceClient in VB.NET

291 Views Asked by At

I am implementing Office 365 modern authentication using MSGraph in old application. When I try to access emails using graphserviceclient object asynchronously in console VB.net application it stops execution without giving error.

Same code works fine in C#.

Dim messages = Await graphclientObj.Users("emailid").Messages.Request().GetAsync()

It stops the application. Please suggest

0

There are 0 best solutions below