Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / Single-user PerfSDK te...
Finance forum

Single-user PerfSDK test fails "Your user account or request is associated with a company which does not exist in the system"

(0) ShareShare
ReportReport
Posted on by 150

Hi,


Followed all the steps https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/perf-test/single-user-test-perf-sdk

Getting the following error: "Your user account or request is associated with a company which does not exist in the system"

2086.error.png

Here is what my config file looks like:
configfile.png

  • Suggested answer
    dch9 Profile Picture
    5 on at
    RE: Single-user PerfSDK test fails "Your user account or request is associated with a company which does not exist in the system"

    I've noticed that when you upload a task recording and convert it to C# code, there is an automatically generated method in that code called TestSetup() that explicitly defines a few things, one of those being a hard coded set to the company USMF, even though the task recording was not taken in that company.  

    Client.Company = WellKnownCompanyID.USMF.ToString();

    When I changed that value to the company I was actually looking to use, this issue went away.

  • Suggested answer
    Khushhal Garg Profile Picture
    1,514 on at
    RE: Single-user PerfSDK test fails "Your user account or request is associated with a company which does not exist in the system"

    Yes, Change Admin User id company to correct company.

  • agneum Profile Picture
    150 on at
    RE: Single-user PerfSDK test fails "Your user account or request is associated with a company which does not exist in the system"

    Under System Administration > Users shows DAT, however the email I typed into the credentials for SelfMintingAdminUser in the VB code is under the correct company. 

    Should any of these be changed?

    useraccs.png

  • Suggested answer
    Khushhal Garg Profile Picture
    1,514 on at
    RE: Single-user PerfSDK test fails "Your user account or request is associated with a company which does not exist in the system"

    What is company set on admin account?

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,238 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,923 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans