Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New-GSOrganizationalUnit not working #23

Closed
cooper opened this issue Mar 8, 2018 · 5 comments
Closed

New-GSOrganizationalUnit not working #23

cooper opened this issue Mar 8, 2018 · 5 comments
Assignees
Labels

Comments

@cooper
Copy link

cooper commented Mar 8, 2018

Hello, I am experiencing the following issue with New-GSOrganizationalUnit.

PS C:\scripts\automation> New-GSOrganizationalUnit

cmdlet New-GSOrganizationalUnit at command pipeline position 1
Supply values for the following parameters:
Name: test
New-GSOrganizationalUnit : Method invocation failed because [Google.Apis.Admin.Directory.directory_v1.Data.OrgUnit]
does not contain a method named 'new'.
At line:1 char:1
+ New-GSOrganizationalUnit
+ ~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-GSOrganizationalUnit
@cooper
Copy link
Author

cooper commented Mar 8, 2018

I confirmed that I authorized the scope https://www.googleapis.com/auth/admin.directory.orgunit

@scrthq
Copy link
Member

scrthq commented Mar 8, 2018 via email

@scrthq scrthq self-assigned this Mar 9, 2018
@scrthq scrthq added the bug label Mar 9, 2018
scrthq added a commit that referenced this issue Mar 9, 2018
scrthq added a commit that referenced this issue Mar 10, 2018
@scrthq
Copy link
Member

scrthq commented Mar 10, 2018

@cooper should be good now on v2.1.7! If you installed PSGSuite from the PS Gallery via Install-Module, run Update-Module to pull the new version and test it out!

Keeping this open until I hear back.

@cooper
Copy link
Author

cooper commented Mar 15, 2018

It works! Thank you!

@cooper cooper closed this as completed Mar 15, 2018
@scrthq
Copy link
Member

scrthq commented Mar 15, 2018

no problem!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants