Closed veerasekharbathala closed 4 years ago
Please find online crm Url config from app.config file.
<add key="OnlineCrmUrl" value="https://****.crm3.dynamics.com/" />
Your are trying to open the Sales App. Do you has it installed?
Maybe you should choose the right App, at this line:
xrmApp.Navigation.OpenApp(UCIAppName.Sales);
I tried to open the apps which are already installed. The page is still redirected to office 365 home page once the login is successful and xrmApp is not able to load appropriate app.
Please find screenshots below.
Sorry, i misunderstood your question.
What if you navigate to D365 in your Redirect Action or after Login,
driver.Navigate().GoToUrl(_xrmUri);
Bug Report
Issues should only be created for items related to covered functionality.
Not covered functionality, feature requests, and questions should use the Feature Request or Question templates.
EasyRepro Version
UCI or Classic Web
Online or On Premise
Browser
Describe the bug
I tried with releases/v9.1 and develop branches code. I am executing the easyrepro sample test cases and tried with CreateAccountUCI. UCITestCreateAccount sample test case.
Below ADFS Login redirect code is used to login to Dynamics 365 online UCI app. The code is executing as expected, user name, password entered and authentication is successful. However, the page is redirected to office 365 home page instead of Dynamics 365 apps.
Do we have different ADFS Login redirect code for UCI? Can you share ADFS Login redirect code for UCI?
Special formatting / display
Code to reproduce
Used below code in CreateAccountUCI. UCITestCreateAccount to call Login method
Please find CreateAccountUCI class code below.
Expected behavior![image](https://user-images.githubusercontent.com/35842369/81985078-c9077980-9603-11ea-84f8-a510dd63907f.png)
Expecting to see below Dynamics 365 apps page once the authentication is successful.
Screenshots
Once the authentication is successful, below page is visible to user.