SBX - Search With Button

SBX - Forum Post Title

Dynamics Portal Sign In Page

Microsoft Dynamics CRM Forum

Mohammed Bizulhazan asked a question on 4 Dec 2018 7:55 AM

Question Status

Verified

Hi Team,

I am setting up the Dynamics Portal for one of our Clients. we have set it up to display out of box features like Entities list and forms.

Upon Logging in to the Portal the system is redirecting to name.microsoftcrmportals.com/en-USSignIn?ReturnUrl=%2Fen-US%2F

the site is adding en-US/SignIn?ReturnUrl=%2Fen-US%2F to the URL and just shows a blank page.

I am not able to redirect the page to Sign in page or to the home page using the Redirect record.

Can anyone please assist with this.

Thanks,

Mohammed Bizulhazan

Reply
Ravi Kashyap responded on 4 Dec 2018 7:24 PM
Suggested Answer

Hi,

What URL you are using to access Portal? Does it have en-us at the end, if yes then remove that and try again. Example name.microsoftcrmportals.com

The issue is because is en-us. Normally it doesn't appear by default in the portal URL. The sign in page uses the redirect url to anything which is after your portal url that is why it is appending redirect url to en-us.

Hope this helps.

Reply
Mohammed Bizulhazan responded on 5 Dec 2018 4:52 AM

Hi Ravi,

Thank you for your reply.

the site's primary domain is 3dr.microsoftcrmportals.com but when we open this directly on a browser it resolves like this 3dr.microsoftcrmportals.com/en-US

then if i click on sign in it resolves to https://3dr.microsoftcrmportals.com/en-US/SignIn?returnUrl=%2Fen-US%2F 

how to get rid of returnUrl=%2Fen-US%2F from the sign in.

this is showing up even when trying to register a new user.

Thanks in Advance :)

Reply
Ravi Kashyap responded on 5 Dec 2018 7:26 PM

Hi,

It looks like somewhere en-Us is appended to your base portal URL. You need to review your portal records to find out if there is any place where you have used 3dr.microsoftcrmportals.com/en-US

Look for website, website Bing, redirect etc.

Reply
Ravi Kashyap responded on 5 Dec 2018 7:27 PM

Also, whats your CRM's base language? Is it not English?

Reply
Rizwan Aarif responded on 5 Dec 2018 11:22 PM
My Badges
Suggested Answer

Hi.

Can you go to site settings and check if the setting "Authentication/ApplicationCookie/LoginPath" is correct and doesn't have anything e.g. raw_url/lang appended?

Reply
Mohammed Bizulhazan responded on 10 Dec 2018 9:24 AM

Hi Ravi,

No I haven't used en-us anywhere.

Reply
Mohammed Bizulhazan responded on 10 Dec 2018 9:29 AM

Base Language is English

Reply
Mohammed Bizulhazan responded on 10 Dec 2018 9:33 AM

Hi Rizwan,

Thank you for your assistance. I haven't created or edited any records with in site settings.

I don't see the "Authentication/ApplicationCookie/LoginPath" is it mandatory to have it ?

If so what should be value it should have ?

 

Reply
Ravi Kashyap responded on 10 Dec 2018 5:34 PM

Hi,

The issue is related to that en-us bit I am not sure from where it is appending that. I don't have any more suggestion other than raising a ticket with Microsoft.

https://admin.dynamics.com.

Reply
Mohammed Bizulhazan responded on 12 Dec 2018 10:45 AM
Suggested Answer

Thanks Ravi,

I have got a solution to the issue I believe.

The Portal initially was configured with /en_US then it was removed from the base domain.

the system was replacing it twice, then we setup a Redirect URL record for it to go to Home Page.

i believe in out of box  portal setup it would add the base language region en-US and a  redirect URL en-US/SignIn?ReturnUrl=%2Fen-US%2F. which will redirect to either sign-in page or to Profile page when the portal user register's for the first time.

Created a case with Microsoft support and they said they didn't do anything but the url redirects correctly now to home page or profile page as expected.

Thank you everyone for your time to answer this question.

Cheers,

Mohammed Bizulhazan

Reply
Ravi Kashyap responded on 12 Dec 2018 9:43 PM

Great, So is it fixed on its own?

Reply
Mohammed Bizulhazan responded on 13 Dec 2018 6:56 AM

Yes. that's what I believe.

but when on call with them they said something was changed in the code. but didn't get any further info from the support team.

Thanks,

Mohammed

Reply
Mohan Prasad MAni responded on 28 Jan 2019 11:52 AM
My Badges
Verified Answer

Found the solution:

Go to Portal>>Site Settings>> Authentication/Registration/ProfileRedirectEnabled

Turn this to false. This should do the magic

Sets whether or not the portal can redirect the user to the profile page after successful sign-in. By default, it is set to true.

Reply
Mohan Prasad MAni responded on 28 Jan 2019 11:52 AM
My Badges
Verified Answer

Found the solution:

Go to Portal>>Site Settings>> Authentication/Registration/ProfileRedirectEnabled

Turn this to false. This should do the magic

Sets whether or not the portal can redirect the user to the profile page after successful sign-in. By default, it is set to true.

Reply
Ravi Kashyap responded on 4 Dec 2018 7:24 PM
Suggested Answer

Hi,

What URL you are using to access Portal? Does it have en-us at the end, if yes then remove that and try again. Example name.microsoftcrmportals.com

The issue is because is en-us. Normally it doesn't appear by default in the portal URL. The sign in page uses the redirect url to anything which is after your portal url that is why it is appending redirect url to en-us.

Hope this helps.

Reply
Rizwan Aarif responded on 5 Dec 2018 11:22 PM
My Badges
Suggested Answer

Hi.

Can you go to site settings and check if the setting "Authentication/ApplicationCookie/LoginPath" is correct and doesn't have anything e.g. raw_url/lang appended?

Reply
Mohammed Bizulhazan responded on 12 Dec 2018 10:45 AM
Suggested Answer

Thanks Ravi,

I have got a solution to the issue I believe.

The Portal initially was configured with /en_US then it was removed from the base domain.

the system was replacing it twice, then we setup a Redirect URL record for it to go to Home Page.

i believe in out of box  portal setup it would add the base language region en-US and a  redirect URL en-US/SignIn?ReturnUrl=%2Fen-US%2F. which will redirect to either sign-in page or to Profile page when the portal user register's for the first time.

Created a case with Microsoft support and they said they didn't do anything but the url redirects correctly now to home page or profile page as expected.

Thank you everyone for your time to answer this question.

Cheers,

Mohammed Bizulhazan

Reply

SBX - Two Col Forum

SBX - Migrated JS