web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Dataverse MDA session ...
Power Apps
Answered

Dataverse MDA session issue

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Screenshot 2022-10-12 130242.png

 

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 have the same question (0)
  • ChrisPiasecki Profile Picture
    6,424 Most Valuable Professional on at

    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.

  • mslysz Profile Picture
    6 on at

    It's true you need to change your cookie settings. I tested several browsers and the problem is only on Chrome InPrivate.

  • rohitjadhavms Profile Picture
    Microsoft Employee on at

    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)

  • Verified answer
    ChrisPiasecki Profile Picture
    6,424 Most Valuable Professional on at

    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.

    @rohitjadhavms

  • mslysz Profile Picture
    6 on at

    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.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard