Skip to main content

Notifications

Announcements

No record found.

Supply Chain Management forum

RSAT (Regression Suite Automation Tool) - error (can not access environment)

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi

I'm receiving this error after updating RSAT to newest release. The error happens when I'm trying to run the test cases. I'm able to load and generate test and parameter files.

6052.RSAT-error.PNG

All my settings is the same and I know the environment is running, because I have opened it in a browser.

Looking forward receiving help and recommendations. 

<?xml version="1.0" encoding="utf-16"?>
<Error xmlns:xsi="www.w3.org/.../XMLSchema-instance" xmlns:xsd="www.w3.org/.../XMLSchema">
  <ExceptionType>System.TypeInitializationException</ExceptionType>
  <Message>Typeinitialiseringsfunktionen for 'MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.UserManagement' udløste en undtagelse.</Message>
  <StackTrace>   ved MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.UserManagement.get_AdminUser()
   ved MS.Dynamics.Performance.Application.TaskRecorder.RSAT_PME_ProductInventDefaultBase.TestSetup(Boolean verboseSnapshotsEnabled, Int32 actionTimeout)</StackTrace>
  <InnerError>
    <ExceptionType>System.InvalidOperationException</ExceptionType>
    <Message>Could not enumerate AX users</Message>
    <StackTrace>   ved MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.UserManagement.PopulateAxUsers()
   ved MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.UserManagement..cctor()</StackTrace>
    <InnerError>
      <ExceptionType>System.ServiceModel.FaultException`1[System.ComponentModel.Win32Exception]</ExceptionType>
      <Message>Forbidden</Message>
      <StackTrace>
Server stack trace:
   ved System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc&amp; rpc)
   ved System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   ved System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   ved System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
   ved System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   ved System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)
   ved MS.Dynamics.TestTools.CloudCommonTestUtilities.AxUserManagementServiceReference.IAxUserManagement.EnumUsers()
   ved MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.UserManagement.PopulateAxUsers()</StackTrace>
    </InnerError>
  </InnerError>
</Error>

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: RSAT (Regression Suite Automation Tool) - error (can not access environment)

    I updated to newest release, and there where no problem anymore.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: RSAT (Regression Suite Automation Tool) - error (can not access environment)

    Hi Shahil

    I tried this, but there where no character when changing encoding to unicode.

  • Shahil Profile Picture
    Shahil 635 on at
    RE: RSAT (Regression Suite Automation Tool) - error (can not access environment)

    Hi Alexander

    There is an issue with your thumbprint. Usually a invalid character comes in with the thumbprint. Paste the thumbprint on a notepad and change the encoding as unicode before saving it. Reopen the file and you'll see a character. Delete it and copy that thumbprint now.

  • Valery Plotnik Profile Picture
    Valery Plotnik 20 on at
    RE: RSAT (Regression Suite Automation Tool) - error (can not access environment)

    Please follow Troubleshooting -> "Users can't be enumerated" section from this guide:

    https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/perf-test/perfsdk-tutorial-lbd#users-cant-be-enumerated

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... 291,642 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,371 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans