web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / pac pcf init not working
Power Apps
Unanswered

pac pcf init not working

(0) ShareShare
ReportReport
Posted on by

Hi.

 

I have installed all components as described on https://docs.microsoft.com/en-gb/learn/modules/build-power-app-component/1-create-code-component but when I run the pac pcf init command nothing happens (see attachment).

 

Already removed e reinstalled, restarted computer, etc.

 

Any idea of what could be wrong?

 

I have the same question (0)
  • ryanspain Profile Picture
    100 on at

    Hi @Anonymous,

     

    I see you are using Visual Studio Developer Command Prompt. 

     

    I recommend using PowerShell or standard command line. There should be no issues once you have the Power App CLI installed.

     

    Let us know if that helps,

    Ryan

  • Community Power Platform Member Profile Picture
    on at

    Hi @ryanspain 

     

    I´ve tried all of them. I will try to remove everything and install it again.

     

    Thanks.

  • Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at

    Hi @Anonymous 

    Not sure if this will help, but some of my colleagues had some problems with the telemetry. It was blocked somehow (not sure if the antivirus had problems, or something else).

    Disabling the telemetry helped them. Maybe it's worth trying:

    pac telemetry disable

    Best regards,

    Diana 

  • Community Power Platform Member Profile Picture
    on at

    Hi @DianaBirkelbach 

     

    Thanks for your reply, but apparently I don`t have this option?

    When I run command pac help, I only see 2 options:

     

    C:>pac help
    Launcher usage: pac [install] [use]

    install <version# | latest> Install 'latest' or a specified version of the Microsoft PowerApps CLI
    use <version# | latest> Use 'latest' or a specified version of the Microsoft PowerApps CLI

     

     

  • Danish N. Profile Picture
    186 on at

    @Anonymous 

    Interesting!! What happens when you run following command?

    pac install latest

     Can you post the output from the above command?

  • Hameed_Hussain Profile Picture
    28 on at

    Install Microsoft power Apps CLI tools in order for 'pac' to be recognized. I ran into the same issue, installing this has resolved the issue.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard