Two screenshots side by side: on the left from the Sören tool, on the right from the Arwinger website
Dynamics User Group Meetup on End2End testing with Sören
11. June 2023
A futuristic depiction of a table with many different strands of light emanating from it, blurred screenshots in the background; a person looking at the strands of light and screenshots
Virtual Write is the new Dual Write
26. July 2024

Change of authentication for the Warehouse Management Mobile App

From July 15, 2024, service-based authentication (Client Key & Client Secret) will be discontinued. It is therefore necessary to change the authentication for all devices by this date.

Microsoft now generally offers 3 options here:

Device code flow authentication One Microsoft Entra ID user account
(per device)
Microsoft Entra ID user account for each human worker
App generates device code, which must be entered by an admin together with the user name and password of an Entra ID account in an online form. A device-specific Entra ID is used for authentication (you can also use one and the same one for all devices). The warehouse employee then logs in as usual with the warehouse worker's user ID and password (warehouse worker). The employee's personal Entra ID account is used to log in to the device. By linking the user (EntraID) with an employee (HCMWorker & Warehouse worker), this is sufficient for logging in.
Automatic logout after 90 days of inactivity Automatic logout after 90 days Automatic logout after 90 days
MDM systems (e.g. Intune) are not supported MDM systems (e.g. Intune) are supported MDM systems (e.g. Intune) are supported
- SSO possible SSO possible

As not all warehouse employees usually need their own Entra ID account and device code flow authentication does not support MDM systems, we see authentication via an Entra ID user account (per device) as the most common option in future. Therefore, a quick guide to setting this up follows.

Setting up user-based authentication for the Warehouse Management Mobile App

User-based authentication for the Warehouse Management Mobile App is set up in 2 steps:

  • Setting up a web service application in Microsoft Entra (Azure)
  • Setting up the connection in the Warehouse Management Mobile App

As a prerequisite, an Entra user must exist and also be created as a user in Dynamics 365 Finance and Supply Chain Management with the corresponding role (Warehouse mobile device user).

Setting up a web service application in Microsoft Entra (Azure)

  1. Open the Azure portal(http://portal.azure.com) and log in there with an admin account.
  2. In the Azure portal, select Microsoft Entra ID > App Registration > New Registration.
    1) Enter a name for your application.
    2) Select the supported account type: Accounts in this organizational directory only.
    3) Then click on Register.


  3. Make a note of the application (client) ID (required later for setting up the app).


  4. Select the Authentication option from the left-hand menu under Manage.
    1) Set the Enable the following mobile device flows parameter to Yes.
    2) Save the changes.


  5. On the same page, click on Add a platform and then on Mobile and Desktop application.


  6. In the Configure Desktop + Devices dialog box, set the Custom redirect URIs field to the following value: ms-appx-web://microsoft.aad.brokerplugin/S-1-15-2-3857744515-191373067-2574334635-916324744-1634607484-364543842-2321633333


  7. Optional: If you are using Android devices, you should select the Add platform option again. Then select Android in the next form and enter the following:

    • Package name: com.microsoft.warehousemanagement
    • Signature hash: hpavxC1xAIAr5u39m1waWrUbsO8=


  8. Optional: If you are using IOS devices, you should select the Add platform option again and select iOS / Mac OS and enter the following in the field: microsoft.WarehouseManagement.
  9. After you have added the platform, click on API authorizations (1) in the left menu under Administration. Select Add authorization (2) and then on the Dynamics ERP subpage (3).


  10. In the new window, select the Delegated authorizations (1) and activate the CustomService.FullAccess (2) checkbox under Custom Service. Finally, click on Add authorization (3) to save the change.


  11. Return to the main Azure portal page and select Microsoft Entra ID > Enter prices applications and search for your new application. From the left menu, under Administration, select Properties (1) and set and save the following values:

    • Assignment required - Yes (2)
    • Visible for users - No (3)

  12. Select Users and groups and Add users/groups from the left-hand menu. Add individual users or groups for which you want to activate authentication and save the changes.


  13. Then select the Authorizations option (1) from the left-hand menu under Security and grant the administration consent (2).


Setting up the connection in the Warehouse Management Mobile App

  1. After opening the app, click on Change connection and on the following screen on Set up connection and select Input manually.


  2. Enter the following data here:
    • Connection Name: Give the connection a unique name.
    • Environment URL: The link of the D365FSCM environment you want to connect to.
    • Company: The D365FSCM client to be logged on to
    • Authentication method: Username and Password
    • Domain name: The name of your domain (i.e. what appears after the @ in the emails)
    • Use Broker: Yes
    • Cloud: Manual
    • Microsoft Entra ID tenant: Enter your Entra ID tenant. You can find your tenant, for example, in D365FSCM under Help&Support > About > Licenses.
    • Microsoft Entra ID client ID: Enter the client ID here that you noted when setting up the web service application in Microsoft Entra (Azure).
  3. Save the connection and click on Connect.


  4. Log in with your Entra ID account (user name & password).


  5. You will land on the usual login page, where you can now log in with your Warehouse worker and password.

Sven Mahn IT blogs

Dynamics Views is the blog of Sven Mahn IT. The members of our management team as well as some of our experienced consultants and developers would like to share their insights, findings and opinions about Microsoft Dynamics 365 Finance and Supply Chain Management as well as Dynamics AX with you. They also report on exciting news.

Dynamics Views is intended to provide you with focused information and interesting impulses beyond our website at regular intervals. We would like to enter into a dialog with you. In this respect, we look forward to your visits and are eagerly awaiting your comments!

Leave a Reply

Your email address will not be published. Required fields are marked *