-
Notifications
You must be signed in to change notification settings - Fork 67
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
G Suite Business - Archived User #252
Comments
Never mind, found the solution. Added this code bellow to the param set of Update-GSUser. This worked for me.
|
hey @blocconl - Thanks for opening this up! So this is a license switch completely, I take it? First I've seen that license type tbh, but Google's added a few things over time. If that's all that is needed to get the license switched over, I'll work on adding that to the actual code base for the next release |
Hey @scrthq, Would be nice if the 'Archived User' license could be added to Get-GSUserLicense so you have a overview of 'Archived Users'. Thanks! |
hey @blocconl - so it looks like Archived User licenses might not be in the standard license type (not finding it under the Product and SKU list at least). I don't have any Archived User licenses purchased for any of my domains; do you get anything back at all when trying This might be similar to Cloud Identity Free licenses in that they aren't visible through the License API, seeing what I can do though |
## 2.35.0 - 2019-12-29 * [Issue #216](#216) - _Thank you, [@WJurecki](https://github.com/WJurecki)!_ * Added `Add-GSSheetValues` to use the native `Append()` method instead of `BatchUpdate()` to prevent needing to calculate the last row like you do with `Export-GSSheet`. Since the input for this method has additional options and the output differs from what `Export-GSSheet` outputs, this has been moved to a unique function to prevent introducing breaking changes to `Export-GSSheet`. * [Issue #221](#221) * Added: `Invoke-GSUserOffboarding` function to wrap common offboarding tasks for ease of access management automation. * [Issue #248](#248) * Fixed `Get-GSSheetInfo` so it no longer defaults `-IncludeGridData` to `$true` if not specified in `$PSBoundParameters`. * [Issue #249](#249) * Updated private function `Resolve-Email` with new `IsGroup` switch, then cleaned up all `*-GSGroup*` functions to use it so that Group ID's are respected based on RegEx match. * [Issue #252](#252) * Added: `Archived` parameter to `Update-GSUser` to enable setting of Archived User licenses. * Miscellaneous * Swapped instances of `Get-StoragePath` for `Get-ConfigurationPath` in `Import-SpecificConfiguration` and `Set-PSGSuiteConfig` to avoid alias related issues with PowerShell 4.0
@blocconl - the |
@scrthq - I have tested the I added the Product ID and SKU ID for 'archived users' to Get-GSUserLicense when i call a user than i get the license back. ProductId : 101034 |
Awesome!!! Thank you for sending those product and SKU IDs!! I'll get those added in to the *License functions ASAP. Although not officially documented, looks like GAM-X has the full list (or at least a more complete one) with a few others not documented as well: https://github.com/taers232c/GAMADV-X/blob/2da360608a13a4142c57b3416b737fa6291565e5/src/gamlib/glskus.py |
Is your feature request related to a problem? Please describe.
We would like to Get/Remove/Set/Update the 'G Suite Business - Archived User' license.
Describe the solution you'd like
We would like to use this feature in PSGSuite
Describe alternatives you've considered
I have seen that GAM supports this license.
Additional context
ProductId : 101034
ProductName : G Suite Archived User
SkuId : 1010340002
SkuName : G Suite Business - Archived User
The text was updated successfully, but these errors were encountered: