Installation failed? WriteWarning when executing Get-GAUser

119 views
Skip to first unread message

jmc...@chef.io

unread,
Dec 27, 2016, 2:09:30 PM12/27/16
to gshell-discuss
Good Day,

I followed the instructions for setting up a new OAuth client id and ran Set-GShellClientSecrets. I enabled all the API's for mail and when I run the Get-GAUser -ALL I get asked to verify which api's I want to connect to. I select all and at the end where it asks me to hit enter to accept I immediately get an error telling me WriteWarning on Line1. What am I doing wrong please?

Cheers
John

jmc...@chef.io

unread,
Dec 27, 2016, 2:41:29 PM12/27/16
to gshell-discuss, jmc...@chef.io
OK, I figured out part of it. The instructions are not clear. When you run Get-GAUser for the first time you are expected to pick a scope. I chose to view and enable all scopes which failed. If I just view and enable the read-write scopes, that works fine.

BUG....

Spencer Varney

unread,
Dec 27, 2016, 3:26:55 PM12/27/16
to jmc...@chef.io, gshell-discuss
Hi John,

I'm glad to hear you were able to get things working and I'm sorry that you had issues getting started. Unfortunately, I haven't been able to reproduce the issue you're describing.

If you could provide a bit more information, I'd be happy to see what we can find out. For instance, the version of gShell you were using, what steps you had taken prior to this point, a code example, and a copy of the error would all be helpful. Also, if you're able to find a scenario that successfully allows you to reproduce the issue please pass that along and I'll see if I can do the same.

Additionally, you mentioned the instructions were unclear. If you could point me to where you're referring, I'd be happy to see if we can find something that is a bit more comprehensive.

Can anyone else speak to experiencing or reproducing this issue, in the meantime?

Thanks and happy holidays!

Spencer
pasted1

On Tue, Dec 27, 2016 at 2:41 PM <jmc...@chef.io> wrote:
OK, I figured out part of it. The instructions are not clear. When you run Get-GAUser for the first time you are expected to pick a scope. I chose to view and enable all scopes which failed. If I just view and enable the read-write scopes, that works fine.

BUG....

--
You received this message because you are subscribed to the Google Groups "gshell-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gshell-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Message has been deleted

tal...@warren-wilson.edu

unread,
Jun 21, 2017, 11:50:09 AM6/21/17
to gshell-discuss, jmc...@chef.io
Replying to say this fix worked for me as well - thanks for posting your solution John. I was getting the "notimplementedexception" error.
Reply all
Reply to author
Forward
0 new messages