Fix v4.31 upgrade failure: Add missing Abandoned PowerApps SavedQuery to Core Components#10826
Closed
Fix v4.31 upgrade failure: Add missing Abandoned PowerApps SavedQuery to Core Components#10826
Conversation
Resolves upgrade failure from v4.31 where SavedQuery {f9d327af-b6b4-e911-a85b-000d3a372932} cannot be deleted due to dependency reference.
## Problem
- Users upgrading from v4.31 to later versions encounter import error:
'The SavedQuery(f9d327af-b6b4-e911-a85b-000d3a372932) component cannot be deleted because it is referenced by 1 other component'
- The 'Abandoned PowerApps' view exists in Core Components Teams but not in Core Components
- The cr5d5_appisorphaned field exists in Core Components admin_App entity
- During upgrade, residual dependencies cause conflicts
## Solution
- Add the 'Abandoned PowerApps' SavedQuery to Core Components where it's functionally needed
- Eliminates dependency conflict during upgrades
- Aligns view with its dependent field location
- Maintains functionality for identifying abandoned apps
## Changes
- Added: CenterofExcellenceCoreComponents/.../SavedQueries/{f9d327af-b6b4-e911-a85b-000d3a372932}.xml
- Added: Comprehensive issue analysis documentation
## Testing
- Verify upgrades from v4.31 to current version succeed
- Test fresh installations include the view
- Confirm view functionality with cr5d5_appisorphaned field
Fixes #[issue-number]
Add comprehensive documentation for v4.31 upgrade issue with SavedQuery dependency error. Includes: - Quick resolution steps for affected users - Link to detailed technical analysis - Verification steps after upgrade - Added to table of contents for easy discovery
Comprehensive summary document including: - Implementation details - Testing recommendations - Communication templates - Approval checklist - Technical specifications
Copilot
AI
changed the title
[WIP] Fix import error for Center of Excellence solution
Fix v4.31 upgrade failure: Add missing Abandoned PowerApps SavedQuery to Core Components
Feb 9, 2026
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Problem
Upgrades from v4.31 to any later version fail with
SavedQuery(f9d327af-b6b4-e911-a85b-000d3a372932) cannot be deleted because it is referenced by 1 other component. The "Abandoned PowerApps" view exists only in CoreComponentsTeams, but Power Platform Admin View app references it during Core Components upgrade, creating an unresolvable dependency.Changes
Core Fix
CenterofExcellenceCoreComponents/SolutionPackage/src/Entities/admin_App/SavedQueries/{f9d327af-b6b4-e911-a85b-000d3a372932}.xmlcr5d5_appisorphaned = yes(owner account no longer exists)Documentation
TROUBLESHOOTING-UPGRADES.mdwith v4.31 resolution stepsdocs/ISSUE-ANALYSIS-UPGRADE-V431-SAVEDQUERY.mdwith root cause analysisSOLUTION-SUMMARY-V431-UPGRADE-FIX.mdwith testing planTechnical Details
SavedQuery structure:
Including the view in Core Components eliminates the dependency conflict during solution upgrade while providing legitimate governance capability for identifying orphaned apps.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.