Skip to main content

Notifications

Supply Chain Management forum
Suggested answer

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

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

Helpful resources

Quick Links

Dynamics 365 Community Update

Welcome to the inaugural Community Platform Update. As part of our commitment to…

Dynamics 365 Community Newsletter - August 2024

Catch up on the latest D365 Community news

Community Spotlight of the Month

Kudos to Mohana Yadav!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,115 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 227,971 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans