Describe the bug
We have published a Code App in an encrypted environment (CMK), and while the solution import/deployment completes successfully, the application fails to load in the browser and displays a blank screen. Upon checking the browser console logs, we consistently see a 404 (Not Found) error for the following endpoint:
https://8e67.a6.environment.api.powerplatform.com/powerapps/appExtendedMetadata/?api-version=1
From our preliminary review, this appears to be related to metadata endpoints (such as appExtendedMetadata) not being supported in encrypted environments, as they may require access to unencrypted app definitions.
Could you please confirm whether Code Apps are supported in encrypted (CMK) environments? If they are supported, we would appreciate your guidance on any workaround or configuration changes required to resolve this issue.
Steps to Reproduce
Import the Code App solution into an encrypted (CMK) environment.
Share the app with a user.
Access the app link in a browser.
Check the browser console logs and observe the 404 error for appExtendedMetadata.
Additional Context
The same solution works as expected in an unencrypted (non-CMK) environment.
The Code App solution deploys successfully; the issue occurs only when launching the app in the browser.
Describe the bug
We have published a Code App in an encrypted environment (CMK), and while the solution import/deployment completes successfully, the application fails to load in the browser and displays a blank screen. Upon checking the browser console logs, we consistently see a 404 (Not Found) error for the following endpoint:
https://8e67.a6.environment.api.powerplatform.com/powerapps/appExtendedMetadata/?api-version=1
From our preliminary review, this appears to be related to metadata endpoints (such as appExtendedMetadata) not being supported in encrypted environments, as they may require access to unencrypted app definitions.
Could you please confirm whether Code Apps are supported in encrypted (CMK) environments? If they are supported, we would appreciate your guidance on any workaround or configuration changes required to resolve this issue.
Steps to Reproduce
Import the Code App solution into an encrypted (CMK) environment.
Share the app with a user.
Access the app link in a browser.
Check the browser console logs and observe the 404 error for appExtendedMetadata.
Additional Context
The same solution works as expected in an unencrypted (non-CMK) environment.
The Code App solution deploys successfully; the issue occurs only when launching the app in the browser.