Skip to main content

Notifications

Announcements

No record found.

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 907
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 !
  • Verified answer
    Layan Jwei Profile Picture
    Layan Jwei 7,715 Super User 2025 Season 1 on at
    On-Prem: Web app needs to consume APIs from D365 F&O, Which Ports Need to be Opened?
    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
  • Momochi Profile Picture
    Momochi 907 on at
    On-Prem: Web app needs to consume APIs from D365 F&O, Which Ports Need to be Opened?
     
    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
  • Suggested answer
    Waed Ayyad Profile Picture
    Waed Ayyad 7,567 Super User 2025 Season 1 on at
    On-Prem: Web app needs to consume APIs from D365 F&O, Which Ports Need to be Opened?
    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
     

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,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,375 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans