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 / Facing canvas app Code...
Power Apps
Suggested Answer

Facing canvas app Code deployment issue.

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

facing canvas app Code deployment issue. when cx deploy the code change from Dev to test environment through the Pipeline the code was not reflected in test environment.

 

Description:  I have a power platform access request application, when users raise a new request for access to a dedicated environment, I am  not able to select the required connector and this is working fine in Dev and issue occurs in Test environment after a code change deployment through pipeline.

Dev environment:



 

Test Environment: (the connector list does not appear)



 

Code behind on new connection request:



 

--We also reviewed pipeline run history and versions, noting deployments from different dates that all show a succeeded status.


Below are the things we have already tried.

--We reviewed the deployment history shows multiple successful runs across different pipelines, with no errors, dependency issues, or connection reference warnings reported.

--confirmed that redeployments have been attempted multiple times, including removing unmanaged layers and redeploying, but the issue persists.

--Data source used in application is Dataverse.

--No unmanaged layers found in Test env Application solution:

Categories:
I have the same question (0)
  • Suggested answer
    11manish Profile Picture
    2,374 on at
    This is a classic ALM + connection reference issue in Microsoft Power Platform 
    Even though your pipeline shows success, the behavior you’re seeing is expected when connector bindings are not correctly resolved in the target environment.
    What’s Really Happening
    • Your app UI is loading, but the connector metadata is NOT resolving in Test
    That’s why:
    • Works in Dev
    • Connector list empty in Test
    Most Likely Root Causes
    Missing / Broken Connection References (90% cases)
    Even if deployment succeeds:
    • Connection Reference exists 
    BUT → not mapped to a valid connection in Test 
    Result:
    • Connector-dependent controls show blank
    User Permission Issue
    Users in Test may not have:
    • Access to connector
    • Required role / license
    Environment-Specific Configuration Missing
    • Connector filtered dynamically (your code likely does this)
    In Test:
    • No connectors returned from Dataverse / API
    Hidden Dependency Not Deployed
    • Custom connector
    • Environment variable
    • Table data (used for filtering connectors)
    Step-by-Step Fix
    Step 1: Validate Connection References
    Go to:
    • Solution → Connection References
    • Check:
      • Each connector:
      • Has a connection
    • Status = Connected
    • If not:
      • Click → Edit → Select connection
    Step 2: Rebind in Pipeline
    In your pipeline:
    Ensure:
    • Connection references are mapped during deployment
    If using Deployment Pipelines:
    • Configure connection mapping stage
    Step 3: Check Environment Variables
    Go to:
    • Solution → Environment Variables
     Verify values exist in Test
     
    Step 4: Debug Data Source
    Add temporary label:
    • CountRows(YourConnectorSource)
    If 0 → issue confirmed
    Step 5: Check Security Roles
    Ensure users have:
    • Basic User
    • Access to:
      • Connection References
      • Dataverse tables
    Step 6: Custom Connector Case
    If using custom connector:
    • Re-import connector
    • Recreate connection in Test
    Step 7: Force Refresh
    In Test:
    • Remove & re-add data source in app
    • Republish app

    Thanks
    Manish
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 842

#2
Valantis Profile Picture

Valantis 563

#3
Haque Profile Picture

Haque 402

Last 30 days Overall leaderboard