Skip to content

Conversation

Copy link

Copilot AI commented Dec 17, 2025

Issue requests CoE utility to manage owners for orphaned SharePointFormApps—apps whose owners have left the organization. SharePointFormApp ownership cannot be changed via Power Platform APIs (product limitation). Issue consolidated into #10319.

Analysis Delivered

Created comprehensive feasibility assessment and implementation plan following existing Flow DerivedOwner pattern:

Technical Approach

  • Add admin_DerivedOwner lookup field to admin_App entity (mirrors admin_Flow pattern)
  • Update admin_setapppermissions app to include SharePointFormApps in orphaned list
  • Add UI for derived owner assignment with clear scope messaging

Pattern Already Proven

// Existing Flow pattern (admin_setflowpermissions)
UpdateIf(Flows, Flow=SelectedFlow.Flow, 
  {DerivedOwner: LookUp(Makers, Maker=GUID(principal.id))});

// Proposed App pattern (same approach)
UpdateIf('PowerApps Apps', App=SelectedApp.App,
  {DerivedOwner: LookUp(Makers, Maker=GUID(principal.id))});

Key Constraints

DerivedOwner is CoE-specific governance field (reporting/tracking only). Does not change actual platform ownership—product limitation, not CoE limitation.

Documents Created

  • docs/ENHANCEMENT_SUMMARY.md - Executive summary, effort estimate (16h), risk assessment (LOW)
  • docs/orphaned-sharepointformapp-owner-management-analysis.md - 6-phase implementation plan, affected components, test cases
  • docs/README.md - Documentation structure

Recommendation: Feasible, low-risk, follows proven pattern. Ready for implementation approval.

Original prompt

This section details on the original issue you should resolve

<issue_title>[CoE Starter Kit - Feature]: CoE utility to update Owner/Derived Owner for orphaned SharePointFormApps</issue_title>
<issue_description>### Is your feature request related to a problem? Please describe.

I am trying to clean-up orphaned SharePointFormApps, but there is no way to do it natively in the Power Platform administration or COE toolkit. All SharePoint form apps are managed through the Sharepoint interface. While another user can modify the app from SharePoint, the owner doesn't change. This creates an issue with the owner has left the organization and the SharePointFormApp is orphaned.

Describe the solution you'd like

A CoE toolkit utility that will let you update the Owner for a SharePointFormApp. The Power Platform flows utility has a similar feature to update a "derived owner", so at least the CoE toolkit reporting recognized a new owner.

Describe alternatives you've considered

Creating a custom flow that modifies the PowerApps App table to change the owner

Additional context?

I have noticed other users on the internet with similar issue. Here is a Reddit article describing such: https://www.reddit.com/r/PowerApps/comments/wwt2mb/change_owner_of_sharepointformapp_pa_in_spo_not/

AB#3462</issue_description>

<agent_instructions>Analyze the enhancement request described in the ticket. Provide a comprehensive evaluation that includes:
Understanding & Summary
Summarize the enhancement request in clear, concise terms.
Identify the core problem the enhancement aims to solve.
Feasibility Assessment
Determine whether the requested enhancement is technically feasible.
If not feasible, explain the blockers or limitations.
Proposed Implementation Approach (only if feasible)
Outline the required code, architectural, or configuration changes.
Identify all affected files, components, or modules.
Describe potential risks, dependencies, or compatibility considerations.
Step‑by‑Step Implementation Plan
Provide a detailed, sequential explanation of what changes should be made.
Include reasoning behind each step to ensure clarity for reviewers and maintainers.
Deliver the analysis in a structured format using headings, bullet points, and code blocks when necessary.</agent_instructions>

Comments on the Issue (you are @copilot in this section)

@AmarSaiRam We are consolidating multiple related enhancement requests into a single comprehensive issue to streamline tracking and implementation. This ticket is now closed because its scope is fully covered under the new consolidated issue focused on centralized management of orphaned components (Apps, Flows, Connection References) in the CoE Starter Kit.

New Issue Reference: [CoE Starter Kit - Feature]: FEATURE TITLE Enhancement: Centralized Management for Orphaned Compone…

Thank you for your valuable input and collaboration</comment_new>

Custom agent used: CoE Custom Agent
Specialized agent for triaging and fixing issues in the CoE Starter Kit. Always consult the official CoE docs and the team’s SharePoint notes first, then mine prior GitHub issues and the CoE Common Responses playbook.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Add CoE utility to update owner for orphaned SharePointFormApps Add technical analysis for SharePointFormApp derived owner management Dec 17, 2025
Copilot AI requested a review from harini-2-y December 17, 2025 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CoE Starter Kit - Feature]: CoE utility to update Owner/Derived Owner for orphaned SharePointFormApps

2 participants