Issue while using AWAIT with GraphserviceClient in VB.NET

Viewed 37

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 Answers
Related