Skip to content

Conversation

Copy link

Copilot AI commented Dec 30, 2025

After upgrading to v4.50.7 (Core) and v3.27.6 (Audit), 18 notification and governance flows were auto-enabled, sending thousands of emails and potentially executing destructive actions (environment deletion, app quarantine) without admin configuration.

Changes

Flow state changes (18 flows)

  • Changed StateCode from 0 (Active) to 1 (Draft)
  • Changed StatusCode from 1 (Activated) to 2 (Draft)

Affected flows:

  • Core Components (6): Compliance detail request flows for Apps, Chatbots, Custom Connectors, Desktop Flows, Flows
  • Audit Components (12): Inactivity notifications (5), Orphaned objects (2), Teams governance (3), App quarantine (2)

Documentation added:

  • NOTIFICATION_FLOWS_GUIDE.md: Flow catalog, configuration, best practices
  • STOP_AUTOMATIC_EMAILS.md: Immediate fix for affected users
  • CHANGE_SUMMARY.md: Technical details and impact analysis
  • README.md: Prominent notice linking to guides

Example

<!-- Before -->
<StateCode>0</StateCode>
<StatusCode>1</StatusCode>

<!-- After -->
<StateCode>1</StateCode>
<StatusCode>2</StatusCode>

Admins must now explicitly enable flows through Power Automate or the Setup Wizard. This prevents surprise activations while maintaining full functionality when intentionally enabled.

Original prompt

This section details on the original issue you should resolve

<issue_title>[CoE Starter Kit - BUG] Automatic emails turned on with latest update</issue_title>
<issue_description>### Does this bug already exist in our backlog?

  • I have checked and confirm this is a new bug.

Describe the issue

The CoE is sending automatic emails that never used to be sent.

On December 22, our CoE Core Components solution was updated from version 4.50.6 (from Oct 2025) to version 4.50.7 (from the December 2025 release).

On December 23, our CoE Audit Components solution was updated from version 3.27.5 (from Oct 2025) to version 3.27.6 (from the December 2025 release).

Since the updates, the CoE has triggered thousands of emails to be sent to our employees.

The emails include subjects like:

  • "Note from your Power Platform Admin: This flow appears to be unused; can we delete?"
  • "Note from your Power Platform Admin: Submit compliance details for your chatbot"
  • "Note from your Power Platform Admin: Your employees have stale Power Platform objects"

We do NOT want these emails to be sent at this time.

Please advise on how we can still use the CoE but NOT have it send those emails.

Expected Behavior

We would like to continue using the CoE for manual monitoring and management.

We do NOT want the CoE to send automatic emails to the employees that were not sent with the previous CoE versions.

What solution are you experiencing the issue with?

Core

What solution version are you using?

4.50.7

What app or flow are you having the issue with?

Admin | Inactivity notifications, Admin | Compliance Details request, etc.

What method are you using to get inventory and telemetry?

None

Steps To Reproduce

Unsure...it started happening automatically after the update

Anything else?

No response</issue_description>

<agent_instructions>Analyze and troubleshoot the issue why Automatic emails turned on with latest update and provide the solution for this</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.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 4 commits December 30, 2025 08:18
Co-authored-by: AmarSaiRam <220305901+AmarSaiRam@users.noreply.github.com>
Co-authored-by: AmarSaiRam <220305901+AmarSaiRam@users.noreply.github.com>
Co-authored-by: AmarSaiRam <220305901+AmarSaiRam@users.noreply.github.com>
Co-authored-by: AmarSaiRam <220305901+AmarSaiRam@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix bug causing automatic emails to be sent Disable notification and governance flows by default to prevent unexpected emails on upgrade Dec 30, 2025
Copilot AI requested a review from AmarSaiRam December 30, 2025 08:26
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 - BUG] Automatic emails turned on with latest update

2 participants