SharePoint Data Source Environment variables Choices field issue

Copper Contributor



We are trying to create a solution package for our SharePoint list based Canvas app so that we can deploy this solution from Dev to Prod environment by just updating the environment variables SharePoint Site and List data source while importing the solution. We are using SharePoint Data Source Environment variables for this task so that there would not be any need to update the data source after the app is imported to production.


Ref Link:


Everything works fine but when we are tested our app deployed in the production, we found Choices fields in the app were creating issues for us. It seems choice field is still trying to get the reference from old dev site list GUID.




Any help will be appreciated to resolve this issue.




2 Replies
I have the same Issue,
Looking a little bit deeper with the Monitor offers the following Information when calling Operation " getLookupResults".

"Message": "Missing Authorization header for a privileged call on connection.",
"Source": "product policy"

In DEV Environment Result is 200, using the Same in PROD environment the result is 404.

@Matthias Thanks for the response. We are also exactly getting 404 for prod and 200 for dev environment. It seems we have to wait for a fix for this from PowerApps team before using this feature in solutions.