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 / Power Platform CLI com...
Power Apps
Answered

Power Platform CLI command to share a app,flow to other users

(0) ShareShare
ReportReport
Posted on by 274

Hi Power users,

I'm trying to deploy a solution to Prod environment using the CLI commands as mentioned in the below blog-

https://crmchap.co.uk/generating-solution-settings-file-via-the-microsoft-power-platform-cli/

This to an extend works fine. I face an issue where I'm unable to share the app with users. I don't see any commands mentioned the Microsoft site to share the apps, flows present in the solution to other users.

Microsoft Power Platform CLI Command Groups - Power Platform | Microsoft Docs

 

Has anyone done something similar. Could you please advice.

 

  • Verified answer
    eleung83 Profile Picture
    232 on at

    I don't believe there's currently any CLI commands available to share canvas apps and/or flows with other users. You would have to use powershell to do this.

     

    You can use this PS command to share the canvas apps: https://docs.microsoft.com/en-us/powershell/module/microsoft.powerapps.administration.powershell/set-adminpowerapproleassignment?view=pa-ps-latest

     

    As for the Flows, I don't see an obvious PS command for this, but both canvas apps and Flows support the Grant access request which you can call via powershell, example here: https://www.powershellgallery.com/packages/Microsoft.Xrm.Data.Powershell/2.8.0/Content/Microsoft.Xrm.Data.PowerShell.psm1 (look for "Grant-CrmRecordAccess")

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard