import { Callout } from "zudoku/ui/Callout";

# Requirements

To use the 365 business API Cloud services, communication between Microsoft Dynamics 365 Business Central and the 365 business API is required. To ensure communication, it may be necessary to configure firewall settings.

<Callout type="tip" title="Good to know">
Firewall settings or similar are only required in Microsoft Dynamics 365 Business Central <strong>On-Premise</strong> environments.<br/>
    In Microsoft Dynamics 365 Business Central <strong>Cloud</strong> environments, no firewall settings or other adjustments are required.
</Callout>

## Resources

In the context of communication between Microsoft Dynamics 365 Business Central and the 365 business API, the following DNS names, ports, and protocols are used:

<div className="endpoint-table-wrap">
  <table className="endpoint-table">
    <thead>
      <tr>
        <th>DNS Name</th>
        <th>Port</th>
        <th>Protocol</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><code className="url-nowrap">api.365businessapi.com</code></td>
        <td>443</td>
        <td>HTTPS</td>
        <td>API endpoint for accessing the 365 business API.</td>
      </tr>
      <tr>
        <td><code className="url-nowrap">license.365businessapi.com</code></td>
        <td>443</td>
        <td>HTTPS</td>
        <td>API endpoint for license verification and management.</td>
      </tr>
    </tbody>
  </table>
</div>

### Deprecated Resources

<Callout type="tip" title="Good to know">
Please update your 365 business apps regularly to ensure you can use the latest features and improvements.
</Callout>

In older versions of the 365 business API and the 365 business API app for Microsoft Dynamics 365 Business Central, the following DNS names and ports may still be used:

<div className="endpoint-table-wrap">
  <table className="endpoint-table">
    <thead>
      <tr>
        <th>DNS Name</th>
        <th>Port</th>
        <th>Protocol</th>
        <th>Description</th>
        <th>Replaced by</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><code className="url-nowrap">365businessapi.com</code></td>
        <td>443</td>
        <td>HTTPS</td>
        <td>API endpoint used for backward compatibility.</td>
        <td><code className="url-nowrap">api.365businessapi.com</code></td>
      </tr>
      <tr>
        <td><code className="url-nowrap">365businessapi.azurewebsites.net</code></td>
        <td>443</td>
        <td>HTTPS</td>
        <td>API endpoint used for backward compatibility.</td>
        <td><code className="url-nowrap">api.365businessapi.com</code></td>
      </tr>
      <tr>
        <td><code className="url-nowrap">login.microsoftonline.com</code></td>
        <td>443</td>
        <td>HTTPS</td>
        <td>Endpoint for authentication with Microsoft Entra ID.</td>
        <td>N/A</td>
      </tr>
      <tr>
        <td><code className="url-nowrap">api.businesscentral.dynamics.com</code></td>
        <td>443</td>
        <td>HTTPS</td>
        <td>API endpoint for license verification and management.</td>
        <td><code className="url-nowrap">license.365businessapi.com</code></td>
      </tr>
    </tbody>
  </table>
</div>

