This section describes the basic configuration required in Microsoft Dynamics 365 Finance and Operations on-premise and Dynaway mobile to enable users to connect to and work with the Mobile Client.
Prerequisites
To complete the installation using this procedure, you must be familiar with Microsoft Dynamics Lifecycle Services (LCS) and the administration of Microsoft Dynamics 365 Finance and Operations environments.
In addition, you must be working with:
- Microsoft Dynamics 365 Finance and Operations on-premise deployment
- Microsoft Windows Server 2019
- Microsoft SQL Server
Before setting up an environment with Dynaway Mobile for Asset Management (AM), ensure your organization has access to the following:
- Microsoft Dynamics Lifecycle Services (LCS) project for Microsoft Dynamics 365 Finance and Operations.
- Dynaway Mobile for Asset Management license file.
Audience
- System administrator
- Partner consultant
The Dynaway mobile solution is hosted on a local server as a web application and uses Active Directory Federation Services (AD FS) for application and user authentication. The diagram below shows an example of a typical setup, where arrows indicate the direction of connection initialization.
- Deployed D365 on-prem environment
- Separated Virtual machine as IIS server with Added a Host (A) Resource Record (Microsoft manuals: link)
- Internet Information Services (IIS) Server
- SSL Certificate for the DNS address (HTTPS required to run Dynaway mobile apps)
- Microsoft Web Deploy 3.6 installed
- Roles
- Web Server (IIS)
- Default Document
- Directory Browsing
- HTTP Errors
- Static Content
- Health and Diagnostics:
- Performance:
- Static Content Compression
- Security:
- Request filtering
- Basic Authentication
- Application Development:
- .Net (ALL)
- ASP (ALL)
- CGI
- ISAPI (ALL)
- Management tools:
- IIS Management console
- Management Service
- Features:
- ASP.NET 3.5 and 4.8
We've tested and verified that the Mobile Client supports the following browser versions on the operating systems listed above:
- Apple® Safari® iOS and iPadOS™
- Google Chrome™
- Microsoft® Edge
- Internet Explorer not supported
Access rights as:
- AD FS Server access
- Active Directory administrator account
- Dynamics 365 administrator account
- Project owner role in LCS portal
- SQL Management Studio (optional)
- AxDB Database admin access
Note:
We recommend using the latest supported version available. Confirm our compatibility before upgrading to newer browser versions and mobile devices.
Installation package contents
- Dynaway_Work_Execution_[version number].zip
- Dynaway_Mobile_Scheduling_[version number]-msam-onpremise.zip
- Dynaway Asset management deployable package
- Advanced Asset Management license
Documentation contents
- Release notes
- Installation notes
In the table below, compatibility between AM releases and Dynaway Mobile Client releases
Microsoft Dynamics 365 Version
|
Dynaway Asset Management Release
|
Dynaway Mobile Release
|
| 10.0.39 (and above) |
2404.1.4 |
2404.1.4 |
10.0.40 (and above)
|
2407.1.* |
2407.1.* |
You must set up security roles in Dynamics 365 for Finance and Operations for administrators or managers to work with setup in the Dynaway mobile module and for workers to access the Mobile Client.
Role
|
Related tasks
|
CAL level in Microsoft Dynamics 365 for Finance and Operations
|
Dynaway Mobile administrator
|
This role has access to the Dynaway mobile module in Dynamics 365 for Finance and Operations. Here, the user can set up and change the configuration of the Mobile Clients. This includes setting up the functionality available on the Mobile Client and setting up the users who should be able to log in on the Mobile Client.
|
Team Members
|
Dynaway mobile data manager
|
Load setup data from data entities for data migration.
|
None
|
Dynaway Mobile user
|
This role is required to log in and make registrations on the Mobile Client.
|
None
|
Pre-requisites
- Dynamics 365 finance and operations on-premise environment
- Active directory federation services (ADFS)
- IIS web server
Step 1: Deploy Dynaway solution (models) on Dynamics 10.0.39 version and above
Deploy Dynaway models and the license via the LCS manual (https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-tools/isv-licensing-on-prem), or through Microsoft Dynamics Lifecycle Services as part of the standard deployment process.
- Download the Dynaway deployable package from LCS to your local drive.
- Add the license file to the /Scripts/License/ directory (see screenshot 01).
- Upload the deployable package to LCS: Asset library > Software deployable package > Add.
- Update the environment via LCS by applying the deployable package.
Step 2: Create IIS Server in the on-prem infrastructure
The on-premises infrastructure must include an additional virtual machine for the IIS server (Internet Information Services), where the Dynaway mobile client will be set up and deployed.
Internet Information Services (IIS) must be installed on a server in the same domain and must have network access to the following virtual machines: AOS, Service Fabric, Orchestrator, and SQL Server.
Step 3: Set the Internet Information Services Server (IIS Virtual Machine)
Install all required roles and features as per the prerequisites.
- Open IIS Manager.
- Create a new website with the name dynawaytest.
- Configure the website to use HTTPS (SSL certificate required).
- Create two new directories under C:\inetpub\wwwroot\ (see screenshot 02 for reference):
- Create two applications under the dynawaytest website in IIS:
- Add website access to the content folder (see screenshot 03 for reference):
- In IIS, select the dynawaytest website.
- Go to Directory Browsing.
- Enable it to allow access to the website content.
Step 4: Download Dynaway mobile app and deploy it in IIS
- Go to LCS > Your project > Menu > Asset library > Solution package, and download the Dynaway Advanced asset management package.
- Download the release notes to identify the package that contains the Dynaway mobile files (see screenshot 04).
- Open the downloaded ZIP folder and locate the following files (see screenshot 05):
- Dynaway+_Work_Execution_v2604.1.1_AM_ON_PREM.zip
- Dynaway_Scheduling_Board_v2604.1.1_AM_ON_PREM.zip
- Copy the ZIP files to the IIS server local drive.
- Open IIS Manager, select dynawaytest, and go to Deploy > Import Application.
- Select the required ZIP file (see screenshot 06).
- Refer to the steps below to configure the web.config file.
Step 5: Setting web.config files for Work execution and Scheduling board applications
The web.config file (included in the Dynaway web app packages) manages connection settings between the on-premises Microsoft Dynamics 365 Finance and Operations environment and the Dynaway Work execution and Scheduling board applications (see screenshot 07).
You must gather all required values before performing the IIS import process. Alternatively, you can skip Deploy > Import Application in IIS and update the values manually.
Required configuration values
- Ax7ClientId
- Set this to the Dynamics 365 environment URL.
- Example: https://testenvironment.d365f&o.company.com/
- AD App Registration
- Open the AD FS console.
- Go to D365 NativeApp.
- Copy the required value.
- .AxDomain
- For on-premises environments, this is typically: adfs
- OnPremiseInstance / AADValidAudience
- To retrieve the value:
- Go to C:\ProgramData\SF<OrchestratorMachineName>\Fabric
- Locate the file AXSF.Package.1.0.
- Find the value AADValidAudience and use it during web app deployment.
- Alternatively, the value can be taken directly from the AADValidAudience file.
- Example: https://testenvironment.d365f&o.company.com/
- Ax7StorageAccountName and Ax7StorageAccountKey
- These values must be left blank.
Step 6: Configure AD FS for Dynaway web applications
- Go to the AD FS server.
- Add the environment URL and Dynaway web app URLs for the correct Client ID.
- Add the fully qualified IIS server name to AD FS trusted endpoints.
- In AD FS, navigate to:
Application Groups > MSFT Dynamics 365 Operations On-premises > Native application (see screenshot 08).
- Open the application by selecting Edit.
- Add the following redirect URLs:
- https://your_company_dns/dynawaytest/work/login/success
- https://your_company_dns/dynawaytest/scheduling/login/success
- Ensure each website’s DNS/IP corresponds to the correct environment.
Step 7: Set Dynamics 365 with Dynaway mobile Work execution and Scheduling board app
- Log in to Microsoft Dynamics 365 Finance and Operations and navigate to Dynaway mobile > Setup > Mobile parameters (see screenshot 09):
- Enable Change tracking (see screenshot 10).
- Go to Dynaway mobile > Setup > Module configuration > Application locations (see screenshot 11):
- Add the Scheduling board URL: https://your_company_dns/dynawaytest/scheduling/
- Add the Work execution URL: https://your_company_dns/dynawaytest/work/
- Go to Dynaway mobile > Setup > Module configuration > Scheduling board (see screenshot 11):
- Set Enabled to true.
- Set Scope to User group and select the planners user group, or set to All if access should be available to all users.
- Go to Dynaway mobile > Setup > Handler setup:
- Enable required handlers to log errors (by default, all handlers are disabled).
- Go to Dynaway mobile > Setup > Entity setup:
- Select all entities.
- Click Enable.
- Go to Dynaway mobile > Periodic > Entity initialization:
- Run the Entity initialization job.
Step 8: Set up and verify user account
- Go to Modules > Human resources > Workers > Employees and hire a worker.
- Go to System administration > Users > Users and ensure your account is associated with a person (worker).
- Verify the user account:
- Ensure a default company is set.
- Assign the Dynaway Mobile user role.
- Assign the System user role.
- Go to Modules > Asset management > Setup > Workers > Workers and add the worker.
- Go to Modules > Dynaway mobile > Setup > Users, add the worker, enable the user, and save.
Step 9: Validate Dynaway web applications
- Open the Dynaway mobile URLs, log in, and test the web applications:
- https://your_company_dns/dynawaytest/work/
- https://your_company_dns/dynawaytest/scheduling/
01: Add the license to the deployable package (Step 1).
02: Create work and plan directories (Step 3.4).
03: Create new Website and new applications (Step 3.6).
04: Dynaway mobile client package (Step 4.1).
05: Dynaway mobile package on-prem content (Step 4.2).
06: Deploy the Dynaway Webapps (Step 4.4).
07: The web.config and the values (Step 5).
08: AD FS Console, where to get the Client ID value (Step 6).
09: Mobile parameters and module configuration menu (Step 7).
10: Mobile parameters change tracking (Step 7.1).
11: Module configuration menu (Step 7.2, Step 7.3).