Receiving Insufficient Permission error from DirectoryService

前端 未结 4 1466
执笔经年
执笔经年 2021-01-12 08:00

I am trying to setup c# code to manage our Google domain.

I am receiving this error whenever I call service.Users.List() or any other method from the DirectoryServic

4条回答
  •  没有蜡笔的小新
    2021-01-12 08:46

    The doc at url https://developers.google.com/gmail/api/quickstart/dotnet has scope set as static string[] Scopes = { GmailService.Scope.GmailReadonly }; set it as GmailService.Scope.MailGoogleCom and then continue with the flow as specified in the document.It was a bummer i was editing the scope in my token respnse file

提交回复
热议问题