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

Notifications

Announcements

Community site session details

Community site session details

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

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,422 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,422 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard