You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 8, 2025. It is now read-only.
Operating System and PowerShell version: Windows 11, PS 5.1
Snipe It version: v7.0.13 build 15514
Expected Behavior
Check the asset out to the user specified.
Current Behavior
The error below:
> set-snipeitaccessoryowner -id 1 -assigned_to 1
Invoke-SnipeitMethod :
assigned_user assigned_asset assigned_location
------------- -------------- -----------------
{The assigned user field is required when none of assigned asset / assigned location are present.} {The assigned asset field is required when none of assigned user / assigned location are present.} {The assigned location field is req...
At C:\Program Files\WindowsPowerShell\Modules\SnipeitPS\1.10.227\Public\Set-SnipeitAccessoryOwner.ps1:69 char:27
+ $result = Invoke-SnipeitMethod @Parameters
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-SnipeitMethod
Context
I'm trying to checkout accessories to a user and getting an error.
set-snipeitaccessoryowner -id <accessory id> -assigned_to <user id>Your Environment
Expected Behavior
Check the asset out to the user specified.
Current Behavior
The error below: