[QUESTION] How to get dataverse account CRUD sample working?

Open
#671 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Domain
testing-qa

Research direction

Start with samples/dataverse/testPlan.fx.yaml and the setup instructions in README.md. Run the sample through the Test Engine in debug mode, compare its environment tables with the reported Accounts and name errors, and then check the pac CLI path using version 1.50.1; done means the dataverse CRUD test cases run without these errors.

Written by the indexing model from the issue text.

Description

question
Does this question already exist in our backlog?
  • I have checked and confirm this is a new question.
What is your question?

How do I get the samples/dataverse/testPlan.fx.yaml sample running? It's currently erroring:

(removed onTestCaseStart from the test plan)

Test case: No Accounts
   Errors: Error 18-26: Name isn't valid. 'Accounts' isn't recognized.
Error 8-17: The function 'CountRows' has some invalid arguments.
   Result: Failed
Test case: Insert Account
   Errors: Error 14-22: Name isn't valid. 'Accounts' isn't recognized.
Error 1-8: The function 'Collect' has some invalid arguments.
Error 28-63: The specified column 'name' does not exist.
   Result: Failed
Test case: Insert and Remove Account
   Errors: Error 14-22: Name isn't valid. 'Accounts' isn't recognized.
Error 1-8: The function 'Collect' has some invalid arguments.
Error 28-63: The specified column 'name' does not exist.
   Result: Failed
Test case: Update Account
   Errors: Error 15-23: Name isn't valid. 'Accounts' isn't recognized.
Error 2-9: The function 'Collect' has some invalid arguments.
Error 29-64: The specified column 'name' does not exist.
   Result: Failed
   [Critical Error] Could not access Provider. For more details, check the logs.

Have setup as per README.md
Have run the Test Engine in debug mode and stepping through I can see my environment's tables so it looks like its connected to dataverse ok.

Also tried running via pac cli (1.50.1), but that fails with:

[Error]: 2025-12-02T08:41:23.1860423+08:00 - Failed to load 'provider' type powerfx.
What component are you experiencing the issue with?

PowerFX

What pac version are you using?

1.50.1

Dominant language
C#
Stars
150
Forks
55
Avg merge
5d 23h
Merged PRs (30d)
4

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/PowerApps-TestEngine

All issues in microsoft/PowerApps-TestEngine

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.