This sign in popup comes randomly for our data verse environment. We have selenium UI test which does following.
step 1: Visit url https://org79ac6886.crm10.dynamics.com
step2: finish the login flow. (We are using this repo GitHub - microsoft/EasyRepro: Automated UI testing API for Dynamics 365 to write all selenium UI test cases)
step 3: Test selects particular MDA
step 4: The MDA launches, and we click on a menu item from left panel.
After this, above sing in pop up shows up and test case gets interrupted. Is this an issue with Dataverse instance where first / initial sign in session is not maintained properly?
Is there any work around for this?
I contacted Microsoft support. Microsoft has already fixed the bug. The fix will be implemented in the next UpDate. If you want to update the environment now you need to contact them. The number (2210210050001110) of my case so that they could quickly find a solution.
Hi ,
Try the below. More details in this thread.
BrowserOptions SharedOptions = new BrowserOptions
{
CookieСontrolsMode = 0
};
var _webClient = new WebClient(SharedOptions);
---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.
Yes, that is helping but I have to manually enable the third-party cookies on the chrome instance created by Ui test. I am looking for ways to set it programmatically. Any suggestions? This is library I am using microsoft/EasyRepro: Automated UI testing API for Dynamics 365 (github.com)
It's true you need to change your cookie settings. I tested several browsers and the problem is only on Chrome InPrivate.
Hi @rohitjadhavms,
Looks like a cookie related issue. Make sure you have third party cookies enabled on the browser.
More details here.
---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.
stampcoin
17
mmbr1606
15
Super User 2025 Season 1
ankit_singhal
11
Super User 2025 Season 1