问题 public string[] scopes1 = new string[] { "https://graph.microsoft.com/User.Read", "https://graph.microsoft.com/User.ReadWrite", "https://graph.microsoft.com/User.ReadBasic.All", "https://graph.microsoft.com/Mail.Send", "https://graph.microsoft.com/Calendars.ReadWrite", "https://graph.microsoft.com/Mail.ReadWrite", "https://graph.microsoft.com/Files.ReadWrite", }; public async Task<string> GetAccessToken2() { string url = "https://login.microsoftonline.com/common/oauth2/v2.0/authorize?";/