Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Suggested answer

How to secure external web resource on dynamics 365

Posted on by 15

Hello,

So we developed to one of our customers an external web page developed on C sharp this page is hosed on  external server. 

This page retrieve some data from dynamics 365 and it's pop up on a button that we developed on one of the entities.  

Now the problem is that this web page is accessible for any user around the web and we need to secure this page that only users from dynamics 365 from that specific organization will be able to see this page, 

Any idea how can we do it? 

Can we require from a user to log into his Office 365 account on page load?

Thank you very much for your help

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,321 Most Valuable Professional on at
    RE: How to secure external web resource on dynamics 365

    Hello,

    May I ask why you developed that page as a standalone app and not HTML/JS webresource of Dynamics so it will be protected natively i.e. to open that page it would be required to be signed in to Dynamics Instance?

  • Suggested answer
    Tad Okada Profile Picture
    Tad Okada on at
    RE: How to secure external web resource on dynamics 365

    Hi,

    You may be able to use AAD authentication for your web app. See docs below for details.

    docs.microsoft.com/.../vs-active-directory-add-connected-service

    I hope it helps.

    Tad

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

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

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,558 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,645 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans