Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

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

Posted on by 863
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,204 Super User 2024 Season 2 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 863 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 5,955 Super User 2024 Season 2 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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 229,275 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans