Microsoft Graph API unable to Send Email C# Console
问题 I have created a small Console Ap p to send email using Microsoft Graph API . Tutorial Used https://docs.microsoft.com/en-us/graph/api/user-sendmail?view=graph-rest-1.0&tabs=csharp Error ServiceException: Code: NoPermissionsInAccessToken Message: The token contains no permissions, or permissions can not be understood. Code using System; using System.Collections.Generic; using System.Linq; using System.IO; using Microsoft.Graph; using Microsoft.Graph.Auth; using Microsoft.Graph.Extensions;