Skip to content

Power Apps code apps #1295

Description

@mungamurives

As Microsoft recently introduced (Preview) new category of Power Apps called Code Apps. Officially, document also has been released (https://learn.microsoft.com/en-us/power-apps/developer/code-apps/overview).

However, when I trying to do a POC, I am facing an issue. Particularly this happens when I try to connect with data sources. For example, I will give you the command the out put I am getting.

pac code add-data-source -a "shared_office365users" -c "XXXXXXXXXXXXXXXX.XXXXXX"

The error, I am getting on the terminal is:

Error: Request failed: {}
at e. (c:\Users\NA599LW\AppData\Roaming\Code\User\globalStorage\microsoft-isvexptools.powerplatform-vscode\pac\tools\powerapps-cli.js:2:14093)
at e. (c:\Users\NA599LW\AppData\Roaming\Code\User\globalStorage\microsoft-isvexptools.powerplatform-vscode\pac\tools\powerapps-cli.js:2:7723)
at Generator. (c:\Users\NA599LW\AppData\Roaming\Code\User\globalStorage\microsoft-isvexptools.powerplatform-vscode\pac\tools\powerapps-cli.js:2:10279)
at Generator.throw (c:\Users\NA599LW\AppData\Roaming\Code\User\globalStorage\microsoft-isvexptools.powerplatform-vscode\pac\tools\powerapps-cli.js:2:11195)
at g (c:\Users\NA599LW\AppData\Roaming\Code\User\globalStorage\microsoft-isvexptools.powerplatform-vscode\pac\tools\powerapps-cli.js:2:11338)
at u (c:\Users\NA599LW\AppData\Roaming\Code\User\globalStorage\microsoft-isvexptools.powerplatform-vscode\pac\tools\powerapps-cli.js:2:11577)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

The same issue has been happened for other data sources too like SharePoint. I tried copilot and other AI too, to resolve the issue, but no luck. I guess there is some issue with the packages, we have or some thing else.

npm install --save-dev "@microsoft/power-apps"

Hope for the resolution and thanks in advamce.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions