Replies: 6 comments 5 replies
-
It's probably not on the path. Have you tried An alternative might be to install pac using dotnet. When you do that, it automatically adds it to the path. |
Beta Was this translation helpful? Give feedback.
-
Microsoft.PowerApps.CLI nuget package is used purely as a zip file and compiled with full .net framework. If you need to use cross platform version compiled with .Net 6 then use Microsoft.PowerApps.CLI.Tool |
Beta Was this translation helpful? Give feedback.
-
@zhead13, @petrochuk,
When I run "dotnet tool list --global" or "dotnet tool list" is doesn't show any installed tools... |
Beta Was this translation helpful? Give feedback.
-
@petrochuk , where can I get that ZIP file? |
Beta Was this translation helpful? Give feedback.
-
@zhead13 , @Manju5137 , did you in the meantime found a solution to run Power Platform CLI in the cloud? |
Beta Was this translation helpful? Give feedback.
-
Hello everyone, as I currently have the same problem, I came across this discussion. So the only solution is to download the package and use it that way. For this I have built a function that downloads the Nuget package, unpacks it and inserts the path into the environment variable. After that the
I hope it helps. EDIT: |
Beta Was this translation helpful? Give feedback.
-
I'm trying to use the PowerApps CLI in an Azure Runbook running a Windows Hybrid Worker. The "pac" commands are recognised when directly on the Windows Server, but I cannot get them to be recognized in the Hybrid Runbook.
When I run Find-Package -Name "Microsoft.PowerApps.CLI" it finds it ok, but still fails on any pac commands:
pac : The term 'pac' is not recognized as the name of a cmdlet, function, script file, or operable program.
Do I need to import the package into Runbook session somehow, like you do with Modules?
Any help appreciated.
Beta Was this translation helpful? Give feedback.
All reactions