Fail context migration when upload is unavailable
All checks were successful
OfficeCom Sentinel Client / validate-client (push) Successful in 25s
OfficeCom Sentinel Client / build-client-windows (push) Successful in 50s

This commit is contained in:
OfficeCom Codex
2026-08-01 00:42:11 +02:00
parent 94f5be8953
commit f69f14e0b1
2 changed files with 20 additions and 16 deletions

View File

@@ -130,9 +130,10 @@ The script has no script variables and does the following safely:
2. stores the current NinjaOne organization, location, node, and machine values;
3. starts one signed status scan and upload using that stored context.
Expected output includes `OCSENTINEL_NINJA_CONTEXT=updated`. Do not run this
script from an interactive PowerShell session, because NinjaOne does not expose
the required environment values there.
Expected output includes `OCSENTINEL_NINJA_CONTEXT=updated`; this is emitted
only after the immediate upload succeeds. Do not run this script from an
interactive PowerShell session, because NinjaOne does not expose the required
environment values there.
## Secret Bootstrap