简体   繁体   English

如何使用 PowerShell 发布 PowerApps

[英]How to publish PowerApps using PowerShell

I am trying to use the PowerShell command to publish a PowerApps.我正在尝试使用 PowerShell 命令发布 PowerApps。 I have the prerequisites installed in my system.我的系统中安装了先决条件。 I am able to get the app details using the PowerApps command.我可以使用 PowerApps 命令获取应用详细信息。 But unable to publish, as when I am trying to see the Publish-AdminPowerApps cmdlet, I did not able to get it.但是无法发布,因为当我试图查看 Publish-AdminPowerApps cmdlet 时,我无法获取它。 But got the Publish-PowerApps cmdlet.但是得到了 Publish-PowerApps cmdlet。 I tryied using that by providng the appname with the respective app guid.我尝试通过为应用程序名称提供相应的应用程序 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注意:我是 PowerApps 平台的管理员

Thanks谢谢

1.Import the necessary modules using the following commands: 1.使用以下命令导入必要的模块:

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

在此处输入图像描述 2.Try to use Publish-AdminPowerApp (previously Publish-App) 2.尝试使用Publish-AdminPowerApp (之前的Publish-App) 在此处输入图像描述 Reference: https://learn.microsoft.com/en-us/power-platform/admin/powerapps-powershell参考: https://learn.microsoft.com/en-us/power-platform/admin/powerapps-powershell

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Azure使用Powershell发布 - Azure publish using powershell 使用Powershell更改发布版本 - Changing publish version using Powershell 如何将.nupkg 发布到 Powershell 图库? - How to publish .nupkg to Powershell Gallery? 如何使用Appveyor将Powershell模块发布到PowershellGallery? - How to publish a Powershell Module to PowershellGallery with Appveyor? 如何使用Rest API从Powershell中获取,删除或发布Wordpress 4.9发布? - How to get, delete or publish wordpress 4.9 post from powershell using Rest API? 如何使用 powershell 为构建服务器构建、发布 ASP.NET 核心项目? - How to build, publish ASP.NET core project using powershell for build server? 我们如何使用 PowerShell 在 powerapps 环境中安装 D365 应用程序? - How do we install D365 apps in powerapps environment with PowerShell? 使用Publish-Module将Powershell模块发布到VSTS包管理 - Publishing Powershell Modules to VSTS Package Management using Publish-Module 从 PowerShell 发布 PipelineArtifact - Publish PipelineArtifact from PowerShell 如何从PowerShell发布/批准SharePoint 2010中的页面 - How to publish/approve a page in SharePoint 2010 from powershell
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM