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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Deploying Embedded Can...
Power Apps
Answered

Deploying Embedded Canvas apps

(0) ShareShare
ReportReport
Posted on by 86

Hi All,

 

I am trying to deploy the embedded canvas app solution to another environments however getting the below issues -

 

Steps i followed for deployment -

  • Created a solution and added the canvas app and the entity and respective form on which the canvas app is placed in the solution
  • Deployed the solution via Azure pipeline using export and import solution step

Issues -

1) The App owner in the destination environment is an random 'application user' instead of the 'system deployment user'. The pipeline runs through the deployment user so not sure why the App owner is an application user?
2) Also it generated a new App id after deployment so i had to again modify the form properties to point to the correct appid

Is there a way to keep the Appid constant accross all environments so modifying the form would not be required everytime?

3) In the destination environment again i had to share the app with all users, is there a way through which i do not need to share the app after it is deployed in the next environment?

 

The above issues becomes a problem if the app needs to be moved to several environments cos then the form will need to be modified again and even sharing needs to be done again 

 

Kindly suggest. Any help would be appreciated.

 

Thanks in advance

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    Hi @Poweruser1101 :

    Let me exlpain these questions one by one:

    Issue1:I am not sure what issue1 means. But what is certain is that if a user imports the package of an APP in "Create New" way, then he will be the owner of this APP.

    Issue2:The APP ID is automatically generated.If you want to import an APP into a new environment, it is actually equivalent to creating a new APP in this new environment. Then this APP Id is randomly generated. 

    Issue3:The APP needs to be shared to all users again. But this is very easy to operate, just search "All" in the input box, you can share it with everyone at once.

    1.JPG

    Best Regards,

    Bof

  • Poweruser1101 Profile Picture
    86 on at

    @v-bofeng-msft Thank you for the information. Agree to your points

     

    Found out that the app name remains same even after migration (through solution import in azure pipeline), hence will be using the app name instead of the app id so that the overhead of modifying the app id on the form is removed.


    Also agreed that the app needs to be shared again with all users. trying to find to out if this can be accomplished via Azure pipeline.Please do comment if you have an idea about it.

     

    Accepting your answer since it helped clear my questions.Thank you again for providing the information.

  • Trutz-Sebastian Stephani Profile Picture
    48 on at

    Hi @Poweruser1101,

    How did you embed the canvas app? Using the SDK or using the Canvas App control that exists in the form editor? The latter let's me only provide the app id and not a name. The solution using the name is more deployment friendly, but how did you achieve it? 

  • daniuosagi Profile Picture
    55 on at

    I have the same question as TrutzStephani, the Canvas App Control requires the app id.  The app name is there but it's optional.  I'm curious how did the you manage to only use the app name?  That will help a lot for the community.

  • daniuosagi Profile Picture
    55 on at

    Here is the update, as long as supplying the App name, the App ID can be ignored or filled in a empty guid (00000....00000)

    Please check below link Point 4. for complete answer.

    https://linnzawwin.blogspot.com/2019/12/power-apps-new-improvements-in-embedded.html

  • m3ngi3 Profile Picture
    725 on at

    Just did an import of embedded canvas apps as part of the solution and GUID of DEVenvironment is now present in my PRDenvironment... the app renders but is misbehaves...

    Are you actually saying @daniuosagi that we need to use the app name in the Model Driven App reference instead of app GUID?? (why are we given the GUID option if this is not ALM ready?? 🤯🤯🤯)

  • m3ngi3 Profile Picture
    725 on at

    Just adding extra info: make sure that the App Name uses the internal database Canvas App Name and not the Display Name 😁

  • daniuosagi Profile Picture
    55 on at

    Lol when people talking about "Name" just don't assume it's display name (always should be logical name) since display name is not a good identifier.  But glad you figured it out. 

  • m3ngi3 Profile Picture
    725 on at

    Yes indeed safer to first try the internal (non-changeable) name compared the (changeable) display name... but if you have a GUID of an app that would have been nicer...

     

    There is always a chance that the GUID is taken by another pre-existing app but same goes for the internal name right 😁

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard