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

Announcements

No record found.

News and Announcements icon
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,074 Super User 2026 Season 1 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,165 Super User 2026 Season 1 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

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 518 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 431

#3
Adis Profile Picture

Adis 280 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans