web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Power.config.json not ...
Power Apps
Suggested Answer

Power.config.json not updating

(0) ShareShare
ReportReport
Posted on by 2
 What the App Does
XXXXX is an enterprise forms and approvals system for the XXXXX. It manages project initiation workflows with these features:
 (Problem Statement) - Users submit project proposals with location data, problem descriptions, population impact, and deliverables
  • 4-Stage Approval Workflow - Sequential sign-offs from PMO → Senior Engineer → Manager  â†’ GM
  • Role Assignments - Admins assign users to approval roles
  • Email Notifications - When a new user is assigned a role, the app should send them an email notification via Office 365
     
The Technical Setup
The app uses:
  • Dataverse for data storage (projects, forms, approvals, role assignments)
  • M365 MCP (Model Context Protocol) for Office 365 email integration
  • React/TypeScript frontend with generated hooks
The Issue
Email notifications fail silently when creating new role assignments.
Root Cause: The power.config.json file has empty connectionReferences: {} even though the Office 365 connection reference (avi_shared_office365) has been added to the Power Platform solution.

// Current state - empty
"connectionReferences": {}

// Expected state
"connectionReferences": {
  "avi_shared_office365": {
    "connectorId": "/providers/Microsoft.PowerApps/apis/shared_office365",
    "connectionReferenceLogicalName": "avi_shared_office365"
  }
}
Because connectionReferences is empty, the generated MicrosoftMCPServersService.ts is just a placeholder stub with no actual methods, so sendEmailWithAttachments() fails.

Question for Community
I've added a connection reference (avi_shared_office365 for Office 365) to my Power Platform solution, but the power.config.json in my custom app isn't syncing to include it. The connectionReferences object remains empty. How do I get the app to recognize and use the connection reference from my solution? Is there a specific binding step or refresh process needed?
  
​
 
I have the same question (0)
  • Suggested answer
    11manish Profile Picture
    3,333 on at
    power.config.json is not auto-synced with solution connection references.

    You must explicitly bind or regenerate the MCP configuration so the connection is discovered and injected.
  • AC-27040400-0 Profile Picture
    2 on at
    Yes, After a bit more researching, I managed to understand that i will need CLI to edit my power.config.json file. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard