Aspose with Microsoft Graph

Hi,

I use Aspose.email with Microsoft Graph.
I got my token correctly but I have this error message when I call « client.ListFolders() ».

Aspose.Email.AsposeBadServerResponceException
: 'Server error Operation failed.: Une tentative d’accès à un socket de manière interdite par ses autorisations d’accès a été tentée. [::ffff:20.190.139.170]:443 (graph.microsoft.com:443)

I use this code before calling.

var client = GraphClient.GetClient(tokenProvider, );
client.Resource = ResourceType.Me;
client.ResourceId = ;

Someone have an explication please.

Hello @xmlBoy,

Thank you for writing to Aspose.Email support forum.

The most probable reason for the problem is that the server denied access due to insufficient access rights. Check the access rights settings on the server.