简体   繁体   中英

How to publish PowerApps using PowerShell

I am trying to use the PowerShell command to publish a PowerApps. I have the prerequisites installed in my system. I am able to get the app details using the PowerApps command. But unable to publish, as when I am trying to see the Publish-AdminPowerApps cmdlet, I did not able to get it. But got the Publish-PowerApps cmdlet. I tryied using that by providng the appname with the respective app guid.

Example:

Publish-PowerApp -AppName 80c0a051-3322-1247-8146-83fa6480a724

After the command executes I receive the below response. Although when I see and look at the actual app version there is not publishing made.

Code Description Internal
---- ----------- --------
 200 OK

Kindly help me with this.

Note: I am an administrator in PowerApps platform

Thanks

1.Import the necessary modules using the following commands:

Install-Module -Name Microsoft.PowerApps.Administration.PowerShell
Install-Module -Name Microsoft.PowerApps.PowerShell -AllowClobber

在此处输入图像描述 2.Try to use Publish-AdminPowerApp (previously Publish-App) 在此处输入图像描述 Reference: https://learn.microsoft.com/en-us/power-platform/admin/powerapps-powershell

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM