Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
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? 

 

 

Categories:
  • mslysz Profile Picture
    6 on at
    Re: Dataverse MDA session issue

    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.

  • Verified answer
    ChrisPiasecki Profile Picture
    6,389 Most Valuable Professional on at
    Re: Dataverse MDA session issue

    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

  • rohitjadhavms Profile Picture
    Microsoft Employee on at
    Re: Dataverse MDA session issue

    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)

  • mslysz Profile Picture
    6 on at
    Re: Dataverse MDA session issue

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

  • ChrisPiasecki Profile Picture
    6,389 Most Valuable Professional on at
    Re: Dataverse MDA session issue

    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.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Microsoft Dataverse

#1
stampcoin Profile Picture

stampcoin 17

#2
mmbr1606 Profile Picture

mmbr1606 15 Super User 2025 Season 1

#3
ankit_singhal Profile Picture

ankit_singhal 11 Super User 2025 Season 1

Overall leaderboard

Featured topics