Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Unanswered

Not seeing all objects when exporting and importing solution from non-prod to prod environment

(0) ShareShare
ReportReport
Posted on by 4

I followed this Microsoft tutorial to set up a deployment pipeline from my non-prod environment to prod environment.

 

Everything works fine and I'm able to export as an unmanaged solution from non-prod, store it in Github, then import the solution as managed into prod.

 

However, when I create my app in non-prod, the owner is me. But when I run the Github Actions workflows, the owner changes to my Service Principal (I use the SP as my authentication method to access the environments)

 

Therefore, when I go to prod and go to the managed solution, I don't see the app because the owner is the SP and not me.

 

here's what the admin sees in prod env, of course, they can see objects owned by different accountshere's what the admin sees in prod env, of course, they can see objects owned by different accounts

I can only see "Business Unit" and "Solution Health Hub" in prod env, and not the other three objects that I created in non-prod env because, after the import, those are now owned by my SP rglns-n-ENYInsight-2335-sp.

here's what I can only see in prod env, from my accounthere's what I can only see in prod env, from my account

 

 

 

How do I go around this? Because from a PowerApps developer's perspective, I need to be able to see the app in order to click the three dots and share the app to my users.

  • nguyen-tr-ea-89 Profile Picture
    4 on at
    Re: Not seeing all objects when exporting and importing solution from non-prod to prod environment

    I see that for Azure DevOps, there's an action to create a solution deployment settings file that can configure solution component ownership in target deployment environments. Can I do that in Github Actions? The idea is to have the action add a developer as a co-owner to the components/apps in the solution that the SP imports into prod env.

  • nguyen-tr-ea-89 Profile Picture
    4 on at
    Re: Not seeing all objects when exporting and importing solution from non-prod to prod environment

    Hi @v-xiaochen-msft, thank you for the response.

     

    I want to set the deployment so that every developer in the environments can move their solutions from non-prod to prod. So, I don't think I want to use my credential in the github yml file.

     

    About asking for the a 'System Customizer' security role, then every Power Apps developer will need to ask for this, and this seems excessive so I doubt the admin will give this, but I can certainly ask. Currently, our developers are assigned "Environment Maker" role. So, they need to have all the privileges in "Environment Maker" and somehow be able to distribute the apps they build while using GitHub Actions to move solutions from non-prod to prod environment (which is the issue of this post).

     

    I see that there's an option to create a custom security role. Is there a way for the admin to customize a role to fulfill the requirements for our developers as mentioned? I imagine a custom role that's able to see everything the SP owns and able to share its apps?

     

     

  • v-xiaochen-msft Profile Picture
    on at
    Re: Not seeing objects when exporting and importing solution from non-prod to prod environment

    Hi @nguyen-tr-ea-89 ,

     

    I haven't used the github import solution, but I think there are two ways to solve the problem.

    1\ Use your credential instead of service principal credential in github yml file. Therefore, the owner of the created application will be you instead of sp.

    vxiaochenmsft_0-1715134004015.png

    2\ Elevate your environment permissions. For example, you can contact your administrator and ask him to assign you a 'System Customizer' security role. Now even if the owner of the application is someone else, you can still see it in the solution.

     

    Best Regards,

    Wearsky

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 85 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 65 Super User 2025 Season 1

#3
mmbr1606 Profile Picture

mmbr1606 55 Super User 2025 Season 1

Overall leaderboard