This release is a rollup release adding several new functions to the PowerShell SDKs:
JumpCloud.SDK.V1:
Initialize-JcSdkUserState.ps1
Reset-JcSdkAdministratorUserActivation.ps1
Reset-JcSdkAdministratorUserTotp.ps1
Search-JcSdkCommand.ps1
Set-JcSdkAdministratorUser.ps1
Sync-JcSdkUserMfa.ps1
JumpCloud.SDK.V2:
Get-JcSdkApplication.ps1
Get-JcSdkGsuiteUsersToImportFormated.ps1
Import-JcSdkScim.ps1
BugFix for:
JumpCloud.SDK.V2: Get-JcSdkGsuiteUsersToImport.ps1, in previous versions of the published SDK, this function would not return the nextPageToken required to get the next page of Google Workspace users
Is there anything particularly tricky?
N/A
How should this be tested?
Initalize-JcSdkUserState - Tests written into this release, See related test
Create a new staged user get their ID:
Initialize-JcSdkUserState -Id {userID} -email {your.email+inittest@jumpcloud.com}
You should see an email in asking for the user to login to JumpCloud
Reset-JcSdkAdministratorUserActivation - Not explicitly testing to prevent unauthorized access - test locally and activation emails should be sent!
Create an admin account in your testing org something with an email like {your.email+adminskdtest@jumpcloud.com}
Reset-JcSdkAdministratorUserActivation -id {someAdminUserId}
You should see an email in asking for the admin to login
Reset-JcSdkAdministratorUserTotp - Not explicitly testing to prevent unauthorized access - test locally and activation emails should be sent!
Using the admin in your previous test
Reset-JcSdkAdministratorUserTotp -id {someAdminUserId}
You should see an email in asking for the admin to reset their TOTP activation
Search-JcSdkCommand - Tests written into this release, See related test
Search-JcSdkCommand should return all commands in your org, try playing with the filters
Set-JcSdkAdministratorUser - Tests written into this release, See related test
Using the admin in your previous administrator test
Reset-JcSdkAdministratorUser -id {someAdminUserId} -firstname "Test"
The admins firstname should be "Test"
Sync-JcSdkUserMfa - Tests written into this release, See related test
Sync-JcSdkUserMfa -id {SomeUserID} should not throw an error
Get-JcSdkApplication (V2) - Tests written into this release, See related test
Get-JcSdkApplication -id {someSSOApplicationID} should return the SSO app
Import-JcSdkScim (V2) - No resource to test with
Get-JCSdkGusiteUsersToImportFormatted (V2) - Tested locally with a Guiste integration, not testing automatically since we can’t import users w/o breaking things
Get-JCSdkGusiteUsersToImportFormatted -GsuiteID {yourGoogleWorkspaceID} should return first page of jumpcloud mapped (formatted) results
Get-JCSdkGusiteUsersToImport (V2) - Tested locally with a Guiste integration, not testing automatically since we can’t import users w/o breaking things - the nextPageToken should be returned when you run this function.
Get-JCSdkGusiteUsersToImport -GsuiteID {yourGoogleWorkspaceID} should return first page of results
Issues
What does this solve?
This release is a rollup release adding several new functions to the PowerShell SDKs:
JumpCloud.SDK.V1:
JumpCloud.SDK.V2:
BugFix for:
JumpCloud.SDK.V2: Get-JcSdkGsuiteUsersToImport.ps1, in previous versions of the published SDK, this function would not return the
nextPageToken
required to get the next page of Google Workspace usersIs there anything particularly tricky?
N/A
How should this be tested?
Initalize-JcSdkUserState - Tests written into this release, See related test
Create a new staged user get their ID:
Initialize-JcSdkUserState -Id {userID} -email {your.email+inittest@jumpcloud.com}
You should see an email in asking for the user to login to JumpCloudReset-JcSdkAdministratorUserActivation - Not explicitly testing to prevent unauthorized access - test locally and activation emails should be sent!
Create an admin account in your testing org something with an email like {your.email+adminskdtest@jumpcloud.com}
Reset-JcSdkAdministratorUserActivation -id {someAdminUserId}
You should see an email in asking for the admin to loginReset-JcSdkAdministratorUserTotp - Not explicitly testing to prevent unauthorized access - test locally and activation emails should be sent!
Using the admin in your previous test
Reset-JcSdkAdministratorUserTotp -id {someAdminUserId}
You should see an email in asking for the admin to reset their TOTP activationSearch-JcSdkCommand - Tests written into this release, See related test
Search-JcSdkCommand
should return all commands in your org, try playing with the filtersSet-JcSdkAdministratorUser - Tests written into this release, See related test
Using the admin in your previous administrator test
Reset-JcSdkAdministratorUser -id {someAdminUserId} -firstname "Test"
The admins firstname should be "Test"Sync-JcSdkUserMfa - Tests written into this release, See related test
Sync-JcSdkUserMfa -id {SomeUserID}
should not throw an errorGet-JcSdkApplication (V2) - Tests written into this release, See related test
Get-JcSdkApplication -id {someSSOApplicationID}
should return the SSO appImport-JcSdkScim (V2) - No resource to test with
Get-JCSdkGusiteUsersToImportFormatted (V2) - Tested locally with a Guiste integration, not testing automatically since we can’t import users w/o breaking things
Get-JCSdkGusiteUsersToImportFormatted -GsuiteID {yourGoogleWorkspaceID}
should return first page of jumpcloud mapped (formatted) resultsGet-JCSdkGusiteUsersToImport (V2) - Tested locally with a Guiste integration, not testing automatically since we can’t import users w/o breaking things - the nextPageToken should be returned when you run this function.
Get-JCSdkGusiteUsersToImport -GsuiteID {yourGoogleWorkspaceID}
should return first page of resultsScreenshots