Configure the mobile site

When you've set up the Azure mobile site, created the web application registration, and uploaded the mobile deployment files, next step is to upload the Mobile Client application files.

  1. Extract the mobile installation files (from zip file).
  2. Locate the web config file, and edit it in a text editor. Go to the <appSettings> section, and change the settings shown in the table below to your current settings. The table below only shows examples.
App setting Example value Description
ax7Url

<add key="ax7Url"
value="https://contoso-test.sandbox.operations.
dynamics.com
" />

The URL for the Dynamics 365 for Finance
and Operations environment.

ax7ClientId

<add key="ax7ClientId"
value="b097fac0-deae-4959-9791-53bcb40a9909" />

This ID is the application ID of your App registration,
and it can be found in the Azure portal by navigating
to Microsoft Azure Portal > Azure Active Directory
> App registrations > Application ID.
Refer to the last step (step 10) in the
section Web application registration.
axDomain <add key="axDomain" value="contoso.com" />

Define the Active Directory domain name for the users
who should be able to log in on the Mobile Client.

ax7Storage
AccountName
See screenshot below.

An Azure Blob Storage account name.

Values are stored in Azure Portal > Storage Accounts
> Azure Blob Storage account > Access keys.

For more information on how to create a storage account,
if an account is not readily available, refer to Microsoft
documentation: Create a storage account.

ax7Storage
AccountKey
See screenshot below.

An Azure Blob Storage account key. It is recommended
to use the secondary key. This could be the account key
of the Azure Blob Storage associated with your
Dynamics 365 for Finance and Operations account.

Values are stored in Azure Portal > Storage Accounts
> Azure Blob Storage account > Access keys.

If the settings 'ax7StorageAccountName' and 'ax7StorageAccountKey' are left blank, there is a limitation of 18-20 MB per file. The limitation is set by the IIS service running Dynamics 365 for Finance and Operations. We recommend that you do not adjust these settings in a running environment.

When running an on-premise environment, the value of the 'ax7Url' setting will be similar to "https://d365onprem.myhost.com/namespaces/AXSF".
Furthermore, the settings for 'ax7StorageAccountName' and 'ax7StorageAccountKey' should be left blank on an on-premise installation because files are not actually stored in an Azure Blob store. As stated above, the result is a limitation regarding the size of files, which can be sent to and from Dynamics 365 for Finance and Operations, of 18-20 MB per file.

Step 1: Extract files
Step 2: Storage account name and key