Skip to content

[pull] dev from KelvinTegelaar:dev#962

Open
pull[bot] wants to merge 188 commits intobmsimp:devfrom
KelvinTegelaar:dev
Open

[pull] dev from KelvinTegelaar:dev#962
pull[bot] wants to merge 188 commits intobmsimp:devfrom
KelvinTegelaar:dev

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Apr 28, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

TecharyJames and others added 30 commits April 1, 2026 08:13
[pull] dev from KelvinTegelaar:dev
[pull] dev from KelvinTegelaar:dev
[pull] dev from KelvinTegelaar:dev
[pull] dev from KelvinTegelaar:dev
[pull] dev from KelvinTegelaar:dev
[pull] dev from KelvinTegelaar:dev
[pull] dev from KelvinTegelaar:dev
[pull] dev from KelvinTegelaar:dev
[pull] dev from KelvinTegelaar:dev
[pull] dev from KelvinTegelaar:dev
[pull] dev from KelvinTegelaar:dev
[pull] dev from KelvinTegelaar:dev
[pull] dev from KelvinTegelaar:dev
[pull] dev from KelvinTegelaar:dev
[pull] dev from KelvinTegelaar:dev
[pull] dev from KelvinTegelaar:dev
[pull] dev from KelvinTegelaar:dev
[pull] dev from KelvinTegelaar:dev
[pull] dev from KelvinTegelaar:dev
[pull] dev from KelvinTegelaar:dev
[pull] dev from KelvinTegelaar:dev
[pull] dev from KelvinTegelaar:dev
[pull] dev from KelvinTegelaar:dev
[pull] dev from KelvinTegelaar:dev
[pull] dev from KelvinTegelaar:dev
[pull] dev from KelvinTegelaar:dev
[pull] dev from KelvinTegelaar:dev
Zacgoose and others added 30 commits May 8, 2026 14:02
**Important:** This PR is dependant on
JohnDuprey/DNSHealth#26 being merged and the
module updated in CIPP

Implement AutoDiscover record validation in the domain analysis process
and enhance the domain health listing functionality to support
AutoDiscover record retrieval.

Frontend PR: KelvinTegelaar/CIPP#5974
…#2041)

## Summary
- Adds optional `usageLocation` (ISO 3166-1 alpha-2) to JIT Admin user
creation via Graph API
- Saves `defaultUsageLocation` in JIT Admin templates (both Add and
Edit)
- Prevents Huntress false-positive alerts for JIT Admin accounts missing
usage location

Fixes KelvinTegelaar/CIPP#5910

Companion PR (frontend):
KelvinTegelaar/CIPP#5971

## Changes
- `Set-CIPPUserJITAdmin.ps1` — conditionally includes `usageLocation` in
the Graph POST body when creating users
- `Invoke-ExecJITAdmin.ps1` — passes `usageLocation` from request body
to the User hashtable
- `Invoke-AddJITAdminTemplate.ps1` — saves `defaultUsageLocation` in
template object
- `Invoke-EditJITAdminTemplate.ps1` — same for template editing
- Updated Set-CIPPManager and Set-CIPPSponsor functions to accept multiple users for bulk processing.
- Modified Invoke-EditUser and Invoke-PatchUser to handle bulk updates for managers and sponsors.
- Enhanced logging for success and error messages during updates.
The autocomplete component sends {label, value} objects but the
Graph API expects a plain string for usageLocation. Extract .value
before passing to API, matching the pattern used by other user
endpoints (Invoke-AddUserDefaults, Invoke-EditUser, etc).
The usageLocation autocomplete sends {label, value} objects but Graph
API
expects a plain string. This causes a "StartObject node found for
usageLocation, PrimitiveValue expected" error when creating JIT Admin
users.

Extract .value before passing to the API, same as Invoke-AddUserDefaults
and Invoke-EditUser already do.
Enable bulk processing for setting multiple managers and sponsors in
user updates.
Introduce 'manager' and 'sponsor' properties to the user patching
functionality.

Frontend PR: KelvinTegelaar/CIPP#5976
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

⤵️ pull merge-conflict Resolve conflicts manually

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants