If you want to run the inbound web service application in the cloud, use an Azure App Service.

Application Consultant Application Consultant Start Start Set up Azure Web App Set up Azure Web App Set up the Azure App Service Web App that is used to manage the web service. For more information, refer to App Service documentation . For the binaries that are required to install the Azure Web App, contact STAEDEAN Support. They can provide you with a ZIP file that also contains the installation instructions. Register application with Microsoft Entra ID Register application with Microsoft Entra ID Register a native web application in Microsoft Entra ID to access D365 FO. For more information, refer to Register an application with the Microsoft identity platform. For the web app, only OAuth 2.0 authentication is supported. So, on the registered app, as authentication, add a platform of type Mobile and desktop applications, and choose an option that supports OAuth2. Make sure the required API permissions to the Dynamics ERP API are granted for the Microsoft Entra ID application. For more information, refer to Permissions and consent in the Microsoft identity platform. Register Microsoft Entra ID application in D365 FO Register Microsoft Entra ID application in D365 FO To connect to D365 FO, you must register the Microsoft Entra ID application in D365 FO. Procedure 1. Go to System administration > Setup > Microsoft Entra ID applications. 2. Click New. 3. In the Client Id field, enter the 'Application (client) ID' of the Microsoft Entra ID app. 4. In the Name field, enter the 'Display name' of the Microsoft Entra ID app. 5. In the User ID field, enter or select a value. Note: Make sure, this user has sufficient rights. You can, for example, use a user with admin rights. 6. Close the page. Configure the App Service web app Configure the App Service web app Before you can use the web site, as installed on the App Service web app, to connect to D365 FO, configure the web app. Procedure 1. In Microsoft Azure, open the App service web app and click the URL. 2. Browse the web site and fill in the application settings. 3. URI: Enter the web address of the D365 FO environment, without trailing slash! 4. User name: Enter the user name that gives access to D365 FO. 5. Password: Enter the password for the D365 FO user. Note: You cannot type the password directly in Web.config because the system only uses encrypted passwords. 6. Company: Enter the default company. 7. Language: Enter the default language. 8. Microsoft Entra ID source URI: Enter the web address of the D365 FO environment, without trailing slash! 9. Microsoft Entra ID tenant: Enter the Microsoft Entra ID tenant like this: https://login.windows.net/[your tenant name] 10. Microsoft Entra ID client app: Enter the name of the native web application that you registered with Microsoft Entra ID. 11. Click test configuration to verify if the setup is correct. 12. Save the configuration. Notes You can use an external tool to test the web service connection. For example, Postman. End End

Activities

Name Responsible Description

Set up Azure Web App

Application Consultant

Set up the Azure App Service Web App that is used to manage the web service. For more information, refer to App Service documentation .

For the binaries that are required to install the Azure Web App, contact STAEDEAN Support. They can provide you with a ZIP file that also contains the installation instructions.

Register application with Microsoft Entra ID

Application Consultant

Register a native web application in Microsoft Entra ID to access D365 FO. For more information, refer to Register an application with the Microsoft identity platform.

For the web app, only OAuth 2.0 authentication is supported. So, on the registered app, as authentication, add a platform of type Mobile and desktop applications, and choose an option that supports OAuth2.
Make sure the required API permissions to the Dynamics ERP API are granted for the Microsoft Entra ID application. For more information, refer to Permissions and consent in the Microsoft identity platform.

Register Microsoft Entra ID application in D365 FO

Application Consultant

To connect to D365 FO, you must register the Microsoft Entra ID application in D365 FO.

Configure the App Service web app

Application Consultant

Before you can use the web site, as installed on the App Service web app, to connect to D365 FO, configure the web app.

Activities

Name Responsible Description

Set up Azure Web App

Application Consultant

Set up the Azure App Service Web App that is used to manage the web service. For more information, refer to App Service documentation .

For the binaries that are required to install the Azure Web App, contact STAEDEAN Support. They can provide you with a ZIP file that also contains the installation instructions.

Register application with Microsoft Entra ID

Application Consultant

Register a native web application in Microsoft Entra ID to access D365 FO. For more information, refer to Register an application with the Microsoft identity platform.

For the web app, only OAuth 2.0 authentication is supported. So, on the registered app, as authentication, add a platform of type Mobile and desktop applications, and choose an option that supports OAuth2.
Make sure the required API permissions to the Dynamics ERP API are granted for the Microsoft Entra ID application. For more information, refer to Permissions and consent in the Microsoft identity platform.

Register Microsoft Entra ID application in D365 FO

Application Consultant

To connect to D365 FO, you must register the Microsoft Entra ID application in D365 FO.

Configure the App Service web app

Application Consultant

Before you can use the web site, as installed on the App Service web app, to connect to D365 FO, configure the web app.

Provide feedback