[pull] dev from KelvinTegelaar:dev#1104
Merged
Merged
Conversation
Update `Get-CIPPCVEReport` to query `DefenderCVEs` with the provided `$TenantFilter` instead of always using `allTenants`. For single-tenant requests, it now resolves tenant metadata via `Get-Tenants -TenantFilter` and uses the returned CVE set directly, removing redundant per-item customer ID filtering. This aligns report output and exception matching with the requested tenant context.
Prevent schema extension updates from attempting invalid status rollbacks by applying status changes only when moving forward in Graph’s lifecycle (InDevelopment -> Available -> Deprecated). Also refresh the schema from Graph after PATCH so subsequent persistence uses the latest values.
Introduce a selection for mailbox types in the mailbox quota alert functionality. Frontend PR: KelvinTegelaar/CIPP#6380
Add `Get-CIPPAppApprovalPermissions` to centralize template permission resolution and prefer the linked `PermissionSetId` as the source of truth, with fallback to template-stored permissions for legacy or missing sets. Update app and delegated permission grant paths to use this helper, and fix template creation by merging duplicate `resourceAppId` entries and deduplicating permission claims so delegated and application scopes are not lost.
App protection policy lists expose the singular @odata.type as the URLName, but Graph delete/assign need the plural collection segment under deviceAppManagement. RemovePolicy sent these to deviceManagement with the singular name, so deletes failed with "Resource not found for the segment". Assign shared the same gap. Mirrors the normalization already in Invoke-EditIntunePolicy. Fixes KelvinTegelaar/CIPP#6384
Normalization of app protection policy URLs ensures that the correct plural segments are used for deletion requests. This change addresses the issue where deletion fails with "Resource not found for the segment" by mapping singular URL names to their respective plural forms under the deviceAppManagement endpoint. Fixes KelvinTegelaar/CIPP#6384
Update Set-CIPPResetPassword to branch on onPremisesSyncEnabled and use the Graph resetPassword method for directory-synced users instead of patching passwordProfile. This aligns synced-account resets with password writeback behavior, clarifies that reset completion is asynchronous and force-change is always enforced, and adjusts user/log messaging accordingly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 : )