Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

What is the best way of authenticating ASP.NET Extended Application with Dynamic 365 Online

(0) ShareShare
ReportReport
Posted on by 430

Hi, 

I would like to know What is the best way of authenticating ASP.NET Extended Application with Dynamic 365 Online

here is a scenario:

  1. Dynamic 365 functionalities are extended in the ASP.NET application and deployed in Azure Web App.
  2. This Extended Application is not public facing. It should be considered as a part of Dynamic 365 and only Dynamic 365 users should be able to access it.
  3. How can this Extended Application authenticate a user from Dynamic 365? e.g. Server2Server or any other preferred way?
  4. For instance, there are 3 users added in Dynamics 365 and when these users are using Extended Application and making any changes, those changes should be reflected in Dynamics 365 as themselves e.g. created by or modified by a User

Please share your knowledge of such scenario and help me out to resolve.

Thanks

*This post is locked for comments

  • Aric Levin - MVP Profile Picture
    30,188 Moderator on at
    RE: What is the best way of authenticating ASP.NET Extended Application with Dynamic 365 Online

    I think you can handle all of this with Azure.

    It's been a while, but you can delegate permission to your ASP.NET application to CRM, and also use CORS to make sure that nobody except the CRM application have access to your ASP.NET application.

    I would check if using delegated permissions will actually pass the authentication token between CRM and your Azure web site.

    I did this about a year ago, and this is the logic that I remember from it, but there might be something else I am forgetting.

    Try this approach.

  • Srujan K Profile Picture
    317 on at
    RE: What is the best way of authenticating ASP.NET Extended Application with Dynamic 365 Online

    If the ASP.Net application is not already built. Best way is to Leverage Dynamics CRM Portal capabilities.

    1. Authentication can be achieved using Azure AAD , Invitation & Registration basis.

    2. Authorization can be achieved using Portal Web Roles.

  • Community Member Profile Picture
    on at
    RE: What is the best way of authenticating ASP.NET Extended Application with Dynamic 365 Online

    Following

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!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans