I’ve been working on an Unofficial Powershell module that simplifies interactions with VMware Workspace ONE Access. It offers a set of functions to manage OAuth authentication and token retrieval for various Workspace ONE Access operations. This module is particularly useful for administrators and developers integrating Workspace ONE capabilities into their automation workflows.
You can find the first version of the module on my GitHub page or in the Powershell Gallery.
The module currently contains the following commands:
Open-WS1AccessConnection: Establishes an OAuth connection using client credentials and retrieves an access token.
Get-WS1MagicToken: Retrieves a magic token for service-to-service authentication.
Reset-WS1MagicToken: Resets the magic token, generating a new one for secure authentication.
Remove-WS1MagicToken: Revokes an existing magic token.
Add-WS1User: Adds a new user to Workspace ONE Access.
Update-WS1User: Updates user details in Workspace ONE Access.
Remove-WS1User: Removes a user from Workspace ONE Access.
Get-WS1User: Retrieves a list of users from Workspace ONE Access.
Get-WS1UserByUsername: Retrieves a specific user from Workspace ONE Access by username.
Get-WS1Directory: Retrieves information about all directories configured in Workspace ONE Access.
Get-WS1DirectoryById: Retrieves detailed information about a specific directory by its ID.
Sync-WS1Directory: Triggers a synchronization for a specific directory in Workspace ONE Access.
Get-WS1LoginAuditForUser: Retrieves login audit logs for a specific user within a given time range.
Get-WS1LoginAuditForDateRange: Retrieves login audit logs for all users within a specified date range.
Get-WS1AuditReport: Retrieves a detailed audit report for Workspace ONE Access events.
Let me know what possible additions can be added in the comments or make suggestions in the Omnissa Community.