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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Test Engine - [Error]:...
Power Apps
Answered

Test Engine - [Error]: Access to the path '...' is denied

(0) ShareShare
ReportReport
Posted on by 14

Hello, I am trying to set up TestEngine but I ran into the following error while running command "dotnet run" to start the tests.

 

Unhandled exception. System.UnauthorizedAccessException: Access to the path '...' is denied.

 --->System.IO.IOException: Permission denied

   --- End of inner exception stack trace ---

 

I set the variables in Power Shell to the email and password I use for PowerApps.

 

I understand this is an access/rights issue, but I don't know how to set the right access.

This is my personal machine I am using and TestEngine folder is stored locally.

Categories:
I have the same question (0)
  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    Where are you running that command from - looks like the parent folder it is trying to access (...), is not an accessible folder under that command.

     

    Also, if you are running CMD - have you elevated it? (Run as administrator)

  • gabo773 Profile Picture
    14 on at

     I am running the command from where the project is located, 

    /Users/User/PowerApps-TestEngine/src/PowerAppsTestEngine .

    I am running it on a Mac. I tried to run in as root and got the same error message. 

  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    I would raise it as an issue via their github repo directly - the TestEngine is an experimental feature and they won't be looking at these Power Apps forums for any support issues, so your best bet is to raise it directly:

    Issues · microsoft/PowerApps-TestEngine (github.com)

  • Verified answer
    gabo773 Profile Picture
    14 on at

    Solved. The field "testPlanFile" in config.json needs to be given the file name also, not only the path to the folder: "/Users/User/PowerApps-TestEngine/samples/basicgallery/testPlan.fx.yaml"

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard