web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

On-Prem: Web app needs to consume APIs from D365 F&O, Which Ports Need to be Opened?

(1) ShareShare
ReportReport
Posted on by 1,038
Greetings dears!
I have a .Net web application that was previously used to consume APIs from D365 FO deployed on the cloud.
It was simple, after registering an app on the Azure, we use the credentials provided by app registration (Client Id, Secret, Resource, Tenant), and it works fine.
Now, I'm looking into making this web app work on D365 which is deployed on-premise.
I know that the communication should go through AD FS server, where we register the application there and get the credentials (client ID secret, resource, tenant).
But since this is a private network, which ports needs to be opened between the .net Web App and the AD FS?
 
Any suggestions is appreciated!
Thanks in advance !
I have the same question (0)
  • Suggested answer
    Waed Ayyad Profile Picture
    9,047 Super User 2025 Season 2 on at
    Hi @Momochi,
     
    Take a look at this link maybe it will help you:
     
     
     
     
     
     
    Regards,
    Waed Ayyad
     
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
     
  • Momochi Profile Picture
    1,038 on at
     
    I really appreciate your link, but it does not state my issue which is what ports needs to be opened between my .NET web app server and the AD FS server.
    Because the AD FS is located in a separate subnet, I need to open ports so they communicate.
     
    Thanks
  • Verified answer
    Layan Jwei Profile Picture
    8,158 Super User 2025 Season 2 on at
    Hi Momochi,
     
    Mainly it would be port 443
     
    Check these two links if other ports are needed
     
     
    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 836 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 441 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 346 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans