Skip to content

Conversation

Copy link

Copilot AI commented Dec 9, 2025

The inactivity notification rejection email displays the Archive Approval ID but labels it as "App ID", creating confusion with the actual Canvas App ID shown in Teams notifications.

Changes

  • Updated email body template in AdminInactivitynotificationsv2CheckApproval flow
  • Changed field label from <strong>App ID</strong> to <strong>Approval ID</strong> for the admin_archiveapprovalid value

The field content remains unchanged—only the label now correctly identifies what it represents.

// Before
"<strong>App ID</strong>: @{body('Parse_JSON_-_Archive_Approval_Item')?['admin_archiveapprovalid']}"

// After  
"<strong>Approval ID</strong>: @{body('Parse_JSON_-_Archive_Approval_Item')?['admin_archiveapprovalid']}"
Original prompt

This section details on the original issue you should resolve

<issue_title>[CoE Starter Kit - Feature]: Modify "App ID" field in email sent out from "Admin | Inactivity notifications v2 (Check Approval)" to reflect Approval ID</issue_title>
<issue_description>### Is your feature request related to a problem? Please describe.

In Governance Components, the flow "Admin | Inactivity notifications v2 (Check Approval)" sends an email to the IT Administrator with the subject "CoE Starter Kit - Inactivity Notifications: Delete Power Apps has been rejected for App Contoso".

This Email includes a field "App ID". While this field refers to the Archive Approval ID, it is easy to mistake it for the Application ID, creating confussion. The confussion is even stronger because the Teams Notification received once the Approval is rejected, also contains a field "App ID", but this one is referring to the ID of the Canvas App. Thus inconsistency is being created.

This is the body of the Email that would be good if changed:

Image

And this is the content of the Teams Notification:

Image

As you can see, these 2 "App ID" do not coincide, creating confussion. Ideally, the "App ID" in the Email with subject "CoE Starter Kit - Inactivity Notifications: Delete Power Apps has been rejected for App Contoso" would be renamed to "Approval ID".

This is the Power Automate step that needs to be changed:

Image

Describe the solution you'd like

Ideally, the "App ID" in the Email with subject "CoE Starter Kit - Inactivity Notifications: Delete Power Apps has been rejected for App Contoso" would be renamed to "Approval ID".

This is the Power Automate step that needs to be changed:

Image

Describe alternatives you've considered

I could rename the parameter myself, but that would either create an unmanaged layer, or I would need to create a copy of the flow "Admin | Inactivity notifications v2 (Check Approval)" - in both cases not ideal, since it won't receive updates anymore.

Additional context?

No response</issue_description>

<agent_instructions>Please analyze this issue, whether it's a bug or enhancement request, if it's enhancement request, suggest changes which does not break any existing functionality for any other customers</agent_instructions>

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

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.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: muditagarwal2308 <113036606+muditagarwal2308@users.noreply.github.com>
Copilot AI changed the title [WIP] Modify 'App ID' field in inactivity notification email Fix: Rename "App ID" to "Approval ID" in inactivity rejection email Dec 9, 2025
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]: Modify "App ID" field in email sent out from "Admin | Inactivity notifications v2 (Check Approval)" to reflect Approval ID

2 participants