Skip to main content
Dynamics 365 Community / Forums / Finance forum / On-Prem: Web app needs...
Finance forum
Answered

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

editSubscribe (0) ShareShare
ReportReport
Posted on by 843
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 2,785 Super User 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 843 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 1,911 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
     

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,045 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,570 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans