Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Authentication from MVC to Dynamics CRM 365 on premise

(0) ShareShare
ReportReport
Posted on by 5

Hi 

I have a requirement as below.

MVC webpage, user can log in. Login against Active directory. Code is written in C# to do authentication against AD. After successful authentication, user redirects to the home page. The home page will have two links, one pointing to CRM and Another pointing to K2. Both CRM and K2 installed on the same server. Now, this AD authentication has to pass to CRM and K2. Therefore the user can log in one time in the webpage and use both CRM and K2. Something like SSO. MVC application also hosted in the same server. Is this possible to do? How can I achieve this? 

CRM 365 is on-premise one. 

Thanks & Regards,

Sathya Priya

*This post is locked for comments

  • SathiyaPriyan Profile Picture
    SathiyaPriyan 5 on at
    RE: Authentication from MVC to Dynamics CRM 365 on premise

    My Scenario is like below,

    CRM on-premise windows authentication is enabled.

    The first user performs AD auth to login to intranet laptop. user go to the browser and browse the CRM URL. CRM prompts STS window for authentication. Because laptop AD and CRM AD is different. This is the current behavior.

    Currently, the user needs to log in every time when they switch between k2 and CRM. Therefore we are thinking to create an MVC application. The user uses this application to login against AD. After login user can go to CRM or K2 from MVC home page. How can i pass the authentication from MVC application to CRM. Please advice.

    Thanks,

    Sathiya Priya

  • RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Authentication from MVC to Dynamics CRM 365 on premise

    Hi,

    Take a look at this: community.dynamics.com/.../dynamic-crm-2016-sso---single-sign-on

    Hope this helps.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans