Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Regression Suite Autom...
Finance forum
Answered

Regression Suite Automation Tool

Posted on by Microsoft Employee

Hi 

Has anyone worked with Regression Suite Automation Tool. 

I am not able to run the tool from my local machine to run the test on environment. I am getting the below error message:

MS.Dynamics.TestTools.CloudCommonTestUtilities.Exceptions.WebAuthenticationException: Failed finding the certificate for minting tokens by thumbprint: XXXXXXXXXXXXX.

Though, if i installed the tools on the server itself and run it, it is working fine. 

Anyone can help, if it is possible to run the test from my local machine? Or how can i solve this out?

Thanks

  • agneum Profile Picture
    agneum 150 on at
    RE: Regression Suite Automation Tool

    I had a similar error, by accident I uploaded the certificate serial, not the thumbprint. If you open the certificate generated with the Regression Suite Automation Tool you can see it under the info tab at the botton.

    You need to sign into the VM using credentials which you can get from

    https://lcs.dynamics.com  -> Cloud-hosted environments -> Full details

    Then you go to the IIS and add the thumbprint as per the guide found:

    www.microsoft.com/.../details.aspx

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Regression Suite Automation Tool

    thumbprint needs to without special characters and ensure at the right location in the wif file

    The same valid thumbprint needs to be on RSAT config as well.

    Once IIS is reset, new wif would come into play and the RSTA tool should be able to use it.

    try with sandbox tier 2 where you install RSAT on AOS

    On one occasion, I had to manually write the thumbprint into notepad

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Regression Suite Automation Tool

    1. Make sure that you have created the cer as administrator(Run cmd as Administrator )

    2. Add the thumbprint to wif.config

             <authority name="CN=127.0.0.1">

               <keys>

                 <add thumbprint="‎767F6xxxxxxxxxxxxxxxxxxxxx73" />

               </keys>

               <validIssuers>

                 <add name="CN=127.0.0.1" />

               </validIssuers>

             </authority>

             <authority name="AxTokenIssuer">

               <keys>

                 <add thumbprint="‎767F6xxxxxxxxxxxxxxxxxxxxx73" />

               </keys>

               <validIssuers>

                 <add name="CN=127.0.0.1" />

               </validIssuers>

             </authority>

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Regression Suite Automation Tool

    Please check the solution from below

  • Suggested answer
    Andrew Xu Profile Picture
    Andrew Xu 3,875 on at
    RE: Regression Suite Automation Tool

    I had the same issue and resolved. After verifying the certification thumbprint it still existed. Even though I tried on the machine hosts D365, still no luck.

    Was frustrated and puzzled, but it's resolved by a simple reboot...

    Give it a try.

  • Verified answer
    eone Profile Picture
    eone 40 on at
    RE: Regression Suite Automation Tool

    Just ran in to the same issue myself.

    The solution for me was:

    1. Generate new certificates:
      • makecert -n "CN=127.0.0.1" -ss Root -sr LocalMachine -a sha256 -len 2048 -cy end -r -eku 1.3.6.1.5.5.7.3.1 -sv c:\temp\authcert.pvk c:\temp\authcert.cer
      • pvk2pfx -pvk c:\temp\authCert.pvk -spc c:\temp\authcert.cer -pfx c:\temp\authcert.pfx
    2. Install the pfx on the computer where you run the tool under localmachine\my
    3. Get the certificate thumbprint by running the following PS command:
      • get-childitem cert:\localmachine\my
    4. Update/add the new thumbprint in the wif.config and restart IIS also make sure you update thumbprint in your settings for the tool.

    Hope this helps.

  • Verified answer
    PA-22040759-0 Profile Picture
    PA-22040759-0 6,192 on at
    RE: Regression Suite Automation Tool

    I see that you have "pasted" the thumbprint into wif.config. There's is a problem with copy-n-paste from the certificated dialog. The dialog is unicode enabled and that doesn't work very well when pasting the value.

    You can use a command prompt to list a thumbprint that is suitable for copy-n-paste.

    Use "certutil -store my" for the machine certificates. The thumbprint can be located in the line that starts with "Cert Hash(sha1)".

    Another workaround is to paste the thumbprint to a new Notepad file, save the txt file, reopen the text file and then copy the thumbprint from there.

    Reference: support.microsoft.com/.../certificate-thumbprint-displayed-in-mmc-certificate-snap-in-has-extra

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Regression Suite Automation Tool

    No... The only way is to install it on same system where AX is installed.

    Otherwise, it will never access the link.

    Though, MS mentioned, you can install it to any machine has internet access

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Regression Suite Automation Tool

    No... The only way is to install it on same system where AX is installed.

    Otherwise, it will never access the link.

    Though, MS mentioned, you can install it to any machine has internet access.

  • RE: Regression Suite Automation Tool

    I am having the exact same issues here.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans