Ax Installation Guide
Ax Installation Guide
Ax Installation Guide
Microsoft Corporation
Published: May 2014
Note:
Some of the information in this guide applies only to Microsoft Dynamics AX 2012 R3
installations, and some information applies only to AX 2012 R2, AX 2012 Feature Pack or AX 2012.
Unless otherwise noted in this guide, all other content applies to AX 2012 R3, AX 2012 R2, AX
2012 Feature Pack, and AX 2012.
Microsoft Dynamics AX
Microsoft Dynamics is a line of integrated, adaptable business management solutions that enables you
and your people to make business decisions with greater confidence. Microsoft Dynamics works like and
with familiar Microsoft software, automating and streamlining financial, customer relationship, and supply
chain processes in a way that helps you drive business success.
U.S. and Canada Toll Free 1-888-477-7989
Worldwide +1-701-281-6500
www.microsoft.com/dynamics
This document is provided "as-is." Information and views expressed in this document, including URL and
other Internet Web site references, may change without notice. You bear the risk of using it.
Some examples are for illustration only and are fictitious. No real association is intended or inferred.
This document does not provide you with any legal rights to any intellectual property in any Microsoft
product. You may copy and use this document for your internal, reference purposes.
Copyright 2014 Microsoft. All rights reserved.
Microsoft, Microsoft Dynamics, the Microsoft Dynamics logo, Active Directory, Excel, MSDN, SharePoint,
SQL Server, Visual Studio, Windows, Windows PowerShell, Windows Server, and Windows Vista are
trademarks of the Microsoft group of companies. All other trademarks are property of their respective
owners.
Microsoft Dynamics AX
Table of Contents
Plan the base topology of Microsoft Dynamics AX ................................................................................................................ 7
Servers in the Microsoft Dynamics AX environment ......................................................................................................... 7
Sample deployment scenarios .................................................................................................................................................... 9
Single-server deployment ........................................................................................................................................................ 9
Small-scale deployment ............................................................................................................................................................ 9
Large-scale deployment ......................................................................................................................................................... 11
AOS topology ................................................................................................................................................................................. 13
AOS clusters without a dedicated load balancer ......................................................................................................... 13
AOS clusters with a dedicated load balancer ................................................................................................................ 14
SQL Server topology recommendations for availability and performance ............................................................ 16
Overview of the installation........................................................................................................................................................... 19
Microsoft Dynamics AX components .................................................................................................................................... 19
Installation types ........................................................................................................................................................................... 28
Before you begin ............................................................................................................................................................................... 29
Pre-installation checklist ............................................................................................................................................................ 29
Create service accounts .............................................................................................................................................................. 30
Create a shared directory for installation ............................................................................................................................ 37
Include cumulative updates and hotfixes in a new installation (slipstreaming) .................................................. 38
Verify that you have the required permissions for installation ................................................................................... 40
Check prerequisites ...................................................................................................................................................................... 43
Install the databases ......................................................................................................................................................................... 45
Configure SQL Server and storage settings ....................................................................................................................... 45
Install the Microsoft Dynamics AX databases .................................................................................................................... 52
Install server and web server components .............................................................................................................................. 60
Install an Application Object Server (AOS) instance ....................................................................................................... 60
Install an AOS instance ........................................................................................................................................................... 60
Install multiple AOS instances ............................................................................................................................................. 64
Install Enterprise Portal ............................................................................................................................................................... 65
Checklists for deploying Enterprise Portal sites............................................................................................................ 65
Checklist: Deploy an internal Enterprise Portal site that has Role Centers.................................................... 65
Checklist: Deploy an employee self-service portal ................................................................................................. 66
Checklist: Deploy an unsolicited vendor portal ........................................................................................................ 67
Checklist: Deploy a vendor registration portal ......................................................................................................... 68
Install Enterprise Portal on a single server ...................................................................................................................... 69
Deploy Enterprise Portal in a server farm ....................................................................................................................... 73
Install and configure Windows AppFabric for Enterprise Portal ........................................................................ 73
Install Enterprise Portal in a Web farm ............................................................................................................................. 85
Microsoft Dynamics AX
Deploy a claims-mode Enterprise Portal site ................................................................................................................. 92
Deploy an Enterprise Portal site that uses forms-based authentication ........................................................ 92
Deploy an Enterprise Portal site that uses AD FS authentication ................................................................... 106
Deploy Enterprise Portal for vendor registration with Windows Azure Active Directory Access
Control ................................................................................................................................................................................ 121
Install Enterprise Portal in a traditional perimeter network ................................................................................... 137
Install Enterprise Portal Help content ............................................................................................................................. 148
Install multiple Enterprise Portals on the same server ............................................................................................. 149
Set up Enterprise Portal and Role Centers.................................................................................................................... 151
Deploy Microsoft Dynamics AX Web parts to a SharePoint site ......................................................................... 151
Install Search ................................................................................................................................................................................. 153
Checklist: Deploy Microsoft Dynamics AX Enterprise Search ............................................................................... 153
Install and configure Search prerequisites ................................................................................................................... 154
Configure the Search Crawler account ........................................................................................................................... 156
Configure SharePoint Services logging ......................................................................................................................... 156
Install Microsoft Dynamics AX Enterprise Search ...................................................................................................... 157
Install Enterprise Search on FAST Search Server ........................................................................................................ 160
Configure Enterprise Search by using the Search Configuration wizard .......................................................... 165
Install help server ........................................................................................................................................................................ 167
Before you install the help server ..................................................................................................................................... 167
Install the help server ............................................................................................................................................................ 168
Install Help content at an alternative location ............................................................................................................ 170
Install business intelligence components .............................................................................................................................. 172
Install Reporting Services extensions for Microsoft Dynamics AX .......................................................................... 172
Checklist: Install the Reporting Services extensions and deploy reports ......................................................... 172
Before you install the Reporting Services extensions .............................................................................................. 173
Install the Reporting Services extensions ...................................................................................................................... 178
Complete the Reporting Services integration ............................................................................................................. 180
Create a document library to store reports ............................................................................................................. 180
Deploy the default reports ............................................................................................................................................. 182
Grant users access to reports ........................................................................................................................................ 184
Configure Analysis Services .................................................................................................................................................... 186
Checklist: Configure Analysis Services and deploy cubes ...................................................................................... 186
Before you configure Analysis Services ......................................................................................................................... 187
Configure Analysis Services by running Setup ............................................................................................................ 188
Complete the Analysis Services integration process ................................................................................................ 190
Install Management Reporter components .......................................................................................................................... 191
Install Management Reporter server components ........................................................................................................ 191
Install Report Designer for Management Reporter ....................................................................................................... 193
Install client components ............................................................................................................................................................. 195
Install the Microsoft Dynamics AX client ........................................................................................................................... 195
Install a client ............................................................................................................................................................................ 195
Configure clients to use a shared configuration ........................................................................................................ 197
Configure clients to access data in a partition ............................................................................................................ 199
Microsoft Dynamics AX
Install Office Add-ins ................................................................................................................................................................. 201
Install Remote Desktop Services integration ................................................................................................................... 203
Install developer tools ................................................................................................................................................................... 204
Install the debugger ................................................................................................................................................................... 204
Install Visual Studio Tools ........................................................................................................................................................ 205
Install the Trace Parser .............................................................................................................................................................. 207
Install integration components .................................................................................................................................................. 209
Install web services on IIS ........................................................................................................................................................ 209
Install the .NET Business Connector .................................................................................................................................... 213
Install the synchronization proxy for Microsoft Project Server ................................................................................. 215
Install the synchronization service for Microsoft Project Server .............................................................................. 217
Install management utilities ........................................................................................................................................................ 219
Install retail components .............................................................................................................................................................. 221
Deployment topologies for Retail ........................................................................................................................................ 222
Install Retail headquarters ....................................................................................................................................................... 227
Install Commerce Data Exchange: Real-time Service (Retail Transaction Service) ............................................ 228
Install Retail POS (point of sale) ............................................................................................................................................ 238
Install Modern POS..................................................................................................................................................................... 240
Install a retail channel database ............................................................................................................................................ 242
Install Commerce Data Exchange: Synch Service (Retail Store Connect) ............................................................. 245
Install Commerce Data Exchange: Async Server ............................................................................................................. 247
Install Commerce Data Exchange: Async Client .............................................................................................................. 253
Install the Retail Channel Configuration Utility (Retail Store Database Utility) .................................................. 259
Install Retail Server ..................................................................................................................................................................... 261
Install Retail Hardware Station............................................................................................................................................... 267
Install a Microsoft Dynamics AX Retail online store (e-commerce) ........................................................................ 272
Install retail mass deployment toolkit ................................................................................................................................. 295
Install Retail SDK (Retail POS Plug-ins) .............................................................................................................................. 297
Install Retail Essentials at headquarters ............................................................................................................................. 298
Install Retail Essentials at the store or at the point of sale ......................................................................................... 304
Install the RapidStart Connector ............................................................................................................................................... 307
Install Warehouse Mobile Devices Portal .............................................................................................................................. 309
Install the VSS writer for Microsoft Dynamics AX ............................................................................................................... 312
Install Connector for Microsoft Dynamics ............................................................................................................................. 315
Install the Data import/export framework (DIXF, DMF) ................................................................................................... 317
Perform a single-computer installation of Microsoft Dynamics AX ............................................................................ 320
Perform a single-computer installation ............................................................................................................................. 320
Considerations for installing multiple instances on a computer.............................................................................. 321
Install Microsoft Dynamics AX in silent mode ..................................................................................................................... 323
Microsoft Dynamics AX
Run Setup in silent mode ......................................................................................................................................................... 323
Firewall settings for Microsoft Dynamics AX components ............................................................................................. 325
Troubleshoot the installation...................................................................................................................................................... 330
Microsoft Dynamics AX
AOS topology
Database server
A Microsoft SQL Server database server hosts the database that stores Microsoft Dynamics AX transaction
data. The database server also hosts the model store, which is the database that stores application
elements. These application elements include customizations.
Note:
In Microsoft Dynamics AX 2012 R3 and AX 2012 R2, the model store and the business data are
stored in separate databases. In earlier versions of AX 2012, the model store and business data
are stored in a single database.
Microsoft Dynamics AX
Report server
A report server is a server that runs Microsoft SQL Server Reporting Services. Reporting Services is a
server-based solution that lets users create and publish both traditional, paper-based reports and
interactive, web-based reports.
For more information about how to set up a report server, see Install Reporting Services extensions for
Microsoft Dynamics AX.
Analysis server
An analysis server enhances the reporting functionality in Microsoft Dynamics AX by linking to Microsoft
SQL Server Analysis Services. An analysis server provides enhanced support for online analytical
processing (OLAP).
For more information about how to set up an analysis server, see Configure Analysis Services.
Web server
A web server hosts the websites that are required for some Microsoft Dynamics AX features. These
features include Enterprise Portal for Microsoft Dynamics AX, Help server, Enterprise Search, Warehouse
Mobile Devices Portal, web services on IIS, and the Retail online store.
Domain controller
A domain controller in an Active Directory network manages user logons and access to network and
shared resources.
Messaging server
A messaging server enables email messages and instant messages to be sent and received. Microsoft
Dynamics AX can use email to send alerts to users. Microsoft Dynamics AX requires that the messaging
server support SMTP.
Microsoft Dynamics AX
Single-server deployment
Small-scale deployment
Large-scale deployment
Single-server deployment
A single-server deployment occurs when you deploy all the Microsoft Dynamics AX components on a
single computer. We recommend that you consider a single-server deployment only for development or
demonstration environments.
You must make sure that the single-server deployment fits in with your overall strategy for IT
infrastructure and development. Carefully consider the hardware and software that are required for the
single-server deployment to guarantee appropriate response times for your developers. For the current
hardware and software requirements for Microsoft Dynamics AX, download Microsoft Dynamics AX 2012
System Requirements from the Microsoft Download Center
(http://go.microsoft.com/fwlink/?LinkID=195222).
Small-scale deployment
The topology for a small-scale deployment of Microsoft Dynamics AX expands on the topology for a
single-server deployment that is described in Single-server deployment.
This topology does not offer scalability or high availability. Scalability and high availability are introduced
in the large-scale topology that is described in the Large-scale deployment topic. This topology is suitable
as a test environment and for training purposes.
Microsoft Dynamics AX
The following diagram shows a sample topology for a small-scale deployment.
Small-scale deployment topology
The following list describes how the computers in this sample topology are used:
Windows clients for Microsoft Dynamics AX that connect over a wide area network (WAN) are
configured to use Terminal Services to communicate with Application Object Server (AOS). Windows
clients on the local area network (LAN) are configured to communicate with AOS directly.
AOS is deployed on a single-server computer. AOS can host the following components:
Workflow
External applications use services and AIF to exchange data with Microsoft Dynamics AX.
Search server
The server that runs Microsoft SQL Server can host the following components:
10
Microsoft Dynamics AX
Large-scale deployment
The sample topology for a large-scale deployment of Microsoft Dynamics AX focuses on high availability.
To achieve high availability, the topology includes load-balancing server clusters for the application
servers and failover server clusters for the database server.
Topology diagram
The following diagram shows the sample topology for a large-scale deployment.
Large-scale deployment
This diagram shows a layered topology that helps provide security through the strategic placement of
firewalls and the use of a perimeter network. A perimeter network, which is also known as a demilitarized
zone (DMZ) or a screened subnet, prevents external users from directly accessing the corporate intranet.
Inside the corporate intranet, servers are divided among the following layers:
An applications layer, which contains servers that specialize in serving information to clients.
11
Microsoft Dynamics AX
A database and platform layer, which contains servers that specialize in storing information that can
be retrieved by servers in the applications layer. This layer also contains servers that provide
company-wide administrative and security functions, such as directory servers and mail servers.
Microsoft Dynamics AX Windows clients that connect over a wide area network (WAN) are configured to
use Terminal Services to communicate with Application Object Server (AOS). Microsoft Dynamics
AX Windows clients on the local area network (LAN) are configured to communicate with AOS directly.
Perimeter network
The perimeter network provides external users access to Microsoft Dynamics AX functionality through the
following types of server clusters:
A Terminal Services cluster provides virtual private network (VPN) access to authorized users.
An Internet Information Services (IIS) cluster provides access to services through the Web services on
IIS feature for Microsoft Dynamics AX.
Applications layer
The applications layer contains servers that provide information both to internal clients and to external
clients that access Microsoft Dynamics AX through the perimeter network. This layer contains the
following servers:
1.
A single AOS cluster supports clients and application components. You can configure one or more
AOS instances in the cluster to act as batch servers. The AOS cluster natively provides functionality for
services and Application Integration Framework (AIF), Workflow, and batch processing tasks. This
cluster typically uses Network Load Balancing (NLB) to distribute the workload among the AOS
instances.
2.
3.
Dedicated servers provide internal clients access to Enterprise Portal, Microsoft Dynamics AX Help
Server, Search Server, and Microsoft Project Server.
A Microsoft SQL Server failover cluster contains the Microsoft Dynamics AX database. This cluster may
support additional database requirements. For example, the cluster may host the database that is
required for Microsoft SharePoint 2010 products.
Note:
You must determine whether additional database clusters are required, based on the
expected workload.
A second SQL Server failover cluster is dedicated to Microsoft SQL Server Analysis Services and
Microsoft SQL Server Reporting Services.
System Center Operations Manager (SCOM) enables monitoring for the whole system.
12
Microsoft Dynamics AX
AOS topology
An Application Object Server (AOS) instance is a core component of your Microsoft Dynamics AX
installation and is installed by using Setup. An AOS instance enforces security, manages connections
between clients and the database, and provides the foundation where Microsoft Dynamics AX business
logic runs. The topics in this section describe the various roles in which AOS can function.
Overview
The following figure shows how a client establishes a connection with an AOS instance in a cluster when a
dedicated load balancer is not present.
1.
When a Microsoft Dynamics AX client starts, the client reads the list of AOS instances that is specified
in the Microsoft Dynamics AX 2012 Configuration utility. The client initiates a handshake with the first
AOS instance in the list. If the first AOS instance does not respond, the client initiates a handshake
with the next AOS instance in the list. The client continues in this manner until the handshake occurs.
2.
The AOS instance that received the client request queries the database and all active AOS instances in
the cluster. The AOS instance returns to the client a list of all active AOS instances in the cluster,
sorted by workload. The server that has the smallest workload is at the top of the list. The workload is
based on the number of connected clients, divided by the maximum number of clients that are
allowed on the server.
3.
The client attempts to connect to each AOS instance in the sorted list until a successful connection is
established. The client then uses the AOS instance that it connected to for the whole session.
13
Microsoft Dynamics AX
Considerations for using an AOS instance in a cluster that does not include a
dedicated load balancer
If a dedicated load balancer is not present, each AOS instance in the cluster functions as both an
active AOS instance and a load balancer.
An active AOS instance has higher hardware requirements than an AOS instance that functions as
a dedicated load balancer.
For information about how to configure load balancing clusters, see Create a load balancing cluster
(http://technet.microsoft.com/library/b070501d-cf46-49fb-8168-785259178d27(AX.60).aspx).
Overview
The following figure shows how a client establishes a connection with an AOS instance in a cluster when a
dedicated load balancer is present.
1.
When a Microsoft Dynamics AX client starts, the client reads the list of active AOS instances that is
specified in the Microsoft Dynamics AX 2012 Configuration utility. The client initiates a handshake
14
Microsoft Dynamics AX
with the first AOS instance in the list. In this scenario, the administrator has configured the first AOS
instance as a dedicated load balancer.
2.
The load balancing AOS instance that received the client request queries the database and all active
AOS instances in the cluster. The AOS instance returns to the client a list of all active AOS instances in
the cluster, sorted by workload. The server that has the smallest workload is at the top of the list. The
workload is based on the number of connected clients, divided by the maximum number of clients
that are allowed on the server.
3.
The client attempts to connect to each AOS instance in the sorted list until a successful connection is
established. The client then uses the AOS instance that it connected to for the whole session.
An AOS instance that is configured as a load balancer does not accept any client connections as either
an application server or a batch server. This AOS instance functions only as a load balancer.
A dedicated load balancer can be used only for remote procedure call (RPC) connections. To balance
the load of connections for Application Integration Framework (AIF) and services, you must use
Microsoft Network Load Balancing (NLB). For more information, see Configuring network load
balancing for services (http://technet.microsoft.com/library/9ecde78e-7da2-4677-b9a217f3e7fe16aa(AX.60).aspx).
An AOS instance that is configured as a load balancer does not require an AOS license, because the
server does not provide any application services to the clients.
15
Microsoft Dynamics AX
If you configure an AOS instance as a dedicated load balancer, you do not have to update client
configurations when AOS instances are added to or removed from the cluster.
A dedicated load balancer has lower hardware requirements than an AOS instance that functions as
an application server, because the load balancer does not process application requests or business
logic.
You can configure multiple AOS instances to function as dedicated load balancers. However, you must
make sure that dedicated load balancers appear first in the list of active servers in the client
configuration.
For information about how to configure load balancing clusters, see Create a load balancing cluster
(http://technet.microsoft.com/library/b070501d-cf46-49fb-8168-785259178d27(AX.60).aspx).
Use a dedicated server that is running SQL Server 2012, SQL Server 2008 R2 or SQL Server 2008.
Use a single instance of SQL Server that is dedicated to running the Microsoft Dynamics AX
production database.
Store your test and development databases on a separate server from the production database.
Availability recommendations
SQL Server provides several options that can help you achieve high availability: Windows Server Failover
Clustering, SQL Server database mirroring, SQL Server log shipping, and SQL Server 2012 AlwaysOn
Availability Groups. Of these options, failover clustering and availability groups provide the least amount
of downtime. However, replication, database mirroring, log shipping, and availability groups can satisfy
other requirements. For example, some of these options can be used to provide a reporting environment
that can reduce the load on your production server. The high availability option that you select for your
implementation of Microsoft Dynamics AX depends on your availability requirements, a cost/benefit
analysis, and the risk tolerance of your organization.
Important:
Before you select a high availability option for SQL Server, we strongly recommend that you
contact your value-added reseller (VAR) or Microsoft Support to make sure that the option that
you want to use is supported.
Determine and document your availability needs carefully, and test the solution that you select to make
sure that it provides the expected availability. The following table lists supported high availability
configurations.
16
Microsoft Dynamics AX
Support status
Supported
Log shipping
Supported
Transactional replication
Snapshot replication
Supported
Database mirroring
Supported
Merge replication
If you are running SQL Server 2012, we recommend that you deploy AlwaysOn Availability Groups.
If you are running SQL Server 2008, we recommend that you deploy a Windows Server Failover Cluster
with one active node and one inactive node.
Availability groups and failover clusters do not require a restart of the Application Object Server (AOS)
service.
The following figure shows a SQL Server failover topology.
When you use SQL Server failover clustering, note the following behavior:
The failover is transparent to AOS, and the service typically does not require a restart.
In-process transactions are rolled back, and the user may have to reenter data that was being
entered at the time of failure.
Note:
We recommend that a failover cluster be configured so the active node will fail over to an inactive
node. If the active node fails over to another active node in the cluster, you must make sure there
17
Microsoft Dynamics AX
is sufficient capacity to sustain the Microsoft Dynamics AX database workload, otherwise
performance may be degraded significantly.
Caution:
Microsoft SQL Server Reporting Services cannot be installed on a failover cluster, because you
cannot run the Reporting Services service as part of a failover cluster. However, you can install the
report server database on a computer that has a failover cluster installed.
For more information about availability options, see:
Performance recommendations
The performance of the database can significantly affect overall Microsoft Dynamics AX performance.
To achieve the best performance, the SQL Server environment and storage subsystem must be correctly
configured. For more information, see Configure SQL Server and storage settings.
18
Microsoft Dynamics AX
Installation types
For information about new installation features in Microsoft Dynamics AX 2012, see What's new:
Installation (http://technet.microsoft.com/library/21756ba4-0bc4-44ee-8f95-686d9a5c158c(AX.60).aspx).
Databases
Databases include the Microsoft Dynamics AX database, the model store, and the baseline database. The
AOS connects to the Microsoft Dynamics AX database to process transactions. The AOS connects to the
model store to display application elements such as forms and reports. The baseline database contains a
model store that is used to upgrade X++ code to Microsoft Dynamics AX 2012. The baseline database is
used to analyze application updates before they are applied.
Note:
In Microsoft Dynamics AX 2012 R3 and Microsoft Dynamics AX 2012 R2, the model store and the
business data are stored in separate databases. In earlier versions of Microsoft Dynamics AX 2012,
the model store and business data are stored in a single database.
For information about how to install the databases, see Install the Microsoft Dynamics AX databases.
Other Microsoft Dynamics AX components, such as Enterprise Portal and Reporting Services extensions,
also include databases. The additional databases are created when you install those components and their
prerequisites. They are not installed as part of the Microsoft Dynamics AX databases component.
Server components
Server components include AOS and the Microsoft Dynamics AX components that run on Internet
Information Services (IIS). For information about how to install one of the server components, click the
corresponding link in the following table.
Component
Description
More information
(AOS) instance
19
Microsoft Dynamics AX
Component
Description
More information
Install Search
Description
More information
running Setup
20
Microsoft Dynamics AX
Description
More information
components
Reporter
Management Reporter
Client components
Client components give users access to Microsoft Dynamics AX data and functionality. For information
about how to install one of the client components, click the corresponding link in the following table.
Component
Description
More information
client
client
and functionality.
Microsoft Office Add-ins
21
Microsoft Dynamics AX
Component
Description
More information
integration
integration
Developer tools
Developer tools are used to customize Microsoft Dynamics AX. For example, you can create
customizations or extensions to Enterprise Portal, or you can create advanced production reports for
Microsoft Dynamics AX by using Reporting Services. For information about how to install one of the
developer tools, click the corresponding link in the following table.
Component
Description
More information
Debugger
Integration components
Integration components enable integration between Microsoft Dynamics AX and external applications. For
information about how to install one of the integration components, click the corresponding link in the
following table.
Component
Description
More information
22
Microsoft Dynamics AX
Component
Description
More information
Connector
Note:
.NET Business
Connector is installed
automatically when
Microsoft Dynamics
AX components that
require it are installed.
Server
Management utilities
Management utilities let you configure and manage Microsoft Dynamics AX components and artifacts,
such as reports and web controls, from the metadata store.
For information about how to install management utilities, see Install management utilities.
Retail components
Microsoft Dynamics AX for Retail provides mid-market and large retailers a complete head office and
point of sale (POS) solution. It can help retailers increase financial returns, improve service, manage
growth, and streamline efficiencies. Microsoft Dynamics AX for Retail consists of several components that
are typically distributed across multiple computers and locations.
For information about how to install one of the retail components, click the corresponding link in the
following table.
Component
Description
More information
Retail headquarters
23
Microsoft Dynamics AX
Component
Description
More information
(POS) terminals.
Store Connect)
Note:
In AX 2012 R3, deploy this
component only if you need to
support previous versions of Retail
POS while you upgrade (N-1).
Commerce Data Exchange: Real-
Service)
Server
24
Microsoft Dynamics AX
Component
Description
More information
Client
database connections.
Retail Server
commerce)
25
Microsoft Dynamics AX
Component
Description
More information
toolkit
Plug-ins)
headquarters
RapidStart Connector
The Rapid Start Connector for Microsoft Dynamics AX enables RapidStart Services for Microsoft Dynamics
ERP to communicate with an on-premises Microsoft Dynamics AX implementation.
Note:
The RapidStart Connector is available through the Microsoft Dynamics AX Setup wizard in AX
2012 R3, AX 2012 R2, and Microsoft Dynamics AX 2012 Feature Pack.
For more information about how to install RapidStart Connector, see Install the RapidStart Connector.
26
Microsoft Dynamics AX
VSS writer
The Volume Shadow Copy Service writer for Microsoft Dynamics AX, (AX VSS writer) can be used with
Microsoft System Center 2012 Data Protection Manager (DPM) to protect Microsoft Dynamics AX data
and servers. The AX VSS writer coordinates backup and restore operations.
Note:
The AX VSS writer is available through the Microsoft Dynamics AX Setup wizard in AX 2012 R3
and cumulative update 7 for Microsoft Dynamics AX 2012 R2.
For more information about how to install the VSS writer, see Install the VSS writer for Microsoft Dynamics
AX.
27
Microsoft Dynamics AX
Installation types
Two types of installation are available from the Setup wizard: Custom installation and Single-computer
installation.
Custom installation
Select Custom installation to install specific Microsoft Dynamics AX components on multiple computers.
Use this type of installation in a production environment.
Single-computer installation
Select Single-computer installation to install a complete Microsoft Dynamics AX system on one
computer. Setup uses default settings to configure all components, and new Microsoft Dynamics AX
databases are created. User names and passwords are the only input that is required.
If you want to connect to an existing database or specify other custom settings, you must perform a
custom installation.
Important:
Do not perform a single-computer installation in a production environment. Use this type of
installation only for development and testing.
A single-computer installation includes the following components:
Databases
Enterprise Portal
Help server
Client
Office add-ins
Debugger
Trace Parser
Management utilities
For information about how to install a Microsoft Dynamics AX system on a single computer, see Perform a
single-computer installation.
28
Microsoft Dynamics AX
Pre-installation checklist
Check prerequisites
Pre-installation checklist
Before you install Microsoft Dynamics AX, you must plan the implementation and complete the preinstallation tasks that are listed in the following table.
Task
More information
Installation Guide
(http://go.microsoft.com/fwlink/?LinkID=163796) (PDF
download)
29
Microsoft Dynamics AX
Task
More information
installation (slipstreaming)
installation
Check prerequisites
Unless otherwise noted, it must be a dedicated account. A dedicated account is used only for a
specific service.
If you are using Windows Server 2008 R2 or a later version of Windows Server, you can use managed
service accounts. For more information, see the Service Accounts Step-by-Step Guide
(http://go.microsoft.com/fwlink/?linkid=214033) on TechNet.
Note:
If an account must be a Microsoft Dynamics AX user, it cannot be a managed service account.
The accounts in this topic must be configured in order to install the components of Microsoft Dynamics
AX. For information about additional service accounts that are used when you configure Microsoft
Dynamics AX, see Configure system accounts (http://technet.microsoft.com/library/56e3522e-38a8-41bab95e-3ad3c7d53178(AX.60).aspx).
30
Microsoft Dynamics AX
Description
Configuration procedure
account:
an AOS instance.
account
Note:
This account must not be a Microsoft
Dynamics AX user.
31
Microsoft Dynamics AX
Account
Description
Configuration procedure
Microsoft Dynamics AX
Enterprise Search.
Management Reporter
(optional)
Synchronization service
account (optional)
form.
logon rights.
account (optional)
Dynamics AX.
32
Microsoft Dynamics AX
Account
Description
Configuration procedure
(optional)
account (optional)
(optional)
as.
Portal (optional)
Devices Portal.
Dynamics AX.
each instance.
Portal.
33
Microsoft Dynamics AX
Account
Description
Configuration procedure
Data Import/Export
Framework service.
account
account.
Description
Configuration procedure
Real-time Service
Service.
Note:
Note:
In Microsoft Dynamics
Commerce Data
Exchange: Real-time
Transaction Service.
Service account for Commerce
Async Server
34
Microsoft Dynamics AX
Account
Description
Configuration procedure
Note:
In Microsoft Dynamics
AX 2012 Feature Pack,
Commerce Data
an account:
Store Connect).
supported.
Exchange: Synch
Service is called Retail
Store Connect.
Retail Server
Hardware Station.
Service
35
Microsoft Dynamics AX
Account
Description
accounts
Configuration procedure
Description
Configuration procedure
account
36
Microsoft Dynamics AX
Account
Description
Configuration procedure
2.
As a security best practice, we recommend that you prevent users from making changes to this
directory. Only read access is required to perform an installation from the directory.
37
Microsoft Dynamics AX
3.
Copy the contents of the Microsoft Dynamics AX DVD to the DynamicsAX6 directory.
4.
Copy the installation files for cumulative updates and hotfixes to the directory. For more information
about how to include updates, see Include cumulative updates and hotfixes in a new installation
(slipstreaming).
Cumulative updates
Binary hotfixes
Service packs
Application (database) hotfixes cannot be included in the slipstreaming process. They must be installed by
using AxUpdate.exe.
38
Microsoft Dynamics AX
Extract each update into the appropriate subfolder. The following illustration shows an example of the
recommended folder structure:
Any time that you apply a cumulative update package or a binary hotfix to your environment, we strongly
recommend that you add the installation package to the Updates folder. This practice ensures that you
can deploy new servers, clients, and other components of the correct version quickly. You should also
make a copy of the updated installation media per your system recovery strategy.
For AX 2012 R3, go to Microsoft Dynamics Lifecycle Services, and after selecting a project, click
Updates. In the Updates to include with new installations section, select the slipstreamable
update package that you want, and download it.
For AX 2012 R2 or earlier, visit the hotfix pages for Microsoft Dynamics AX 2012
(https://mbs.microsoft.com/customersource/downloads/hotfixes/ax2012hotfixes.htm) or
Microsoft Dynamics AX 2012 R2
(https://mbs.microsoft.com/customersource/support/downloads/hotfixes/ax2012r2hotfixes.htm)
on the CustomerSource web site. Logon is required.
2.
Create a shared network location from which to install Microsoft Dynamics AX.
3.
In the Updates folder, create a subfolder for each update package that you download. Then extract
each update into the appropriate subfolder.
4.
Run Setup and select the components that you want to install. Setup detects and installs the updates.
Follow the usual installation procedures to install Microsoft Dynamics AX components. For detailed
installation instructions for each Microsoft Dynamics AX 2012 component, see the procedures later in
this document.
To install updates for Help content, you must select the Help Server component, and then select the
updated content sets on the Language and content selection page.
39
Microsoft Dynamics AX
Databases
If you install the databases remotely from a computer other than the
database server, you must log on to the remote computer by using an
account that is an administrator on the SQL Server computer. Setup
requires access to SQL Server services.
Application Object Server (AOS)
Enterprise Search
Help server
40
Microsoft Dynamics AX
Component
extensions
AX
configuration
Client
None
None
None
None
(client component)
Debugger
None
None
Trace Parser
None
Services (IIS)
AX
None
Synchronization proxy
Synchronization service
Management utilities
None
Retail Headquarters
None
Retail POS
None
41
Microsoft Dynamics AX
Component
None
None
None
Retail Server
None
None
Modern POS
None
None
None
RapidStart Connector
None
None
VSS writer
42
Microsoft Dynamics AX
Check prerequisites
Run the prerequisite validation utility for Microsoft Dynamics AX to determine whether a computer meets
the requirements to install a Microsoft Dynamics AX component. You can run the utility before you install
any components in your environment. If requirements are not met, the utility helps you install or
configure most prerequisites. Additionally, you can view or print a report that shows the results of the
prerequisite validation.
Prerequisite validation is also built into Setup. Therefore, the same prerequisites are validated when you
install a component by using the Setup wizard.
Note:
The prerequisite validation utility validates the software prerequisites that Microsoft Dynamics AX
depends on. However, the utility does not verify whether Microsoft Dynamics AX components
that are also required are installed or configured. For example, the utility verifies whether a
supported version of Windows is installed, but does not verify whether an Application Object
Server (AOS) is running in the environment. Prerequisite Microsoft Dynamics AX components are
validated when you run Setup.
To review the hardware and software requirements for Microsoft Dynamics AX, see the system
requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
Use the following procedure to run the prerequisite validation utility.
1.
2.
3.
The Prerequisite validation page is displayed. Select the components that you plan to install on the
local computer, and then click Next.
4.
The Prerequisite validation results page is displayed. Each prerequisite is assigned one of the
following statuses.
Status
Description
Success
Error
The local computer does not meet the prerequisite. You cannot install the component
until this prerequisite is installed or configured.
Warning
The local computer does not meet the prerequisite, but you can still install the Microsoft
Dynamics AX component.
43
Microsoft Dynamics AX
For more information about a prerequisite, click its status. For information about all the prerequisites
that were validated, click View report to display the Microsoft Dynamics AX Prerequisite check
report. Both options provide a description of the prerequisite, the validation status, and
recommendations for resolving any problems.
5.
Resolve prerequisite issues. For many errors and warnings, the prerequisite validation utility can
attempt to resolve the issue for you.
If a link is available in the Download column, click it to download and install the missing
prerequisite. Internet access is required to download some prerequisites that are not included on
the installation media. In some cases, the download starts immediately when you click the link. In
other cases, a download page is displayed when you click the link.
Note:
If network or computer security prevents a prerequisite from being downloaded from the
utility, you must download the prerequisite by using another method. Click the Error link
on the prerequisite validation page to obtain the download URL.
If a check box is available in the Configure column, select it, and then click the Configure button
to resolve the issue.
Some prerequisites depend on other prerequisites. In these cases, the prerequisites must be installed
or configured in a specific order. For example, the Windows Search Service must be installed before it
can be started.
6.
After you have resolved prerequisite issues, click Revalidate to run the prerequisite validation again.
7.
See Also
Troubleshoot prerequisite issues (http://technet.microsoft.com/library/e3771aed-bde7-4610-bff2aa64212a8352(AX.60).aspx)
44
Microsoft Dynamics AX
SQL Server administration. Specific areas of knowledge include advanced configuration options,
memory management, performance management, and troubleshooting.
You are following the documented best practices for Windows Server and SQL Server.
You are using a dedicated server that runs SQL Server 2008 R2.
You are using a single instance of SQL Server that is dedicated to running the Microsoft Dynamics AX
production databases.
We recommend that you store your test and development databases on a separate server from the
production databases.
45
Microsoft Dynamics AX
In Windows Server 2008 R2, in Control Panel, click System and Security, and then click System.
In Windows Server 2008, in Control Panel, double-click System.
2.
3.
4.
On the Advanced tab, under Processor scheduling, select Background services, and then click OK.
Run the SQL Server service under an Active Directory domain account that has the minimum
necessary privileges. For more information, see SQL Server 2008 Security Overview for Database
Administrators (http://go.microsoft.com/fwlink/?LinkId=213202).
Confirm that the account for the SQL Server service has been granted the Lock pages in memory
privilege. We recommend this setting, because it significantly affects whether other processes affect
SQL Server. For instructions, see How to: Enable the Lock Pages in Memory Option (Windows)
(http://go.microsoft.com/fwlink/?LinkId=213203). For more information, see the following Web pages:
The Microsoft Customer Service and Support (CSS) SQL Server Engineers blog
(http://go.microsoft.com/fwlink/?LinkId=213204)
Knowledge base article 981483, How to reduce paging of buffer pool memory in the 64-bit
version of SQL Server (http://go.microsoft.com/fwlink/?LinkId=213205)
Configure the account for the SQL Server service for instant file initialization. Instant file initialization is
only available if the account for the SQL Server service, MSSQLSERVER, has been granted the
SE_MANAGE_VOLUME_NAME right. Members of the Windows Administrator group have this right
and can grant it to other users by adding them to the Perform Volume Maintenance Tasks security
policy. For more information, see Database file initialization
(http://go.microsoft.com/fwlink/?LinkId=213208).
Enable the TCP/IP network protocol. Depending on the edition of SQL Server that you use, this
protocol may be automatically installed during installation. For instructions, see How to: Enable or
Disable a Server Network Protocol (SQL Server Configuration Manager)
(http://go.microsoft.com/fwlink/?LinkId=213210).
Disable hyperthreading. This step must be performed in the BIOS settings of the server. For
instructions, see the hardware documentation for your server.
46
Microsoft Dynamics AX
Before an upgrade to a new release of Microsoft Dynamics AX, or before a large number of
maintenance or batch activities, set max degree of parallelism to the smallest of the following
values:
The number of physical processor cores per non-uniform memory access (NUMA) node
When the Microsoft Dynamics AX database is used in a production environment, set max degree of
parallelism to 1.
Use the following statements to set the value of max degree of parallelism.
Examine the output from the second sp_configure 'max degree of parallelism' statement, and confirm that
the value has been changed. In the following query, the first sp_configure 'max degree of parallelism'
statement sets the value of max degree of parallelism to 1. The second sp_configure 'max degree of
parallelism' statement returns a value of 1.
EXEC sp_configure 'show advanced options', 1;
RECONFIGURE;
GO
EXEC sp_configure 'max degree of parallelism', 1;
RECONFIGURE;
GO
EXEC sp_configure;
47
Microsoft Dynamics AX
Determine the number of processors that are available to SQL Server. Unless you are using an affinity
mask, this number is same as the total number of processors that you see on the Performance tab of
Windows Task Manager. When hyperthreading is not enabled, each processor corresponds to a
processor core. Affinity masks and processor cores are beyond the scope of this topic. For more
information, see the Windows Server and SQL Server documentation.
Based on performance testing of the OLTP workload for Microsoft Dynamics AX, we recommend that
you maintain one tempdb data file per processor. For more information, see the performance
benchmark reports on PartnerSource (http://go.microsoft.com/fwlink/?LinkId=143994) or
CustomerSource (http://go.microsoft.com/fwlink/?LinkId=213216).
Isolate tempdb on dedicated storage, if you can. We recommend that you move the primary data file
and log file for tempdb to high-speed storage, if high-speed storage is available. The Microsoft
Dynamics AX database runs in read committed snapshot isolation (RCSI) mode. In RCSI mode, row
versions are stored in tempdb. By creating multiple files for tempdb data, even if these files reside on
the same storage device, you can improve the performance of tempdb operations.
48
Microsoft Dynamics AX
Determine the size of the tempdb data files and log files. You must create one primary data file and
one log file. Determine how many additional, secondary data files you require for the tempdb data.
For best results, create data files of equal size. The total number of data files must equal the total
number of processor cores. The aggregate size of the primary data file and all other data files must
equal the total data size that you determined for the tempdb database.
For more information, see Optimizing tempdb performance
(http://go.microsoft.com/fwlink/?LinkId=213217).
Resize the primary data file and log file for tempdb. Move the primary data file and log file to
dedicated storage, if dedicated storage is available. The primary tempdb data file cannot be moved
while the instance of SQL Server is running. To complete the move, you must use an ALTER DATABASE
statement and restart the instance of SQL Server. For more information, see ALTER DATABASE
(http://go.microsoft.com/fwlink/?LinkId=213218).
Note:
The data files and transaction log files for tempdb can reside on the same storage device.
If space is available on the drive where tempdb files are allocated, do not configure the autogrow
property for data files and log files as a percentage. Instead, configure the autogrow property as a
specific number of megabytes. If you can, configure the data files and log files to grow by 100 to 500
MB, depending on the available space. Monitor the data files, and when they grow, adjust the original
allocation to prevent automatic growth later. If the autogrow property is configured in megabytes
instead of as a percentage, the allocation of space is more predictable, and the chance of extremely
small or large growth increments is reduced.
Monitor the tempdb data files and log files to make sure that they are all sized correctly, and that all
data files are of equal size. Use SQL Server Management Studio or a transact-SQL query to view the
database properties. Verify that all the data files are of equal size, and that they have the same size as
the value that you originally provided. If one or more files have grown, adjust the initial size of all files.
Set COMPATIBILITY_LEVEL to 110 for SQL Server 2012, or to 100 for SQL Server 2008 or SQL Server
2008 R2.
Set READ_COMMITTED_SNAPSHOT to on. Performance testing has shown that Microsoft Dynamics
AX performs better when the READ_COMMITTED_SNAPSHOT isolation option is set to on. You must
use an ALTER DATABASE statement to set this option. This option cannot be set by using SQL Server
Management Studio.
Run the following query, where <database name> is the name of the Microsoft Dynamics AX
database. There can be no other active connections in the database when you run this query.
ALTER DATABASE <database name>
SET READ_COMMITTED_SNAPSHOT ON;
49
Microsoft Dynamics AX
Query the sys.databases catalog view, and verify that the Microsoft Dynamics AX database contains a
value of 1 in the is_read_committed_snapshot_on column. For more information, see the following
Web pages:
sys.databases (http://go.microsoft.com/fwlink/?LinkId=213219)
Make sure that the AUTO_SHRINK option is set to off. When database files are automatically
shrunk, performance of the database degrades. We recommend that the database administrator
manually shrink the database files on a predefined schedule. For more information, see Turn
AUTO_SHRINK OFF! (http://go.microsoft.com/fwlink/?LinkId=213221) on the SQL Server Storage
Engine Team's blog.
Important:
All Microsoft Dynamics AX databases must use the same SQL collation. These databases include
the business database, model store database, Microsoft SQL Server Reporting Services database,
and Microsoft SQL Server Analysis Services database.
Characterize the input/output (I/O) load of the application. The I/O characteristics depend on your
business requirements, and on the Microsoft Dynamics AX modules and components that you deploy.
To determine your I/O characteristics, answer the following questions:
2.
Determine the availability and performance requirements for the database system.
3.
Determine the hardware that is required to support the analysis that you performed made in steps 1
and 2.
4.
Configure SQL Server to take advantage of the hardware that you determined in step 3.
5.
Step-by-step guidance about database architecture and storage is beyond the scope of this topic. For
more detailed recommendations from the SQL Server team, see Microsoft SQL Server Storage Top 10 Best
Practices (http://go.microsoft.com/fwlink/?LinkId=213199) and Physical Database Storage Design
(http://go.microsoft.com/fwlink/?LinkId=213201).
50
Microsoft Dynamics AX
Many factors contribute to optimal I/O performance for a disk. By default, Windows Server 2008
aligns partitions. When you upgrade to Windows Server 2008, preexisting partitions are not
automatically aligned and must be manually rebuilt to guarantee optimal performance. Therefore,
until you rebuild the migrated partitions, alignment of disk partitions remains a relevant technology.
Check existing disks on the server, and be aware of the differences in the analysis of basic partitions
and dynamic volumes. Rebuild the partitions, if you can, and appropriate and create all new partitions
based on guidance from the SAN vendor. If the vendor does not provide recommendations, follow
the best practices for SQL Server. See Disk Partition Alignment Best Practices for SQL Server
(http://go.microsoft.com/fwlink/?LinkId=213222).
The partition offset value must be a multiple of the stripe size. In other words, the expression,
partition offset / stripe size, must resolve to an integer value.
Create the tempdb database files, data files for the Microsoft Dynamics AX database, and
Microsoft Dynamics AX log files on disk arrays of type RAID 1, RAID 0 + 1, or RAID 10. We
recommend RAID 10 for these files. Do not use RAID 5.
Store the data files for the Microsoft Dynamics AX database on separate physical stores from the
transaction log files.
Store the tempdb data files on a separate physical store from the data files and log files for the
Microsoft Dynamics AX database.
Store other database files on separate physical stores from the data files and log files for tempdb
and the Microsoft Dynamics AX database.
Summary
To help achieve optimal Microsoft Dynamics AX performance, you must correctly plan and configure and
the settings for SQL Server and storage. Additionally, you may have to adjust the database configuration
periodically.
51
Microsoft Dynamics AX
Configure SQL Server. For more information, see Configure SQL Server and storage settings.
On the computer where you plan to install the databases, run the prerequisite validation utility to
verify that system requirements have been met. For information about how to run the prerequisite
validation utility, see Check prerequisites.
For more information about the hardware and software requirements for Microsoft Dynamics AX, see
the system requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
Make sure that you have the required permissions to install the database. For more information, see
Verify that you have the required permissions for installation.
Make sure that the appropriate firewall ports are open. For more information, see Firewall settings for
Microsoft Dynamics AX components.
52
Microsoft Dynamics AX
Default models
The default models that are available in Setup vary based on the release of Microsoft Dynamics AX 2012
that you are installing.
Description
Foundation
Foundation Upgrade
Foundation Labels
Application labels for the foundation model. This model includes labels for
the following languages:
Hungarian (Hungary)
Chinese (China)
Icelandic (Iceland)
Danish (Denmark)
Japanese (Japan)
Latvian (Latvia)
Netherlands)
Lithuanian (Lithuania)
Polish (Poland)
Portuguese (Brazil)
Estonian (Estonia)
Russian (Russia)
Finnish (Finland)
Swedish (Sweden)
and Switzerland)
Thai (Thailand)
53
Microsoft Dynamics AX
Description
Foundation
Foundation Upgrade
Foundation Labels
Danish (Denmark)
Foundation Labels II
Application labels for the foundation model. These labels are for
languages that were released after Microsoft Dynamics AX 2012
was made generally available. This model includes labels for the
following languages:
Finnish (Finland)
Icelandic (Iceland)
Swedish (Sweden)
Thai (Thailand)
54
Microsoft Dynamics AX
Model
Description
SYP labels
Extensions
Extensions Upgrade
55
Microsoft Dynamics AX
Description
Foundation
Foundation Upgrade
Foundation Labels
Danish (Denmark)
Process Manufacturing
Public Sector
The Public Sector model for Microsoft Dynamics AX. This model
addresses the special controls, rules, and regulations of Public
Sector organizations.
Project Management
56
Microsoft Dynamics AX
Model
Description
Browse to the directory where the files from the Microsoft Dynamics AX DVD are shared. For more
information, see Create a shared directory for installation.
2.
Create a subfolder in the CD\Models\ folder. We recommend that you create different folders to store
the models that are received from different sources. For example, create a folder for each
independent software vendor (ISV) or each value-added reseller (VAR).
3.
Copy the additional .axmodel files to the folders that you created.
Warning:
Do not copy your model files to the Standard folder. The Standard folder must be used only
for models that are mandatory, such as the Foundation model (Foundation.axmodel).
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on the computer, the Select a file location page
is displayed. The Setup Support files are required for installation. Enter a file location or accept the
default location, and then click Next. On the Ready to install page, click Install.
4.
If youre installing AX 2012 R3, on the Select an installation option page, click Microsoft Dynamics
AX, and then click Next.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Databases, and then click Next.
7.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
8.
On the Select databases page, select whether you want to create new databases by using Setup, or
whether you want to configure existing databases. If you are upgrading, you should select to
configure existing databases.
57
Microsoft Dynamics AX
9.
If you want Setup to create the databases, on the Create new databases page, in the Server name
list, select the name of the computer that runs SQL Server. Provide database names or accept the
default database names. By default, the transaction database is named MicrosoftDynamicsAX. The
baseline database is optional. By default, the baseline database is named
MicrosoftDynamicsAX_baseline.
If you created the databases manually, or if you are upgrading a database, on the Configure existing
databases page, select the name of the computer that runs SQL Server, and then select the names of
the existing databases that you want to configure.
Important:
The database name must not include any spaces or any of the following characters:
backslashes (\), slashes (/), periods (.), commas (,), colons (:), brackets ([ ]), parentheses (( )), or
hyphens (-). For more information about characters that are allowed by SQL Server, see the
Identifiers (http://go.microsoft.com/fwlink/?LinkId=214698) topic on MSDN.
Click Next.
10. On the Select additional models page, select models in the Available Models list. Setup lists all the
models that are contained in the Models folder and its subfolders. Required models are selected by
default, and you cannot clear the selection.
Note:
You may have models, or .axmodel files, that are not electronically signed. The Setup program
cannot verify the publisher of an unsigned model file. If you import an unsigned model file
into the model store, you create a security risk. Setup displays an error message if a selected
model file does not have a digital signature. Before you decide whether you want to continue
or cancel the installation, carefully review the models that you have selected.
If you install models other than the Foundation models, you must complete the Compile application
task when you run the initialization checklist. If you do not complete the Compile application task,
you encounter errors when you run the Synchronize database task in the initialization checklist. For
more information about the initialization checklist, see Initialize Microsoft Dynamics AX
(http://technet.microsoft.com/library/ba7f64a8-c5c3-4a9a-927b-21afc16f92af(AX.60).aspx).
Click Next to continue.
11. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next.
12. On the Ready to install page, click Install.
13. After the installation is completed, click Finish to close the wizard.
Follow the procedure above to create business and model store databases using Setup.
2.
Manually create a second business database using SQL Server Management Studio.
3.
Copy all objects, users, and user permissions from the template database to the new database.
58
Microsoft Dynamics AX
4.
Manually create a second model database using SQL Server Management Studio. It must have the
same name as the new business database that you created in step 2, with _model at the end of the
name.
5.
Copy all objects, users, and user permissions from the template database to the new database.
6.
Configure an AOS instance to connect to the new business database. Installing an AOS instance sets
the appropriate rights for the AOS service account on the selected database server and creates stored
procedures used for session management.
7.
If you want an existing AOS instance to connect to the manually created database, you must set the
appropriate rights for the AOS account. Set the following permissions in the database:
a.
Make the account a login on the database server. (This login already exists if you are installing on
the same SQL Server computer as the first database.)
b. Assign the user to the db_ddladmin, db_datareader, and db_datawriter database roles.
c.
Grant the user execute rights on the createserversessions and createusersessions stored
procedures.
59
Microsoft Dynamics AX
Install Search
On the computer where you will install the AOS instance, run the prerequisite validation utility to
verify that system requirements have been met. For information about how to run the prerequisite
validation utility, see Check prerequisites.
For more information about the hardware and software requirements for Microsoft Dynamics AX, see
the system requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
Note:
A 64-bit computer is not required to install an AOS instance. However, if you need to
complete a full Common Intermediate Language (CIL) generation, such as in a development
environment, a 64-bit computer is required.
Verify that you have the appropriate permissions to install the AOS instance. For more information,
see Verify that you have the required permissions for installation.
60
Microsoft Dynamics AX
If you plan to enable database mirroring in SQL Server, you must do so after installing the Microsoft
Dynamics AX database and Application Object Server (AOS). If you enable database mirroring before
installing Microsoft Dynamics AX components, the AOS instance will install with warnings.
Select a service account for the AOS service. Before you install an AOS instance, you must determine
which account you want the AOS service to run as. The AOS service can run as a domain account, as a
managed service account, or as the Network Service account of the computer that you install the AOS
service on. For more information about how to set up an account for the AOS service, see Create
service accounts.
Choose a name for the AOS instance. We recommend that you use a uniform naming convention for
all aspects of the installation, such as the database name and the name of the AOS instance. Because
Microsoft Dynamics AX installations typically include one database and multiple AOS instances, make
sure that the name of each AOS instance is unique but consistent with the naming convention. For
example, you can use a name such as Fabrikam_DYNAX6_Live_AOS1, which includes a shortened form
of your business name, the Microsoft Dynamics AX version, a code that describes the purpose of the
installation, and an identifier for the AOS instance.
The instance name must not include any blank characters or any of the following characters:
ampersand (&), backslash (\), slash (/), colon (:), brackets ([]), parentheses (()), angle brackets (<>),
quotation marks (), question mark (?), exclamation point (!), asterisk (*), percent (%), caret (^), or
pipe (|).
You must install an initial AOS instance and complete the Initialization checklist on that instance
before you install additional AOS instances. If you install additional AOS instances before you have
completed the Initialization checklist those AOS instances will not start. For more information about
how to install additional AOS instances, see Install multiple AOS instances.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on the computer, the Select a file location page
is displayed. The Setup Support files are required for installation. Enter a file location or accept the
default location, and then click Next. On the Ready to install page, click Install.
4.
If youre installing AX 2012 R3, in the Select an installation option page, click Microsoft Dynamics
AX.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Application Object Server (AOS), and then click Next.
7.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
8.
On the Select a file location page, select the location where you want 32-bit versions of Microsoft
Dynamics AX files to be installed, and then click Next.
61
Microsoft Dynamics AX
9.
On the Connect to the databases page, in the Server name box, type or select the name of the
Microsoft SQL Server computer. In the Database name box, select the name of the Microsoft
Dynamics AX transaction database. Optionally, select the name of the baseline database.
If you are upgrading code or data from Microsoft Dynamics AX 4.0 or Microsoft Dynamics AX 2009,
you must select Register database for upgrade and select a baseline database. The Register
database for upgrade option is available when you install the first AOS in the computing
environment. If you install more AOSs, this option is not available. You can determine whether the
database was registered for upgrade by opening the Microsoft Dynamics AX client. If the database
was registered for upgrade, the Data upgrade checklist is displayed when you open the client. Click
Next.
10. On the Configure an Application Object Server (AOS) instance page, assign a name to the AOS
instance. Optionally, you can specify the ports that are listed in the following table.
Port
Purpose
Default
TCP/IP port
2712
8101
8201
11. On the Specify an AOS account page, select the Network Service account of the local computer
(recommended only for development environments), a managed service account, or a domain
account for the AOS service. If you select to use a managed service account, make sure to specify the
account in the format Domain\AccountName$.
Warning:
The process of manually changing the service account for an AOS is complicated and prone
to error. For this reason, if you must change the service account for an AOS, we recommend
that you uninstall and reinstall the AOS by using Setup.exe. For more information, see Change
the account used by AOS (http://technet.microsoft.com/library/87aaf2fa-1190-4036-9d39c1252c48da88(AX.60).aspx).
12. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next.
13. On the Ready to install page, click Install.
14. After the installation is complete, click Finish to close the wizard.
The AOS service can take several minutes to start the first time after it is installed. To determine
whether the AOS service has started, click Administrative tools > Services, and review the status of
the Microsoft Dynamics AX Object Server service.
62
Microsoft Dynamics AX
Click Start, click Run, type regedit, and then click OK.
2.
3.
Right-click Control, and then click New > DWORD (32-Bit) Value.
4.
Right-click the new key, and then click Rename. Enter the name ServicePipeTimeout.
5.
6.
In the Value data text box, enter 120000, and then click OK. The AOS Windows service now has 120
seconds to start before the system displays an error message.
If the AOS instance does not start after you implement this registry key, use the Microsoft Dynamics AX
Server Configuration utility to verify that the AOS instance is using a unique port. Port conflicts prevent
AOS instances from starting. For more information, see Change AOS ports
(http://technet.microsoft.com/library/2ba82a8b-bde4-4813-b231-5f025ff89927(AX.60).aspx).
Run the initialization checklist
After you install and start an AOS instance, and before you complete any other tasks in Microsoft
Dynamics AX, you must run the initialization checklist. For more information, see Initialize Microsoft
Dynamics AX (http://technet.microsoft.com/library/ba7f64a8-c5c3-4a9a-927b-21afc16f92af(AX.60).aspx).
See Also
Troubleshoot installation issues with AOS (http://technet.microsoft.com/library/e5b619c0-a99c-4841bfc4-5d78ac5e1975(AX.60).aspx)
63
Microsoft Dynamics AX
See Also
Application Object Server security and protection (http://technet.microsoft.com/library/ec82b5b9-8fa04d9e-9ac2-6ffa985be9c5(AX.60).aspx)
Configure an AOS instance as a batch server (http://technet.microsoft.com/library/74687f8d-fd55-4a99bea9-835655905fb4(AX.60).aspx)
Manage an AOS configuration (http://technet.microsoft.com/library/4aab5e81-921d-4f7f-b379adffcb8febce(AX.60).aspx)
64
Microsoft Dynamics AX
Checklist: Deploy an internal Enterprise Portal site that has Role Centers
See Also
Enterprise Portal architecture (http://technet.microsoft.com/library/967d873d-5a15-4a6c-990c2831938731fb(AX.60).aspx)
Overview of Enterprise Portal for Microsoft Dynamics AX (http://technet.microsoft.com/library/5c731ae45882-41cc-9748-6b0e65a1664d(AX.60).aspx)
Checklist: Deploy an internal Enterprise Portal site that has Role Centers
This topic provides checklists that can help you deploy Enterprise Portal for Microsoft Dynamics AX and
Role Centers for an employee portal that is for internal use only. An employee portal for internal use only
provides access to the following modules sites in Enterprise Portal. If your business or organization
deploys Role Centers, users can also access their Role Center page on the Home site.
Sales
65
Microsoft Dynamics AX
Procurement
Employee services
Project
Compliance
Service Management
User access to modules sites is determined by Microsoft Dynamics AX security roles. For a description of
the features and reports that are available on each of these modules sites, see Overview of Enterprise
Portal for Microsoft Dynamics AX (http://technet.microsoft.com/library/5c731ae4-5882-41cc-97486b0e65a1664d(AX.60).aspx). If you want to deploy an employee self-service portal that gives employees
access to expense management, time and attendance, and other personal information, see Checklist:
Deploy an employee self-service portal.
The following table describes the tasks that you must complete to deploy Enterprise Portal and Role
Centers. After you complete the tasks in this checklist, internal users can access the employee portal in the
network.
Task
More information
(http://technet.microsoft.com/library/fed77384-7e0c-446f-8f171fb3220a07c1(AX.60).aspx)
66
Microsoft Dynamics AX
The following table describes the tasks that you must complete to deploy Enterprise Portal. After you
complete the tasks in this checklist, internal users can access the employee self-service portal in the
network.
Task
More information
(http://technet.microsoft.com/library/fed77384-7e0c-446f8f17-1fb3220a07c1(AX.60).aspx)
More information
Portal site.
requests.
(http://technet.microsoft.com/library/7cf92c10-76ff-4090b9d6-15b97ffa6521(AX.60).aspx)
67
Microsoft Dynamics AX
Task
More information
(http://technet.microsoft.com/library/fed77384-7e0c-446f8f17-1fb3220a07c1(AX.60).aspx)
Update a profile
Update contacts
Request to add users from your organization to the vendor self-service portal
For a complete description of the features and reports available on a vendor portal, see Overview of
Enterprise Portal for Microsoft Dynamics AX (http://technet.microsoft.com/library/5c731ae4-5882-41cc9748-6b0e65a1664d(AX.60).aspx). For information about how to deploy an unsolicited vendor portal, see
Checklist: Deploy an unsolicited vendor portal.
Checklist for a vendor portal deployment
The following table describes tasks that you must complete to deploy Enterprise Portal.
Task
(http://technet.microsoft.com/library/fd6b06a0-6bb7-
49f5-9717-ae40a1f7d327(AX.60).aspx)
68
Microsoft Dynamics AX
Task
Next step
After you finished preparing the Enterprise Portal environment for vendor access, you must configure
vendor portal pages and vendor portal workflow templates in the Microsoft Dynamics AX client. For more
information, see Configuring Enterprise Portal for vendor requests
(http://technet.microsoft.com/library/fd6b06a0-6bb7-49f5-9717-ae40a1f7d327(AX.60).aspx) in the
Microsoft Dynamics AX online Help.
If you installed a non-SYS layer model file in the Microsoft Dynamics AX environment, compile
Microsoft Dynamics AX before you install Enterprise Portal. If you do not compile Microsoft Dynamics
AX, the Enterprise Portal installation might fail.
69
Microsoft Dynamics AX
If you want to deploy Enterprise Portal in multiple languages, you must download and deploy
SharePoint language packs onto the web server before you install Enterprise Portal. You can
download SharePoint language packs from Microsoft.com. Enterprise Portal is currently supported in
the following languages:
Arabic
Italian
Chinese (Simplified)
English (UK)
Italian (Switzerland)
Czech
English (US)
Japanese
Danish - 1030
Estonian
Latvian
Dutch (Netherlands)
Finnish
Lithuanian
Dutch (Belgium)
French (France)
Norwegian
English
French (Canada)
Polish
English (Australia)
French (Belgium)
Portuguese (Brazilian)
English (Canada)
French (Switzerland)
Russian
English (India)
German (Germany)
Spanish (international)
English (Ireland)
German (Austria)
Spanish (Mexico)
English (Malaysia)
German (Switzerland)
Swedish
Hungarian
Thai
English (Singapore)
Icelandic
To deploy Enterprise Portal in one of the languages list here, you must create a Web application in
SharePoint and specify the new language. For more information, see Create an Enterprise Portal site
(http://technet.microsoft.com/library/da9149f8-9bb8-4d95-b392-4c6954a60b5f(AX.60).aspx).
Verify that the name of the server that will host Enterprise Portal does not include an underscore, for
example EPserver_1. If an Enterprise Portal server includes an underscore in the server name, lookups
and web pages might display errors.
On the computer where you will install Enterprise Portal, run the prerequisite validation utility to verify
that system requirements have been met. For information about how to run the prerequisite
validation utility, see Check prerequisites.
For more information about the hardware and software requirements for Microsoft Dynamics AX, see
the system requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
Verify that you have the appropriate permissions to install Enterprise Portal. If you are installing
Enterprise Portal on a server that already hosts an Enterprise Portal deployment and you want to
overwrite that deployment, you must have Full Control permission in SharePoint for the existing
Enterprise Portal site collection. If you do not have Full Control permission, you will not be able to
delete the existing site collection by using Setup. For more information about permissions, see Verify
that you have the required permissions for installation.
If you intend to deploy multiple Enterprise Portals on the same server and those portals will connect
to different Application Object Servers, then you must update the web.config file. For more
information, see Install multiple Enterprise Portals on the same server.
70
Microsoft Dynamics AX
For Secure Sockets Layer (SSL) encryption, you cannot install Enterprise Portal on a Web application
that is already configured to use HTTP and HTTPS bindings. You must remove the HTTP binding from
the site by using Internet Information Services (IIS) Manager before you install Enterprise Portal.
If you plan to use host headers, review the SharePoint documentation about host headers and Web
farms before you install Enterprise Portal.
Important:
If you attempt to install Enterprise Portal on an existing Internet Information Services (IIS) site
that is already configured to use a host header, the installation fails, unless you create a
BackConnectionHostNames (http://go.microsoft.com/fwlink/?LinkId=194948) registry entry.
Pre-installation tasks
Perform the following tasks to verify that you can deploy Enterprise Portal on the Web server.
1.
Verify that you can open SharePoint 2010 Central Administration on the Enterprise Portal server.
2.
Verify that you have the appropriate permissions to create sites by using SharePoint 2010 Central
Administration to create a SharePoint team site.
3.
Verify that you can browse the team site without prompts and resolve the URL without proxy errors or
other problems.
4.
If you intend to deploy or configure Enterprise Portal at a command prompt, verify that you can start
the SharePoint 2010 Management Shell.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on the computer, the Select a file location page
is displayed. The Setup Support files are required for installation. Enter a file location or accept the
default location, and then click Next. On the Ready to install page, click Install.
4.
If youre installing AX 2012 R3, in the Select an installation option page, click Microsoft Dynamics
AX.
71
Microsoft Dynamics AX
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Enterprise Portal (EP), and then click Next.
7.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
8.
On the Select a file location page, select the location where you want to install 32-bit versions of
Microsoft Dynamics AX files, and then click Next.
9.
On the Specify a location for configuration settings page, specify whether you want Enterprise
Portal to access configuration information from the registry on the local computer or from a shared
configuration file. If you select to use a shared configuration file, you must enter the network location
of the file. Click Next.
10. On the Connect to an AOS instance page, enter the name of the computer that is running the
Application Object Server (AOS) instance that you want to connect to. You can optionally specify the
name of the AOS instance, the TCP/IP port number, and the WSDL port for services. Click Next.
Note:
If you entered AOS connection information for other Microsoft Dynamics AX components
that are installed on this computer, this screen is not displayed. Subsequent installations on
this computer reuse the existing AOS connection.
11. On the Specify Business Connector proxy account information page, enter the password for the
proxy account that is used by the .NET Business Connector. Click Next.
12. On the Configure a Web site for Enterprise Portal page, select a web site. If no web sites are
available in the list, you must cancel Setup, create a web site by using SharePoint Central
Administration, and then try the installation again.
We recommend that you select the Configure for Windows SharePoint Services option. If you
select this option, Setup verifies that the site is a SharePoint site. If the site is not a SharePoint site,
Setup extends the site in SharePoint. Setup also sets the application pool to run under the service
account and sets the authentication method to Windows NTLM.
Important:
Note the following important information about the Create Web site option:
Clear this option if you are installing Enterprise Portal for a public site, such as an unsolicited
vendor portal. For public sites, you must create the Enterprise Portal site by using the public
site template. For more information, see Create a public Enterprise Portal site
(http://technet.microsoft.com/library/5fe392a4-5683-469e-bcfe-ecfaa6e24883(AX.60).aspx).
If you are installing Enterprise Portal for a stand-alone installation select the Create Web site
option to create a site at the following URL: http://ServerName/sites/DynamicsAX. Setup
creates a new site that uses port 80.
Click Next.
Note:
If your business or organization purchased a developer license for Microsoft Dynamics AX,
you can change the URL for the web site, title, and description before you complete the
installation. Modify the EPSetupParams file in the Application Object Tree (AOT) (Web > Web
Files > Static Files > EPSetupParams).
72
Microsoft Dynamics AX
13. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next.
14. On the Ready to install page, click Install.
15. After the installation is complete, click Finish to close the wizard.
Next steps
Configure the firewall on the Enterprise Portal server: For information about the recommended
firewall settings on an Enterprise Portal server, see Firewall settings for Microsoft Dynamics AX
components.
Validates the operating system to make sure that the product is not installed in an unsupported state,
and indicates which prerequisites have to be installed.
Installs AppFabric.
73
Microsoft Dynamics AX
Enables you to remove specific AppFabric features or AppFabric as a whole. This makes sure that the
computer can be left in a state in which the features or AppFabric can be reinstalled.
Creates the AppFabric Caching Service. Sets the services to a startup type of manual and a status of
stopped.
The AppFabric Setup program sets configuration settings in the root (server level) Web.config file, the
machine.config file, and the applicationHost.config file. You can configure AppFabric either immediately
after installation, or in a separate process. Installing and configuring Windows Server AppFabric on a
single server requires that you:
1.
Run Setup
2.
3.
4.
5.
Validate deployment
Run one of the following Setup applications on the Enterprise Portal server:
For AppFabric 1.0, download (http://go.microsoft.com/fwlink/?LinkId=324596) and run the
WindowsServerAppFabricSetup_x64_6.1.
For AppFabric 1.1, download (http://go.microsoft.com/fwlink/?LinkId=386334) and run the
WindowsServerAppFabricSetup_x64.
2.
On the Accept License Terms page, read the license terms, and then accept the terms and then click
Next to continue, or do not accept the terms and then exit the setup wizard.
3.
On the Customer Experience Improvement Program page, select Yes to participate in the
Customer Experience Improvement program, or No not to participate, and then click Next.
4.
5.
On the Feature Selection page, select Caching Services and Cache Administration, and then click
Next.
Caching Services
The distributed Caching Service and related components that enable you to
prepare this host as a Caching Service, turning the server into the node of a
cluster. You can create a new cluster or join this host to an existing cluster
by using the Caching Service.
Cache Administration
Components that enable you to administer a cache cluster. You can select
Cache Administration as an independent component, without other
features selected. In that instance, you could use administration tools to
administer the Caching Service installed on a separate computer.
Note:
If prerequisite software has to be installed, the setup wizard will display the Platform
Validation page after the Feature Selection page. You must install the missing prerequisites
74
Microsoft Dynamics AX
manually. If all prerequisites have already been installed, the setup wizard will continue to the
Confirm Installation Selections page.
6.
On the Platform Validation page, review the information and download any prerequisite software.
Click the link for a component or a configuration issue for more information. After installing
components and resolving issues, click Refresh to verify that the problem has been fixed and then
click Next to continue with the setup wizard.
7.
The Confirm Installation Selections page will display a list of the features that were selected in the
Feature Selection page, and will be installed. It displays a list of the required Windows components
and the AppFabric features that will be installed. Verify that the lists are correct, and then click Install
to begin installation.
Note:
The Application Server role is required for AppFabric. This role will be included in the list of
the required Windows components even if it is already installed, and the installation wizard
will verify that it has been installed.
8.
On the Installation Progress page, you can monitor the progress of the installation.
9.
On the Installation Results page, verify that the installation has succeeded. To display a list of
recommended updates that you can install, click the Recommended Updates link. To run the
configuration wizard, select the Launch configuration tool check box, and then click Finish to
complete the installation wizard. Click Detailed Installation report to display a log of setup events.
Suggested settings
XML
\\server\share)
Grant read access for the account under which the Enterprise
Portal application pool is running in IIS (This is also the .NET
Business Connector proxy account).
New cluster
Cluster size
75
Microsoft Dynamics AX
Suggested settings
Node ports
2.
3.
4.
5.
2.
On the Feature Selection page, select Cache Client and clear all other options. Click Next.
Cache Client
The client libraries that enable you to use cache functionality in your applications
during development or run time. You can install this component even if you are
not installing the Caching Services.
3.
4.
In Windows explorer, open the c:\inetpub\wwwroot\<Enterprise Portal web app> folder. Locate the
web.config file and create a backup of this file in a different location.
5.
6.
7.
Add the following AppFabric cache client tags to the web.config file after the </configSections>.
Replace Host_server_name with the name of the name of the server where you installed Windows
76
Microsoft Dynamics AX
Server AppFabric. Replace default with the name specified when you executed the New-Cache
command.
<!-- velocity -->
<dataCacheClient>
<localCache isEnabled="false" />
<hosts>
<!--List of hosts -->
<!-- Replace Host_server_name with velocity server name -->
<host name="Host_server_name" cachePort="22233" />
</hosts>
</dataCacheClient>
<Microsoft.Dynamics>
<AppFabricCaching CacheName="default" />
</Microsoft.Dynamics>
<!-- velocity -->
Open the web.config file in Microsoft Visual Studio or a text editor, such as Notepad. By default, the
file is located in the following directory on the Enterprise Portal server:
C:\inetpub\wwwroot\wss\VirtualDirectories\80\web.config
2.
77
Microsoft Dynamics AX
Important:
The href attribute for the codeBase tag must specify the location of the AppFabric DLLs. By
default, the DLLs are located in the following directory: C:\Program Files\AppFabric 1.1 for
Windows Server\.
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
</assemblyBinding>
</runtime>
78
Microsoft Dynamics AX
3.
4.
Open the directory specified in the trustLevel > policyFile section of this tag. For example: C:\Program
Files\Common Files\Microsoft Shared\Web Server Extensions\14\config\
5.
Make a copy of the wss_mediumtrust.config file in this directory. Rename the copy as
wss_mediumtrust_appfabric.config.
6.
7.
8.
Add the UnionCodeGroup section in a new <CodeGroup section beneath the FirstMatchCodeGroup
section. Be sure to add it down to the first closing </CodeGroup> tag. The closing tag is not included
in the following example:
<CodeGroup
class="FirstMatchCodeGroup"
version="1"
PermissionSetName="Nothing">
<IMembershipCondition
class="AllMembershipCondition"
version="1"
/>
<CodeGroup
class="UnionCodeGroup"
version="1"
PermissionSetName="FullTrust">
<IMembershipCondition
class="UrlMembershipCondition"
version="1"
Url="file:///C:/Program Files/AppFabric 1.1 for Windows Server/*"
/>
9.
11. Search the file for the <trust originUrl="" level="WSS_Medium" /> tag.
79
Microsoft Dynamics AX
12. Change the trust level to WSS_Medium_Custom. For example:
<trust originUrl="" level="WSS_Medium_Custom" />
Copy the following files from the C:\Program Files\AppFabric 1.1 for Windows Server directory:
a.
Microsoft.ApplicationServer.Caching.Core.dll
b. Microsoft.ApplicationServer.Caching.Client.dll
c.
Microsoft.WindowsFabric.Common.dll
d. Microsoft.WindowsFabric.Data.Common.dll
2.
3.
Validate deployment
Use the following procedure to verify that the AppFabric cache stores Enterprise Portal session on the
server.
1.
On the AppFabric server, verify in the Windows Services console that AppFabricCachingService is
running.
2.
3.
4.
5.
Validates the operating system to make sure that the product is not installed in an unsupported state,
and indicates which prerequisites must be installed.
Installs AppFabric.
Enables you to remove specific AppFabric features or AppFabric as a whole, making sure that the
computer can be left in a state in which the features or AppFabric can be reinstalled.
80
Microsoft Dynamics AX
Creates the AppFabric Caching Service. Sets the services to a startup type of manual and a status of
stopped.
The AppFabric Setup program sets configuration settings in the root (server level) Web.config file, the
machine.config file, and the applicationHost.config file. You can configure AppFabric either immediately
after installation, or in a separate process. Installing and configuring Windows Server AppFabric on a
single server requires that you:
1.
Run Setup
2.
3.
4.
5.
6.
Validate deployment
2.
On the Accept License Terms page, read the license terms, and then accept the terms and then click
Next to continue, or do not accept the terms and then exit the setup wizard.
3.
On the Customer Experience Improvement Program page, select Yes to participate in the
Customer Experience Improvement program, or No not to participate, and then click Next.
4.
5.
On the Feature Selection page, select Caching Services and Cache Administration, and then click
Next.
Caching Services
The distributed Caching Service and related components that enable you to
prepare this host as a Caching Service, turning the server into the node of a
cluster. You can create a new cluster or join this host to an existing cluster by
using the Caching Service.
Cache Administration
Components that enable you to administer a cache cluster. You can select Cache
Administration as an independent component, without other features selected.
In that instance, you could use administration tools to administer the Caching
Service installed on a separate computer.
Note:
If prerequisite software must be installed, the setup wizard will display the Platform
Validation page after the Feature Selection page. You must install the missing prerequisites
manually. If all prerequisites have already been installed, the setup wizard will continue to the
Confirm Installation Selections page.
6.
On the Platform Validation page, review the information and download any prerequisite software.
Click the link for a component or a configuration issue for more information. After installing
81
Microsoft Dynamics AX
components and resolving issues, click Refresh to verify that the problem has been fixed and then
click Next to continue with the setup wizard.
7.
The Confirm Installation Selections page will display a list of the features that were selected in the
Feature Selection page, and will be installed. It displays a list of the required Windows components
and the AppFabric features that will be installed. Verify that the lists are correct, and then click Install
to begin installation.
Note:
The Application Server role is required for AppFabric. This role will be included in the list of
the required Windows components even if it is already installed, and the installation wizard
will verify that it has been installed.
8.
On the Installation Progress page, you can monitor the progress of the installation.
9.
On the Installation Results page, verify that the installation has succeeded. To display a list of
recommended updates that you can install, click the Recommended Updates link. To run the
configuration wizard, select the Launch configuration tool check box, and then click Finish to
complete the installation wizard. Click Detailed Installation report to display a log of setup events.
Suggested settings
New cluster
Cluster size
Select an option
Suggested settings
82
Microsoft Dynamics AX
Enter required information in the Server and Database fields and then click OK.
Configure AppFabric Cache Node
Suggested settings
Node ports
Suggested settings
Join cluster
Suggested settings
Enter the same information that you previously specified in the Server and Database fields and then click
OK.
Configure the cluster cache settings with PowerShell
The procedure in this section uses PowerShell Cmdlts to complete the process of configuring the cache.
For more information, about these cmdlts, see AppFabric Caching PowerShell Cmdlts
(http://go.microsoft.com/fwlink/?LinkId=324842) on MSDN.
1.
2.
3.
4.
83
Microsoft Dynamics AX
5.
6.
Export the configuration with this command: Export-CacheClusterConfig and specify a name for the
file.
7.
Open the file that you just created and add the following configuration to the <advancedProperties>
section:
<transportProperties maxBufferSize="1000000000" />
8.
9.
2.
On the Feature Selection page, select Cache Client and clear all other options. Click Next.
Cache Client
The client libraries that enable you to use cache functionality in your applications
during development or run time. You can install this component even if you are not
installing the Caching Services.
3.
4.
In Windows explorer, open the $\inetpub\wwwroot\ folder. Locate the web.config file and create a
backup of this file in a different location.
5.
6.
84
Microsoft Dynamics AX
7.
Add the following dataCacheClient tag to the web.config file after the </configSections>. Replace
each instance of Host_server_name with the name of a server. Replace default with the name
specified when you executed the New-Cache command.
<!-- velocity -->
<dataCacheClient>
<localCache isEnabled="false" />
<hosts>
<!--List of hosts -->
<!-- Replace Host_server_name with velocity server name -->
<host name="Host_server_name1" cachePort="22233" />
<host name="Host_server_name2" cachePort="22233" />
<host name="Host_server_name3" cachePort="22233" />
</hosts>
</dataCacheClient>
<Microsoft.Dynamics>
<AppFabricCaching CacheName="default" />
</Microsoft.Dynamics>
<!-- velocity -->
Validate deployment
Use the following procedure to verify that the AppFabric cache stores Enterprise Portal session on the
server.
1.
On the AppFabric server, verify in the Windows Services console that AppFabricCachingService is
running.
2.
3.
4.
5.
6.
85
Microsoft Dynamics AX
If you are upgrading Enterprise Portal between Microsoft Dynamics AX 2012, Microsoft Dynamics
AX 2012 Feature Pack, and Microsoft Dynamics AX 2012 R2, you should review Scenario: Perform
in-place upgrade to Microsoft Dynamics AX 2012 R2 or R3
(http://technet.microsoft.com/library/eb8193f4-0318-427f-bcc9-2919f47afb8f(AX.60).aspx).
Install and configure Windows Server AppFabric in your server farm. For more information, see Install
and configure Windows AppFabric for Enterprise Portal.
If you installed a non-SYS layer model file in the Microsoft Dynamics AX environment, compile
Microsoft Dynamics AX before you install Enterprise Portal. If you do not compile Microsoft Dynamics
AX, the Enterprise Portal installation might fail.
Verify that the name of each server in the Enterprise Portal Web farm does not include an underscore,
for example EPserver_1. If an Enterprise Portal server includes an underscore in the server name,
lookups and Web pages might display errors.
On each computer where you will install Enterprise Portal, run the prerequisite validation utility to
verify that system requirements have been met. For information about how to run the prerequisite
validation utility, see Check prerequisites.
For more information about the hardware and software requirements for Microsoft Dynamics AX, see
the system requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
Verify that you have the appropriate permissions to install Enterprise Portal.
Member of the dbcreator and securityadmin roles in the Microsoft Dynamics AX SQL Server
instance.
Member of the SharePoint farm administrators group (if SharePoint is already installed on each
server)
If you are installing Enterprise Portal on a server that already hosts an Enterprise Portal
deployment and you want to overwrite that deployment, you must have Full Control permission
in SharePoint for the existing Enterprise Portal site collection. If you do not have Full Control
permission, you will not be able to delete the existing site collection by using Setup.
For Secure Sockets Layer (SSL) encryption, you cannot install Enterprise Portal on a Web application
that is already configured to use HTTP and HTTPS bindings. You must remove the HTTP binding from
the site by using IIS Manager before you install Enterprise Portal.
If you plan to deploy multiple Enterprise Portals on the same server and those portals will connect to
different Application Object Servers, you must update the web.config file. For more information, see
Install multiple Enterprise Portals on the same server.
86
Microsoft Dynamics AX
If you plan to use host headers, review the SharePoint documentation about host headers and Web
farms before you install Enterprise Portal.
Important:
If you attempt to install Enterprise Portal on an existing Internet Information Services (IIS) site
that is already configured to use a host header, the installation fails, unless you create a
BackConnectionHostNames (http://go.microsoft.com/fwlink/?LinkId=194948) registry entry.
Topology overview
This topic uses the following Web server topology. The database, Application Object Server (AOS), and
report server are not included in this list. Your Web server topology might differ.
Server
Description
Notes
Administration Server
administration server.
Service
IIS
SharePoint Server
a Web front-end.
Portal
87
Microsoft Dynamics AX
If you are using a load balancer, specify a site name in the Load Balanced URL field on the Web
application that will host the Enterprise Portal site.
2.
The Microsoft SharePoint Foundation Web Application service must be running on the farm
administration server. You must configure this service in SharePoint Central Administration.
3.
Configure the Web application to use the Business Connector proxy account. This means you must
select the Configurable option and then enter the proxy credentials.
Supported languages
If you want to deploy Enterprise Portal in multiple languages, you must download and deploy SharePoint
language packs onto the web server before you install Enterprise Portal. You can download SharePoint
language packs from Microsoft.com. Enterprise Portal is currently supported in the following languages:
Arabic
Italian
Chinese (Simplified)
English (UK)
Italian (Switzerland)
Czech
English (US)
Japanese
Danish - 1030
Estonian
Latvian
Dutch (Netherlands)
Finnish
Lithuanian
Dutch (Belgium)
French (France)
Norwegian
English
French (Canada)
Polish
English (Australia)
French (Belgium)
Portuguese (Brazilian)
English (Canada)
French (Switzerland)
Russian
English (India)
German (Germany)
Spanish (international)
English (Ireland)
German (Austria)
Spanish (Mexico)
English (Malaysia)
German (Switzerland)
Swedish
Hungarian
Thai
English (Singapore)
Icelandic
To deploy Enterprise Portal in one of the languages list here, you must create a Web application in
SharePoint and specify the new language. For more information, see Create an Enterprise Portal site
(http://technet.microsoft.com/library/da9149f8-9bb8-4d95-b392-4c6954a60b5f(AX.60).aspx).
You do not have to create portals for specific languages. You just have to install SharePoint language
packs, and then create a site as described in Create an Enterprise Portal site
(http://technet.microsoft.com/library/da9149f8-9bb8-4d95-b392-4c6954a60b5f(AX.60).aspx). Portals are
then displayed in the language that is specified for each user in the Options form in Microsoft Dynamics
AX.
88
Microsoft Dynamics AX
Verify that you can open SharePoint Central Administration on the Enterprise Portal administration
server.
Verify that you have the appropriate permissions to create sites by using SharePoint Central
Administration to create a SharePoint team site.
Verify that you can browse the team site without prompts and resolve the URL without proxy errors or
other problems.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on the computer, the Select a file location page
is displayed. The Setup Support files are required for installation. Enter a file location or accept the
default location, and then click Next. On the Ready to install page, click Install.
4.
If youre installing AX 2012 R3, in the Select an installation option page, click Microsoft Dynamics
AX.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Enterprise Portal (EP), and then click Next.
7.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
8.
On the Select a file location page, select the location where you want to install 32-bit versions of
Microsoft Dynamics AX files, and then click Next.
9.
On the Specify a location for configuration settings page, specify whether you want Enterprise
Portal to access configuration information from the registry on the local computer or from a shared
89
Microsoft Dynamics AX
configuration file. If you select to use a shared configuration file, you must enter the network location
of the file. Click Next.
10. On the Connect to an AOS instance page, enter the name of the computer that is running the
Application Object Server (AOS) instance that you want to connect to. You can optionally specify the
name of the AOS instance, the TCP/IP port number, and the WSDL port for services. Click Next.
Note:
If you entered AOS connection information for other Microsoft Dynamics AX components
that are installed on this computer, this screen is not displayed. Subsequent installations on
this computer reuse the existing AOS connection.
11. On the Specify Business Connector proxy account information page, enter the password for the
proxy account that is used by the .NET Business Connector. Click Next.
12. On the Configure a Web site for Enterprise Portal page, select a web site. If no Web sites are
available in the list, you must cancel Setup, create a web site by using SharePoint Central
Administration, and then try the installation again.
We recommend that you select the Configure for Windows SharePoint Services option. If you
select this option, Setup verifies that the site is a SharePoint site. If the site is not a SharePoint site,
Setup extends the site in SharePoint. Setup also sets the application pool to run under the service
account and sets the authentication method to Windows NTLM.
Important:
Note the following important information about the Create Web site option:
When you install Enterprise Portal on Web front-end servers in a server farm, you must clear
this option. The site must be created only on the administration server for the Web farm.
If you are installing Enterprise Portal on an administration server for a Web farm, select the
Create Web site option to create a site at the following URL:
http://ServerName/sites/DynamicsAX. Setup creates a new site that uses port 80.
Clear this option if you are installing Enterprise Portal for a public site, such as an unsolicited
vendor portal. For public sites, you must create the Enterprise Portal site by using the public
site template. For more information, see Create a public Enterprise Portal site
(http://technet.microsoft.com/library/5fe392a4-5683-469e-bcfe-ecfaa6e24883(AX.60).aspx).
Click Next.
Note:
If your business or organization purchased a developer license for Microsoft Dynamics AX,
you can change the URL for the web site, title, and description before you complete the
installation. Modify the EPSetupParams file in the Application Object Tree (AOT) (Web > Web
Files > Static Files > EPSetupParams).
13. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next.
14. On the Ready to install page, click Install.
15. After the installation is complete, click Finish to close the wizard.
16. Repeat this procedure on every Web server in the server farm.
90
Microsoft Dynamics AX
Optional: Specify machineKey values in web.config files for sites in a Web farm
If Enterprise Portal pages display authentication and access errors after you installed Enterprise Portal on
each server in the Web farm, you might have to specify values for machineKey properties in the
web.config file of each server in the Web farm. MachineKey properties, validationKey and decryptionKey, are
used to hash and decrypt authentication tickets and cookies. Values for machineKey properties must be
the same on all servers in the Web farm.
1.
On the administration server for the Web farm, open the web.config file in a text editor such as
Notepad. By default, the file is located in the following directory:
C:\Inetpub\wwwroot\wss\VirtualDirectories\PortNumber.
2.
Locate the machineKey section, and copy the validationKey and decryptionKey values to a separate
text file. The following is an example of a machineKey section:
<machineKey validationKey="4785A9C8F5FA32B47E5245AC48671291F1CE55735A475EB7"
decryptionKey="D961976E181646326D64E01AB2052F5D076F0ABDE2C702FB" validation="SHA1" />
3.
Edit the web.config files on the other servers in the Web farm. Replace the existing machineKey values
with the values that you copied from the administration server for the Web farm.
For more information about how to configure machineKey properties, see How to: Configure MachineKey
in ASP.Net 2.0 (http://go.microsoft.com/fwlink/?LinkId=117441), especially the "Web Farm Deployment
Considerations" section.
Next steps
After you deploy Enterprise Portal in the Web farm, you must enable users to access the Enterprise Portal
site. For more information, see Enable users to access Enterprise Portal
(http://technet.microsoft.com/library/2adbf75e-a599-45ca-a849-765185bf7897(AX.60).aspx). For
information about other Enterprise Portal deployment and configuration tasks, see Checklists for
deploying Enterprise Portal sites.
See Also
Install and configure Windows AppFabric for Enterprise Portal
Troubleshoot installation issues with Enterprise Portal and Role Centers
(http://technet.microsoft.com/library/e0cee771-4fcb-42e3-9213-5b297c8f6fe5(AX.60).aspx)
91
Microsoft Dynamics AX
Deploy Enterprise Portal for vendor registration with Windows Azure Active Directory Access Control
Pre-installation tasks
Configure certificates
Create a signing certificate to establish trust between the Enterprise Portal site and the forms-based
site
92
Microsoft Dynamics AX
Grant the .NET Business Connector proxy access to the signing certificate
Details
1.
Download
(http://go.microsoft.com/fwlink/?LinkId=294944) and
AX 2012 R3).
Download
(http://go.microsoft.com/fwlink/?LinkID=294677) and
install the Microsoft Dynamics AX 2012 R2 claimsmode authentication hotfix (KB 2824690).
Install SharePoint
93
Microsoft Dynamics AX
Task
Details
Verify that the name of the server that will host Enterprise
Portal does not include an underscore, for example
EPserver_1. If an Enterprise Portal server includes an
underscore in the server name, lookups and web pages
might display errors.
Verify permissions
94
Microsoft Dynamics AX
Pre-installation tasks
Perform the following tasks to verify that you can deploy Enterprise Portal on the web server.
1.
Verify that you can open SharePoint Central Administration on the Enterprise Portal server.
2.
Verify that you have the appropriate permissions to create sites by using SharePoint Central
Administration to create a SharePoint team site.
3.
Verify that you can browse the team site without prompts and resolve the URL without proxy errors or
other problems.
4.
If you intend to deploy or configure Enterprise Portal at a command prompt, verify that you can start
the SharePoint Management Shell.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on the computer, the Select a file location page
is displayed. The Setup Support files are required for installation. Enter a file location or accept the
default location, and then click Next. On the Ready to install page, click Install.
4.
If youre installing AX 2012 R3, in the Select an installation option page, click Microsoft Dynamics
AX.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Enterprise Portal (EP) and .NET Business Connector, and
then click Next.
7.
On the Prerequisite validation results page, resolve any warnings or errors. For more information
about how to resolve prerequisite errors, see Check prerequisites. When no warnings or errors remain,
click Next.
8.
On the Select a file location page, select the location where you want to install 32-bit versions of
Microsoft Dynamics AX files, and then click Next.
9.
On the Specify a location for configuration settings page, specify whether you want Enterprise
Portal to access configuration information from the registry on the local computer or from a shared
configuration file. If you select to use a shared configuration file, you must enter the network location
of the file. Click Next.
10. On the Connect to an AOS instance page, enter the name of the computer that is running the
Application Object Server (AOS) instance that you want to connect to. If necessary, verify name of the
AOS instance, the TCP/IP port number, and the WSDL port for services before you click Next. If the
AOS details are correct, click Next.
11. On the Specify Business Connector proxy account information page, enter the user name and
password for the proxy account that is used by the .NET Business Connector. Click Next.
95
Microsoft Dynamics AX
12. On the Configure a Web site for Enterprise Portal page, select the SharePoint 80 (SharePoint Web
application). If no web applications are available in the list, you must cancel Setup, create a web
application by using SharePoint Central Administration, and then try the installation again.
Warning:
Do not select any other options on this page. Verify that you specified the SharePoint 80
web application and that all other options are cleared before you click Next.
Click Next.
13. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next.
14. On the Ready to install page, click Install.
15. After the installation is complete, click Finish to close the wizard.
Important:
Before you proceed to the next section, verify that the .NET Business connector proxy account was
added to the WSS_WPG group on the web server computer: From a command prompt type net
localgroup wss_wpg and press Enter.
96
Microsoft Dynamics AX
Configure certificates
The procedures in this section require secure sockets layer (SSL) and security token service (STS)
certificates. These certificates help ensure that a users claim is not changed in transit. The following
certificates are required.
Certificate
Details
Referred to as STScertSigningCert
On the Windows server that will host the forms-based Enterprise Portal site, click Start > Run, type
mmc, and then click OK.
2.
3.
4.
When the system prompts you to specify which type of account to manage certificates for, click
Computer Account, and then click Next.
5.
6.
7.
8.
Right-click Personal, and then click All tasks > Import. The Certificate Import Wizard opens. Click
Next.
9.
10. Enter the password for the certificate, and then click Next.
11. Select the Mark this key as exportable option, and then click Next. The Certificate Store dialog box
appears. Click Next.
Enable SharePoint Claims to Windows Token Service
You must enable the SharePoint claims to Windows token service (C2WTS) for claims-based
authentication. Use the following procedure to start this service.
1.
In SharePoint Central Administration, under System Settings, click Manage services on server.
2.
3.
4.
In Windows, click Start > Run, type services.msc and press Enter.
97
Microsoft Dynamics AX
5.
In the Services console, verify that the Claims to Windows Token Service is running.
Note:
Do not use the services.msc to start the C2WTS because the service will be automatically disabled
after a period of time. You must use SharePoint Central Administration to start this service.
Open the Microsoft Dynamics AX 2012 Management Shell with administrator privileges. Click Start >
Administrative Tools > right-click Microsoft Dynamics AX 2012 Management Shell and click Run
as administrator.
2.
3.
When prompted, enter the credentials for the .NET Business Connector proxy account. The credentials
must be the .NET Business Connector proxy account and password that were specified when
Enterprise Portal binaries were installed earlier in this document. If you specify an account other than
the .NET Business Connector proxy account, then the cmdlet overwrites the existing .NET Business
Connector account, which can cause existing Enterprise Portal installations to stop working. Also note,
this cmdlet designates the .NET Business Connector proxy account as the Enterprise Portal site
administrator.
4.
Execute the following command, replacing PathToSSLCert1 with the path to SSLCert1, which you
imported earlier in this document.
$SSLCert = Get-PfxCertificate "PathToSSLCert1"
When prompted, enter the password that you specified when you exported the SSL certificate.
5.
98
Microsoft Dynamics AX
The following example shows the cmdlet with the required parameters. Note that the port value of
8000 is a user-defined value. You can specify any available port number. If you specify port 443, then
you do not need to specify the port number when you type the web site URL.
new-AXClaimsAwareEnterprisePortalServer -Credential $Cred -Port 8000 -SSLCertificate $SSLCert
This cmdlet can take several minutes to be completed. After the cmdlet is completed, you can access
a new instance of Enterprise Portal at the following URL:
https://ServerName:PortNumber/sites/DynamicsAx.
Browse this site to verify that the command was executed properly. If you viewed the site, then you skip to
the section titled Install the ASP.NET database in this topic. If you were not able to view the site, see the
section titled Troubleshooting issues with a claims-aware site.
Create a claims-aware site on an existing SharePoint web application
If you want to create a new claims-aware site on an existing SharePoint web application, note the
following requirements.
The web application must be configured for Integrated Windows/NTLM authentication in SharePoint
Central Administration. This is required even if the web application is already configured as a claimsmode web application.
You must be a member of the site collection administrator group in SharePoint to perform the
following procedures.
Important:
We recommend that the web application be configured with SSL to enhance data security.
Verify that the existing web application uses the Windows authentication provider
Use the following procedure to verify that the existing web application uses the Windows authentication
provider.
1.
2.
3.
4.
Verify that the Zone lists Default and the Membership Provider Name lists Windows.
5.
6.
In either the IIS Authentication Settings section or the Claims Authentication Types section, verify
that Integrated Windows and NTLM are selected.
7.
99
Microsoft Dynamics AX
when you perform that procedure, you must select the existing web application and select the following
options: Configure for Windows SharePoint Services, Create Web site, and Restart IIS after
installation is completed.
Determine the name of the web application where you want to create the site. In SharePoint Central
Administration, click Manage web applications. Find the name of the application. For example,
SharePoint 443.
2.
This cmdlet can take several minutes to be completed. After the cmdlet is completed, you can access
a new instance of Enterprise Portal at the following URL:
https://ServerName:PortNumber/sites/DynamicsAx. Browse this site to verify that the command was
100
Microsoft Dynamics AX
executed properly. If you viewed the site, then you skip to the section titled Install the ASP.NET
database in this topic. If you were not able to view the site, see the section titled Troubleshooting
issues with a claims-aware site.
Troubleshooting issues with a claims-aware site
Error: A specified logon session does not exist.
This error is caused by incorrect certificate information. Verify that you selected Mark this key as
exportable when you imported the certificate.
Error: Setup could not find the IIS virtual server by using the name you specified.
This error occurs when the web application and Enterprise Portal site already exist on the server, so that
the Windows PowerShell cmdlet detects a conflict.
To resolve this issue:
1.
Click Start > Administrative Tools > Internet Information Services (IIS) Manager.
2.
Expand the server node, and then expand the Web sites node.
3.
4.
5.
Click ASP.NET Impersonation, and then, in the Actions pane, click Disable.
6.
Use Microsoft Dynamics AX Setup to install Enterprise Portal on the web application created by the
New-AXClaimsAwareEnterprisePortalServer cmdlet. For more information, see Install Enterprise
Portal on TechNet.
Note:
On the Configure a Web site for Enterprise Portal page of the Setup Wizard, clear all
options. You will configure SharePoint and create the website later in this procedure.
7.
After you install Enterprise Portal on the web application, click Start > SharePoint Central
Administration.
8.
9.
101
Microsoft Dynamics AX
You can install the ASP.NET database on a separate server. If you do install this database on a
separate server, then you must specify a SQL connection string that will permit access to the
database. You can specify the connection string by using the -ConnectionString parameter when
you execute the Add-AXSharepointClaimsAuthenticationProvider PowerShell cmdlet later in this
document.
Open a Command Prompt window by using an administrator account on the server. Execute the following
command.
1.
%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regsql.exe
2.
3.
Accept all default values, and complete the wizard. The wizard creates a new database in Microsoft
SQL Server called aspnetdb.
Open SQL Server Manager on the server where you installed the ASP.NET database.
2.
Expand then ASP.NET database in the left column, and then expand the Security node.
3.
4.
5.
6.
Create a signing certificate to establish trust between the Enterprise Portal site and the formsbased site
This section describes how to create a signing certificate that is used to establish trust between the
claims-aware Enterprise Portal site and the forms-based site. The makecert.exe command in the following
procedures creates a self-signed certificate and registers that certificate with the local computer. For the
following procedures, refer to Option A if Visual Studio is installed on the Enterprise Portal server, or refer
to Option B if Visual Studio is installed on a separate server and you need to export the certificate after
you create it.
Option A: Visual Studio is installed on the Enterprise Portal server
Use this procedure to create a signing certificate. You must use Visual Studio to create the certificate. This
procedure describes how to create the certificate when Visual Studio is installed on the Enterprise Portal
server. If Visual Studio is not installed on the Enterprise Portal server, go to Option B.
1.
2.
3.
4.
Execute following command, replacing <string> with a name for your certificate. For example:
FORMS-CERT. Make a note of the name of this string because you will specify it again in the next
procedure.
makecert.exe -r -pe -a sha1 -n "CN=<string>" -ss My -sr LocalMachine -sky exchange -len 2048
-sp "Microsoft Enhanced RSA and AES Cryptographic Provider" -sy 24 c:\certs\<string>.cer
102
Microsoft Dynamics AX
After the command completes go to the section titled Grant the .NET Business Connector proxy access to
the signing certificate.
Option B: Visual Studio is not installed on the Enterprise Portal server
Use this procedure to create a signing certificate. You must use Visual Studio to create the certificate. This
procedure describes how to create the certificate with Visual Studio and then import the certificate to the
Enterprise Portal server.
1.
2.
3.
4.
Execute following command, replacing <string> with a name for your certificate. For example:
FORMS-CERT. Make a note of the name of this string because you will specify it again in the next
procedure.
makecert.exe -r -pe -a sha1 -n "CN=<string>" -ss My -sr LocalMachine -sky exchange -len 2048
-sp "Microsoft Enhanced RSA and AES Cryptographic Provider" -sy 24 c:\certs\<string>.cer
5.
6.
7.
8.
9.
On the Enterprise Portal server, click Start > Run, type mmc and press Enter.
2.
3.
4.
5.
103
Microsoft Dynamics AX
6.
7.
8.
Right-click Trusted Root Certification Authorities, and then click All tasks\Import.
9.
10. Click Next, and then enter the password for the pfx certificate.
11. Select the Mark this key as exportable option, and then click Next.
12. Click Next, and then click Finish.
13. You are now ready to grant the .NET Business Connector proxy access to the signing certificate.
Grant the .NET Business Connector proxy access to the signing certificate
Use the following procedure to grant the .NET Business Connector proxy access to the signing certificate
you created in the previous section.
1.
On the Enterprise Portal server, click Start > Run, type mmc and press Enter.
2.
3.
4.
5.
6.
7.
Expand the Certificates (Local Computer) > Personal > Certificates node.
8.
Right-click the certificate you created in the previous section and select All Tasks > Manage Private
Keys.
9.
Add the .NET Business Connector as a user and grant Full control permissions.
2.
3.
Execute the following command, replacing PathToSSLCert2 with the path of the SSL certificate that
you registered earlier in this document.
$SSLCert = Get-PfxCertificate "PathToSSLCert2"
4.
Execute the following command. Note that the value of <string>.cer is the same value you specified
for the Create a signing certificate to establish trust between the Enterprise Portal site and the formsbased site procedure.
$SigningCert = Get-PfxCertificate c:\certs\<string>.cer
5.
104
Microsoft Dynamics AX
AXSharepointClaimsAuthenticationProvider (http://go.microsoft.com/fwlink/?LinkID=217572) on
TechNet.
The following example shows the cmdlet with the required parameters. Note that the name
FormsAuth and the port value 8088 are user-specified values. You can specify any name and available
port.
Add-AXSharepointClaimsAuthenticationProvider -Type Forms -Name FormsAuth -SigningCertificate
$SigningCert -Credential $Cred -Port 8088 -SSLCertificate $SSLCert
Notes:
The command assumes that the ASP.NET database is installed on the Enterprise Portal server.
If the ASP.NET database is installed on a separate server, you must also specify the
ConnectionString parameter.
-ConnectionString "Data Source=<AspNetDbMachineName>;Initial
Catalog=aspnetdb;Trusted_Connection=true"
6.
This cmdlet adds the forms-based authentication trusted identity provider to the claims-aware
Enterprise Portal site. The URL must be the URL of the Enterprise Portal site that you created earlier in
this document: https://ServerName:PortNumber. Users should now see this provider in the providers
list when they navigate to the site (https://ServerName:PortNumber/sites/DynamicsAx).
Force new users to change their password at first logon
By default, the forms-based authentication provider does not require new users to change the default
password that was specified when the user account was enabled. As a security best practice, we
recommend that you force new users to change their password at first logon.
1.
Open the forms-based authentication provider web.config file. By default, the file path is:
C:\Program Files\Common Files\Microsoft Shared\Web Server
Extensions\14\template\layouts\FormsAuth\web.config
2.
3.
4.
5.
105
Microsoft Dynamics AX
logon attempts. For more information, see SqlMembershipProvider.MaxInvalidPasswordAttempts
(http://msdn.microsoft.com/enus/library/system.web.security.sqlmembershipprovider.maxinvalidpasswordattempts.aspx)
Property.
Create a new user for forms-based authentication
The New-AXUser cmdlet creates a new user in the System user role in Microsoft Dynamics AX. After you
create the new user using the following command, add the user to other roles, if needed. For more
information about adding users to Microsoft Dynamics AX or configuring user roles, see Set up user
security in Microsoft Dynamics AX (http://technet.microsoft.com/library/a9eea83b-60bf-4690-8442a459de3c2001(AX.60).aspx).
If you are creating a claims user, specify the name of the claims provider in the UserDomain parameter. If
you are using forms-based claims authentication, you can also create a new user in the provider.
1.
2.
3.
On the Enterprise Portal server, execute the New-AXUser cmdlet. For descriptions of the required
parameters and syntax, see New-AXUser (http://go.microsofft.com/fwlink/?LinkID=217580) on
TechNet.
The following example shows the cmdlet with the required parameters. The AXUserId, UserName,
UserDomain, and Password are user-specified values. The UserDomain is the same value specified for
Name in Step 7 of the previous procedure.
New-AXUser -AccountType ClaimsUser -AXUserId jdd -UserName johndoe -UserDomain FormsAuth CreateInProvider -ClearTextPassword "Yukon!!90"
4.
106
Microsoft Dynamics AX
This topic includes the following sections.
Pre-installation tasks
Validate AD FS configurations
Troubleshooting AD FS issues
Details
1.
Download (http://go.microsoft.com/fwlink/?LinkId=294944)
2.
Download (http://go.microsoft.com/fwlink/?LinkID=294677)
and install the Microsoft Dynamics AX 2012 R2 claims-mode
authentication hotfix (KB 2824690).
107
Microsoft Dynamics AX
Task
Details
Install SharePoint
After you install SharePoint on the web server, run the SharePoint
configuration wizard. Specify the Microsoft Dynamics AX .NET
Business Connector proxy account on the Specify Configuration
Database Settings > Specify Database Access Account page of
the SharePoint configuration wizard.
Verify that the name of the server that will host Enterprise Portal
does not include an underscore, for example EPserver_1. If an
Enterprise Portal server includes an underscore in the server name,
lookups and web pages might display errors.
108
Microsoft Dynamics AX
Task
Details
On the computer where you will install Enterprise Portal, run the
prerequisite validation utility to verify that system requirements
have been met. For information about how to run the prerequisite
validation utility, see Check prerequisites.
For more information about the hardware and software
requirements for Microsoft Dynamics AX, see the system
requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
Verify permissions
Pre-installation tasks
Perform the following tasks to verify that you can deploy Enterprise Portal on the web server.
1.
Verify that you can open SharePoint Central Administration on the Enterprise Portal server.
2.
Verify that you have the appropriate permissions to create sites by using SharePoint Central
Administration to create a SharePoint team site.
3.
Verify that you can browse the team site without prompts and resolve the URL without proxy errors or
other problems.
4.
If you intend to deploy or configure Enterprise Portal at a command prompt, verify that you can start
the SharePoint Management Shell.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on the computer, the Select a file location page
is displayed. The Setup Support files are required for installation. Enter a file location or accept the
default location, and then click Next. On the Ready to install page, click Install.
109
Microsoft Dynamics AX
4.
If youre installing AX 2012 R3, in the Select an installation option page, click Microsoft Dynamics
AX.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Enterprise Portal (EP) and .NET Business Connector, and
then click Next.
7.
On the Prerequisite validation results page, resolve any warnings or errors. For more information
about how to resolve prerequisite errors, see Check prerequisites. When no warnings or errors remain,
click Next.
8.
On the Select a file location page, select the location where you want to install 32-bit versions of
Microsoft Dynamics AX files, and then click Next.
9.
On the Specify a location for configuration settings page, specify whether you want Enterprise
Portal to access configuration information from the registry on the local computer or from a shared
configuration file. If you select to use a shared configuration file, you must enter the network location
of the file. Click Next.
10. On the Connect to an AOS instance page, enter the name of the computer that is running the
Application Object Server (AOS) instance that you want to connect to. If necessary, verify name of the
AOS instance, the TCP/IP port number, and the WSDL port for services before you click Next. If the
AOS details are correct, click Next.
11. On the Specify Business Connector proxy account information page, enter the user name and
password for the proxy account that is used by the .NET Business Connector. Click Next.
12. On the Configure a Web site for Enterprise Portal page, select the SharePoint 80 (SharePoint Web
application). If no web applications are available in the list, you must cancel Setup, create a web
application by using SharePoint Central Administration, and then try the installation again.
Warning:
Do not select any other options on this page. Verify that you specified the SharePoint 80
web application and that all other options are cleared before you click Next.
110
Microsoft Dynamics AX
Click Next.
13. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next.
14. On the Ready to install page, click Install.
15. After the installation is complete, click Finish to close the wizard.
Important:
Before you proceed to the next section, verify that the .NET Business connector proxy account was
added to the WSS_WPG group on the web server computer: From a command prompt type net
localgroup wss_wpg and press Enter.
Register an SSL certificate on the AD FS server
For testing, you can create a self-signed SSL certificate. If you create self-signed certificates, we
recommend that you have one self-signed SSL certificate for the Enterprise Portal server (SSLCert1) and
one self-signed SSL certificate for the AD FS server (SSLCert2). For more information, see Create a SelfSigned Server Certificate in IIS 7.0 (http://go.microsoft.com/fwlink/?LinkId=235235). For production
servers, you must register an SSL certificate from a certification authority on the AD FS server. The
certificate will help make sure that the users claim was not changed in transit. We recommend that you
register separate SSL certificates for the AD FS and Enterprise Portal servers. After you have created selfsigned certificates or acquired certificates, complete the following procedure.
111
Microsoft Dynamics AX
1.
On the Windows Server that will host the claims-based Enterprise Portal site, click Start > Run, type
mmc, and then click OK.
2.
3.
4.
When the system prompts you to specify which type of account to manage certificates for, click
Computer Account, and then click Next.
5.
6.
7.
8.
Right-click Personal, and then click All tasks > Import. The Certificate Import Wizard opens. Click
Next.
9.
10. Enter the password for the certificate, and then click Next.
11. Select the Mark this key as exportable option, and then click Next. The Certificate Store dialog box
appears.
12. Click Next.
13. Click Finish.
Enable SharePoint Claims to Windows Token Service
You must enable the SharePoint claims to Windows token service (C2WTS) for claims-based
authentication. Use the following procedure to start this service.
1.
In SharePoint Central Administration, under System Settings, click Manage services on server.
2.
3.
4.
In Windows, click Start > Run, type services.msc and press Enter.
5.
In the Services console, verify that the Claims to Windows Token Service is running.
Note:
Do not use the services.msc to start the C2WTS because the service will be automatically disabled
after a period of time. You must use SharePoint Central Administration to start this service.
112
Microsoft Dynamics AX
Create a claims-aware site on a new SharePoint web application
Note:
Windows PowerShell includes a security setting called the execution policy that determines how
scripts are run. By default, the execution policy is set to Restricted, which prevents any scripts
from running. To run the installation scripts for Microsoft Dynamics AX components, we
recommend that you set the execution policy to RemoteSigned by using Set-ExecutionPolicy
cmdlet. This setting allows you to run scripts that youve written and scripts that have been signed
by a trusted publisher.
1.
Open the Microsoft Dynamics AX 2012 Management Shell with administrator privileges. Click Start >
Administrative Tools > right-click Microsoft Dynamics AX 2012 Management Shell and click Run
as administrator.
2.
3.
When prompted, enter the credentials for the .NET Business Connector proxy account. The credentials
must be the .NET Business Connector proxy account and password that were specified when
Enterprise Portal binaries were installed earlier in this document. If you specify an account other than
the .NET Business Connector proxy account, then the cmdlet overwrites the existing .NET Business
Connector account, which can cause existing Enterprise Portal installations to stop working. Also note,
this cmdlet designates the .NET Business Connector proxy account as the Enterprise Portal site
administrator.
4.
Execute the following command, replacing PathToSSLCert1 with the path to SSLCert1, which you
imported earlier in this document.
$SSLCert = Get-PfxCertificate "PathToSSLCert1"
When prompted, enter the password that you specified when you exported the SSL certificate.
5.
This cmdlet can take several minutes to be completed. After the cmdlet is completed, you can access
a new instance of Enterprise Portal at the following URL:
https://ServerName:PortNumber/sites/DynamicsAx.
Browse this site to verify that the command was executed properly. If you viewed the site, then you skip to
the section titled Install Active Directory Federation Services 2.0 in this topic. If you were not able to view
the site, see the section titled Troubleshooting issues with a claims-aware site.
Create a claims-aware site on an existing SharePoint web application
If you want to create a new claims-aware site on an existing SharePoint web application, note the
following requirements.
113
Microsoft Dynamics AX
The web application must be configured for Integrated Windows/NTLM authentication in SharePoint
Central Administration. This is required even if the web application is already configured as a claimsmode web application.
You must be a member of the site collection administrator group in SharePoint to perform the
following procedures.
Important:
We recommend that the web application be configured with SSL to enhance data security.
Verify that the existing web application uses the Windows authentication provider
Use the following procedure to verify that the existing web application uses the Windows authentication
provider.
1.
2.
3.
4.
Verify that the Zone lists Default and the Membership Provider Name lists Windows.
5.
6.
In either the IIS Authentication Settings section or the Claims Authentication Types section, verify
that Integrated Windows and NTLM are selected.
7.
114
Microsoft Dynamics AX
Determine the name of the web application where you want to create the site. In SharePoint Central
Administration, click Manage web applications. Find the name of the application. For example,
SharePoint 443.
2.
This cmdlet can take several minutes to be completed. After the cmdlet is completed, you can access
a new instance of Enterprise Portal at the following URL:
https://ServerName:PortNumber/sites/DynamicsAx. Browse this site to verify that the command was
executed properly. If you viewed the site, then you skip to the section titled Install Active Directory
Federation Services 2.0 in this topic. If you were not able to view the site, see the section titled
Troubleshooting issues with a claims-aware site.
115
Microsoft Dynamics AX
Troubleshooting issues with a claims-aware site
Error: A specified logon session does not exist.
This error is caused by incorrect certificate information. Verify that you selected Mark this key as
exportable when you imported the certificate.
Error: Setup could not find the IIS virtual server by using the name you specified.
This error occurs when the web application and Enterprise Portal site already exist on the server, so that
the Windows PowerShell cmdlet detects a conflict.
To resolve this issue:
1.
Click Start > Administrative Tools > Internet Information Services (IIS) Manager.
2.
Expand the server node, and then expand the Web sites node.
3.
4.
5.
Click ASP.NET Impersonation, and then, in the Actions pane, click Disable.
6.
Use Microsoft Dynamics AX Setup to install Enterprise Portal on the web application created by the
New-AXClaimsAwareEnterprisePortalServer cmdlet. For more information, see Install Enterprise
Portal on TechNet.
Note:
On the Configure a Web site for Enterprise Portal page of the Setup Wizard, clear all
options. You will configure SharePoint and create the website later in this procedure.
7.
After you install Enterprise Portal on the web application, click Start > SharePoint Central
Administration.
8.
9.
2.
3.
After the installation is completed, restart the server as recommended by Setup, and then run the
AD FS 2.0 Management tool. In Windows, click Start > Administrative Tools > AD FS 2.0
Management.
4.
Under Configure This Federation Server, click AD FS 2.0 Federation Server Configuration Wizard.
5.
6.
116
Microsoft Dynamics AX
7.
Specify the SSL certificate that you created earlier in this document, and then click Next.
8.
Complete the wizard. AD FS creates a new application named adfs on the Default Web Site in IIS.
In AD FS 2.0 Management, click Require: Add a trusted relying party. The Add Relying Party Trust
Wizard opens.
2.
Click Start.
3.
Click Enter data about the relying party manually, and then click Next.
4.
In the Display Name field, enter a name, such as ADFS Sign-on, and then click Next.
5.
Click ADFS 1.0 and 1.1 profile, and then click Next.
6.
In the WS-Federation Passive URL field, enter the URL of the claims-aware Enterprise Portal site. The
URL must use the following format: https://ServerName:portnumber/_trust/. The server name and port
must be the values that you specified earlier in this document when you created the claims-aware
Enterprise Portal site.
For example: https://TestServer:8000/_trust/
7.
8.
9.
Click Next.
10. Click Permit all users to access this relying party, and then click Next.
11. On the Ready to Add Trust page, click Next.
12. On the Finish page, click Open the Edit Claim Rules for the relying party trust.
13. Click Add Rule.
14. Select the Send LDAP Attributes as Claims claim rule template, and then click Next.
15. Enter a claims rule name, such as ADFS sign-on.
16. In the Select an attribute store section, click Active Directory.
17. Click LDAP Attribute, and then click SAM-Account-Name.
18. In the Outgoing claim type section, click E-mail address.
19. Click Finish.
Manage the AD FS token-signing certificate
1.
2.
In the center pane, in the Token-signing section, right-click the CN=ADFS Signing certificate, and
then click View Certificate.
3.
117
Microsoft Dynamics AX
4.
Save the file as Name.cer by using the DER Encoded Binary X.509 option and then copy it to a
directory on the Enterprise Portal server. For example, you could save the certificate as adfsTokenSigningCert.cer and save it in a cert directory on the C:\ drive of the Enterprise Portal server.
Note:
Users must specify a valid email address for their account logon.
2.
3.
Execute the following command, replacing path-to-token signing certificate from the AD FS
server with the path of the Name.cer file that you configured in step 4 of the previous procedure.
$SigningCert
server"
4.
You can specify any name for the provider. In this example, the name is ADFSProvider. The server URL
must be the FQDN of the server that runs AD FS, followed by /adfs/ls/.
5.
This cmdlet adds the AD FS-based authentication trusted identity provider to the claims-aware
Enterprise Portal site. The URL must be the URL of the Enterprise Portal site that you created earlier in
this document: https://ServerName:PortNumber. The name of the provider must be the name that was
used to create the provider in the previous procedure. Users should now see this provider in the
providers list when they browse the site (https://ServerName:PortNumber/sites/DynamicsAx).
Register the AD FS signing certificate as a trusted root authority with SharePoint
1.
Click Start > All Programs > Microsoft SharePoint Products > SharePoint Management Shell.
2.
Execute the following commands, replacing <Path-to-certificate>\Name.cer with the path and name
of the AD FS signing certificate.
$cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2("<Pathto-certificate>\Name.cer")
118
Microsoft Dynamics AX
Note:
ADFSSigningCert is a user-specified value.
Create a new user for AD FS authentication
The New-AXUser cmdlet creates a new user in Microsoft Dynamics AX. You can specify the type of user
to add. If you are creating a claims user, specify the name of the claims provider in the UserDomain
parameter, as described in the following procedure.
1.
2.
3.
On the Enterprise Portal server, execute the New-AXUser cmdlet. For descriptions of the required
parameters and syntax, see New-AXUser (http://go.microsoft.com/fwlink/?LinkID=217580) on
TechNet.
The following example shows the cmdlet with the required parameters. AXUser, UserName, and
UserDomain are user-specified values. The value of UserDomain is the same value that you specified
in Step 4 of the Specify the Claims Provider in SharePoint procedure earlier in this document.
New-AXUser -AccountType ClaimsUser -AXUserId april -UserName aprilbuckley -UserDomain
ADFSProvider
2.
3.
Log on to Enterprise Portal by using the credentials that you created in the previous procedure. You
should be able to log on to Microsoft Dynamics AX as a system user.
Troubleshooting AD FS issues
Error: Users see a blank page after logging on to Enterprise Portal by using the AD FS provider.
This error occurs when the logon URL for the AD FS provider (for example,
https://TestServer.contoso.com/adfs/ls/) cannot be opened in a web browser. To resolve this issue, you
must update the hosts file on the server.
1.
Open the hosts file. By default, the file is located in the following directory:
C:\Windows\System32\drivers\etc folder
119
Microsoft Dynamics AX
2.
Add an entry for the AD FS provider in the form <IP address of AD FS server> <AD FS Server Name>
<FQDN of AD FS server>
For example: 10.10.50.215 TestServer TestServer.contoso.com
3.
4.
5.
Clear the Automatically detect settings option. You might have to instruct all Enterprise Portal users
to change this setting in their web browser.
Error: Users select the AD FS provider on the logon page, and then receive a 404: Page not found
error.
To resolve this issue, use IIS Manager to verify that Default Web Site or the site that hosts the AD FS
provider is running.
Error: There was a problem accessing the site.
To learn more about this error, view the details in the AD FS 2.0 Admin event log. If you need more details
about this issue, you can enable the AD FS debug log, as described in the following procedure.
1.
In Event Viewer, click View > Show Analytic and Debug Logs.
2.
To view events in the debug log, click AD FS 2.0 Tracing > Debug.
3.
Error in the AD FS Admin log: An error was encountered during a federation passive request.
Exception details:
Microsoft.IdentityServer.Web.InvalidScopeException: MSIS7007: The requested relying party trust
'urn:ServerName:Provider' is unspecified or unsupported. If a relying party trust was specified, it is
possible that you do not have permission to access the trust relying party. Contact your administrator for
details at:
Microsoft.IdentityServer.Web.FederationPassiveAuthentication.SubmitRequest(MSISRequestSecurityToken
request
To resolve this issue:
1.
2.
3.
4.
In the Relying party identifiers field, verify that the address matches the address shown in the error
message. Addresses are case sensitive.
In SharePoint Central Administration on the Enterprise Portal server, click Manage web applications.
2.
3.
4.
Click Default.
120
Microsoft Dynamics AX
5.
In the Claims Authentication Types section, select the providers that you want to appear in the
Sign-in list.
6.
Click OK.
See Also
Deploy an Enterprise Portal site that uses forms-based authentication
Deploy Enterprise Portal for vendor registration with Windows Azure Active
Directory Access Control
This topic describes how to create a claims-aware Enterprise Portal site for vendor registration. The vendor
registration process begins when a potential vendor requests registration by using a public Enterprise
Portal site that is configured for anonymous authentication. After completing a series of steps in the
registration workflow, the registered vendor can access Enterprise Portal outside of your Active Directory
domain by using one of the following types of accounts: Microsoft Account, Google, Yahoo, or Facebook.
The claims-aware Enterprise Portal site uses Windows Azure Active Directory Access Control (also known
as Access Control Service or ACS). ACS is a cloud-based service that provides user authentication and
authorization to web applications and services. Instead of implementing an authentication system with
user accounts that are specific to your application, ACS manages user authentication and authorization on
the web.
This topic describes how to deploy and configure Enterprise Portal with ACS for a vendor registration
portal.
Before you begin
Complete the following tasks before you deploy Enterprise Portal for vendor registration.
Task
Details
(http://go.microsoft.com/fwlink/?LinkId=390990) on MSDN.
use ACS
Process flow: Enterprise Portal vendor registration with Access Control Services
The diagrams in this section describe how users complete the vendor on-boarding process by using an
Enterprise Portal site that is configured for claims-based authentication with ACS. After you configure
Enterprise Portal with ACS, as described in this topic, unsolicited vendors use this process to register with
your company for consideration as vendors.
Unsolicited vendor sign up with an Enterprise Portal public site and ACS
This section describes the process by which an unsolicited vendor authenticates with ACS to use the
Enterprise Portal sign up page.
121
Microsoft Dynamics AX
Figure 1: Unsolicited vendor sign up process flow with an Enterprise Portal public site and ACS
1.
A vendor wants to register with your company and locates the public site. The user is regarded as a
Guest user with the security role Vendor anonymous (external).
2.
The vendor clicks the sign-up button. This button is visible when a guest user has the Vendor
anonymous (external) security role in Microsoft Dynamics AX. The site redirects the request to ACS.
3.
ACS provides the user with a list of links to registered identity providers. The user enters credentials
for a third-party provider such as one of the following: Microsoft Account, Google, Yahoo, or
Facebook. The provider authenticates the credentials.
4.
After the user is authenticated, ACS redirects the users browser to the URL for the sign up form and
includes an identity token.
5.
Enterprise Portal determines that the users identity has been verified. Enterprise Portal displays the
sign up form. The user completes the form and submits their information.
After the user submits their information in the Sign up form, Microsoft Dynamics AX stores the request as
an unsolicited vendor requests with a user alias derived from the identity token. This information is used
to create a Microsoft Dynamics AX user account. The new user account is assigned to the Prospective
vendor security role in Microsoft Dynamics AX. The user creation is handled by the Microsoft Dynamics
AX New User request workflow. The user is now considered to be a Prospective Vendor by the system.
The system sends the user a private URL for more information, as described by the next process flow.
Prospective vendor registration with an Enterprise Portal private site and ACS
This section describes the process by which a prospective vendor (a user who has completed the sign up
form described in the previous process flow) authenticates with ACS to use the Enterprise Portal vendor
registration page.
122
Microsoft Dynamics AX
Figure 2: Vendor prospect registration process flow with an Enterprise Portal private site and ACS
1.
A prospective vendor (a user) who wants to complete the registration process with your company to
become a vendor locates the URL sent to their email after they completed the Sign up form.
2.
The site determines that the user is not authenticated and redirects to ACS.
3.
ACS provides the user with a list of links to registered identity providers. The user enters credentials
for a third-party provider such as one of the following: Microsoft Account, Google, Yahoo, or
Facebook. The provider authenticates the credentials.
4.
After the user is authenticated, ACS redirects the users browser to the private Enterprise Portal URL
and includes an identity token.
5.
SharePoint determines that the user has been authenticated. Microsoft Dynamics AX authorizes the
user to access the Prospective vendor registration form. The user completes the form and submits
their information.
After the prospective vendor completes the registration form, the request is processed for approval by
Microsoft Dynamics AX workflow. If the prospective vendor is accepted as a vendor, they are assigned a
vendor security role. The vendor can then access the vendor portal pages.
Deploy Enterprise Portal sites
A vendor registration portal requires an internal Enterprise Portal site in your Active Directory domain and
a public Enterprise Portal site configured for anonymous access. See the following procedures to install
these sites:
Internal site: Install Enterprise Portal on a single server or Deploy Enterprise Portal in server farm
After you have deployed the internal site in your Active Directory domain and the public site with
anonymous access, you can continue with the procedures in this topic.
Register a site with Access Control Services (ACS)
This section includes multiple procedures to help you register a site with ACS and then configure the
claims-aware site. You must complete each procedure in this section.
123
Microsoft Dynamics AX
Create an ACS site on the Azure management portal
To perform the following procedure you must have an Azure subscription. For more information, see
Windows Azure sign-up (http://go.microsoft.com/fwlink/?LinkId=390991) on the web.
1.
2.
In the left pane, click Active Directory and then click Access control namespace in the main header.
3.
Create a new namespace. Click New at the bottom of the Azure web page and complete the steps for
App Services > Active Directory > Access Control > quick create. When the wizard is completed,
you see an ACS URI in this format: https://<acs_namespace>.accesscontrol.windows.net
Note:
Only the administrator of the Azure subscription can access the ACS Management Portal. This
person must configure access for other administrators who need access to the ACS Access
Control page. For more information, see Portal Administrators
(http://go.microsoft.com/fwlink/?LinkId=391018).
4.
After the namespace is created, select it in the Access Control Namespaces list and click Manage at
the bottom of the page.
5.
In the Access Control Service management portal, click Identity Providers. Select the providers that
you want to enable for your claims-aware Enterprise Portal site. If you select Microsoft Account,
124
Microsoft Dynamics AX
Google, or Yahoo, you can continue with the procedure to Add a relying party. If you want to enable
Facebook as an identity provider, you must complete the steps in the Configure Facebook as an ACS
identity provider procedure.
Configure Facebook as an ACS identity provider
Complete the following procedure to configure Facebook as an ACS identity provider for your claimsaware Enterprise Portal site.
1.
Complete the configuration steps in the following article on MSDN: Facebook as an ACS Identity
Provider (http://go.microsoft.com/fwlink/?LinkId=391020). After you complete these steps in the
article, continue with this procedure.
2.
In the Access Control Service management portal, on the Basic page for the Facebook app, enter
windows.net in the App Domains field.
3.
In the Canvas URL field, enter the namespace URL in the format:
http://ServerName.accesscontrol.windows.net/
In the left pane of the ACS Management Portal, click Relying party applications.
2.
Click Add.
125
Microsoft Dynamics AX
3.
Enter a name for the relying party. For example: Your_company_name Enterprise Portal. This name is
used only in the ACS Management Portal.
4.
Enter the name of a realm. A realm specifies where the authentication request will originate. This
name can also be, for example, Your_company_name Enterprise Portal.
5.
Enter a return URL. ACS redirects to this URL after successful authentication. For this web site, the URL
should be in the following format:
https://<host_name>:<acs_port>/_trust
You can specify any available port. Make a note of this port number because you will specify it again
when you create the secure site on the host machine.
6.
(Optional): Enter an error URL. If a user experiences an error, the web browser is redirected to this URL
7.
8.
9.
In the Token lifetime (secs) field, enter a large number so that the token does not expire too
frequently. For example, specify 86,400 seconds (24 hours).
Click Add.
2.
Select the Identity providers to configure. You can select one provider or all of the providers.
3.
In the Input claim type field, leave the default value of Any.
4.
5.
In the Output claim type field, click Pass through first input claim type.
6.
In the Output claim value field, click Pass through first input claim value.
7.
Click Save.
2.
3.
4.
In the middle pane, right-click the certificate you just created and click Export.
5.
Enter a path where you want to export the file and specify a password.
126
Microsoft Dynamics AX
6.
From the Windows Run dialog box, type MMC.exe and press Enter.
7.
In Microsoft Management Console, click File > Add/Remove Snap-ins. Add the Certificates snap-in.
8.
9.
Click Finish.
10. In Microsoft Management Console, expand Certificates (Local Computer) > Trusted Root
Certification Authorities > Certificates and locate the certificate you just created.
11. Right-click the certificate and click All Tasks\Export.
12. In the Certificate Export Wizard, select No, do not export the private key and retain all default
settings. The wizard exports the certificate as a .cer file. Make a note of the path to this file because
you will enter this information later in this topic.
13. Verify that with this procedure you have successfully created both the <acs_signing_cert>.pfx file and
the <acs_signing_cert>.cer file.
14. In the ACS Management Portal, in the left pane, click Certificate and keys.
15. Above the Token Signing section, click the Add link.
16. In the Used for section, click Relying Party Application and select the relying party application that
you created in the previous procedure.
17. In the Type section, verify that X.509 Certificate is selected.
18. In the Certificate section, browse to the <acs_signing_cert>.pfx file, enter in the password, and click
Save.
19. In the Primary section, verify that Make Primary is selected.
20. Click Save.
127
Microsoft Dynamics AX
Create the claims-aware Enterprise Portal site
Use the procedures in this section to create a new SSL certificate for the claims-aware Enterprise Portal
site and then create the site on a new SharePoint web application.
Create an SSL certificate for the claims-aware site
You created a custom token signing certificate by using IIS manager in the previous section. You must
now create a second SSL certificate for the claims-aware Enterprise Portal site. This procedure creates a
self-signed certificate for a developer or test environment. When you deploy a claims-aware Enterprise
Portal vendor registration site in a production environment, you must acquire a valid certificate from a
certificate authority.
Important:
You cannot use the custom token signing certificate that you created earlier. That certificate is
specific to ACS. You must create a second SSL certificate, as described below.
1.
2.
3.
4.
In the middle pane, right-click the certificate you just created and click Export.
5.
Enter a path where you want to export the file and specify a password.
6.
From the Windows Run dialog box, type MMC.exe and press Enter.
7.
In Microsoft Management Console, click File > Add/Remove Snap-ins. Add the Certificates snap-in.
8.
9.
Click Finish.
10. In Microsoft Management Console, expand Certificates (Local Computer) > Trusted Root
Certification Authorities > Certificates and locate the certificate you just created.
11. Right-click the certificate and click All Tasks\Export.
12. In the Certificate Export Wizard, select No, do not export the private key and retain all default
settings. The wizard exports the certificate as a .cer file. Make a note of the path to this file because
you will enter this information later in this topic.
Create a claims-aware site on a new SharePoint web application
This section describes how to create a claims-aware Enterprise Portal site by using a Microsoft Windows
PowerShell cmdlet. The cmdlet in this section first creates a claims-aware web application in SharePoint,
and then deploys an Enterprise Portal site on that web application. If you are not familiar with Windows
PowerShell cmdlets for Microsoft Dynamics AX, see Administering Microsoft Dynamics AX by using
Windows PowerShell (http://go.microsoft.com/fwlink/?LinkId=235298) for more information.
Note:
Windows PowerShell includes a security setting called the execution policy that determines how
scripts are run. By default, the execution policy is set to Restricted, which prevents any scripts
from running. To run the installation scripts for Microsoft Dynamics AX components, we
recommend that you set the execution policy to RemoteSigned by using Set-ExecutionPolicy
cmdlet. This setting allows you to run scripts that youve written and scripts that have been signed
by a trusted publisher.
128
Microsoft Dynamics AX
1.
Open the Microsoft Dynamics AX 2012 Management Shell with administrator privileges. Click Start >
Administrative Tools > right-click Microsoft Dynamics AX 2012 Management Shell and click Run
as administrator.
2.
3.
When prompted, enter the credentials for the .NET Business Connector proxy account. The credentials
must be the .NET Business Connector proxy account and password that were specified when
Enterprise Portal binaries were installed earlier in this document. If you specify an account other than
the .NET Business Connector proxy account, then the cmdlet overwrites the existing .NET Business
Connector account, which can cause existing Enterprise Portal installations to stop working. Also note,
this cmdlet designates the .NET Business Connector proxy account as the Enterprise Portal site
administrator.
4.
Execute the following command, replacing PathToSSLCert.pfx with the path to the .PFX certificate
file that you created in the previous procedure.
$SSLCert = Get-PfxCertificate "PathToSSLCert.pfx"
When prompted, enter the password that you specified when you created the SSL certificate.
5.
This cmdlet can take several minutes to be completed. After the cmdlet is completed, you can access
a new instance of Enterprise Portal at the following URL:
https://ServerName:RelyingPartyAppPortNumber/sites/DynamicsAx.
The site is also listed on the System administration > Enterprise Portal > Web sites form.
Browse this site to verify that the command was executed properly. The site displays a certificate warning.
You will not see this warning when you acquire a valid certificate from a certificate authority. You can
ignore this warning for now and proceed to the site.
Establish claims mapping
Use the following PowerShell commands to map three different claims to the ACS service.
1.
From the SharePoint Management Shell, execute the following three commands:
a.
129
Microsoft Dynamics AX
c.
2.
Execute the following commands from the SharePoint Management Shell to register a token:
a.
The following example shows parameters for Contoso Corporations test environment
New-SPTrustedIdentityTokenIssuer -Name AzureACS -Description Azure ACS -Realm
urn:Contoso:AzureACS -ImportTrustCertificate $acscert -SignInUrl
"https://ContosoTestServer1.accesscontrol.windows.net/v2/wsfederation" -ClaimsMappings
$claim1,$claim2,$claim3 -IdentifierClaim $claim1.InputClaimType
c.
Execute the following commands in the SharePoint Management Shell to import the
<ACS_signing_cert> as trusted root certificate in SharePoint:
a.
$cert = New-Object
System.Security.Cryptography.X509Certificates.X509Certificate2($acscert)
In SharePoint Central Administration, click Manage web applications and then click the claims-aware
Enterprise Portal site you created earlier in this topic.
2.
130
Microsoft Dynamics AX
3.
4.
5.
6.
7.
131
Microsoft Dynamics AX
8.
9.
132
Microsoft Dynamics AX
Verify sign in
1.
Enter the ACS URL for your Enterprise Portal site in a web browser. For example:
https://ContosoTestServer1:8000/Sites/DynamicsAx.
2.
3.
When prompted, specify valid credentials for one of the identity providers listed.
In the left pane of the ACS Management Portal, click Relying party applications.
2.
Click Add.
3.
Enter a name for the relying party. For example: Your_company_name Unsolicited Vendor Sign-up.
This name is used only in the ACS Management Portal.
4.
Enter the name of a realm. A realm specifies where the authentication request will originate. This
name can also be, for example, Your_company_name Unsolicited Vendor Sign-up.
133
Microsoft Dynamics AX
5.
Enter a return URL. ACS redirects to this URL after successful authentication. For a public web site, the
URL should be in the following format:
http://ServerName:Port/sites/Public/Enterprise%20Portal/VendRequestSignUp.aspx
Specify the port where you deployed the public Enterprise Portal site.
6.
(Optional): Enter an error URL. If a user experiences an error, the web browser is redirected to this URL
7.
8.
9.
In the Token lifetime (secs) field, enter a large number so that the token does not expire too
frequently. For example, specify 86,400 seconds (24 hours).
Click Add.
2.
Select the Identity providers to configure. You can select one provider or all of the providers.
3.
In the Input claim type field, leave the default value of Any.
4.
5.
In the Output claim type field, click Pass through first input claim type.
6.
In the Output claim value field, click Pass through first input claim value.
7.
Click Save.
Configure the login page for the public Enterprise Portal site
1.
On the Azure ACS management portal, click Development > Application Integration > Login
pages.
2.
Select relaying party application #1. (The first relaying party application you created in this
documented.)
3.
Copy the link in the Option 1: Link to an ACS-hosted login page field.
4.
In IIS Manager, select the Enterprise Portal public site web application.
5.
6.
7.
Click OK.
8.
9.
Open the directory for the Enterprise Portal public site. For example, directory 80.
10. Open the web.config file in Visual Studio or in a text editor like Notepad.
134
Microsoft Dynamics AX
11. Choose one of the following options:
a.
135
Microsoft Dynamics AX
Replace <Thumbprint> with the thumbprint of the token signing certificate for the Azure ACS
relying party application. To locate the thumbprint, click the certificate at the bottom of the
relying party application. Copy the thumbprint.
12. Enter the URL of your public Enterprise Portal site a web browser. For example:
http://ServerName:Port/sites/Public/Enterprise%20Portal/VendRequestSignUp.aspx. The web browser
redirects you to the ACS sign in page where you can select an identity provider and log in.
Configure Enterprise Portal parameters
You must configure the following parameters in the Microsoft Dynamics AX client.
1.
Click System administration > Setup > Enterprise Portal > Enterprise Portal parameters.
2.
3.
4.
5.
Next steps
You must configure the vendor on-boarding workflow process in the Microsoft Dynamics AX client. The
process is described in detail in the following blog Step-by-step walkthrough of the vendor on-boarding
process (http://go.microsoft.com/fwlink/?LinkId=392074).
136
Microsoft Dynamics AX
See Also
Configuring Enterprise Portal for vendor requests (http://technet.microsoft.com/library/fd6b06a0-6bb749f5-9717-ae40a1f7d327(AX.60).aspx)
Deploy a claims-mode Enterprise Portal site
Name resolution
137
Microsoft Dynamics AX
The perimeter network contains the Enterprise Portal Web server that is running IIS, SharePoint, and an
Active Directory domain controller. The perimeter domain controller hosts accounts for those users who
are external to the organization and who require Enterprise Portal access. These user accounts are set up
on the perimeter domain controller as follows:
1.
2.
3.
The internal network contains a complete installation of Microsoft Dynamics AX. This includes the
following components:
a.
An Active Directory domain controller that contains the accounts for all internal Microsoft
Dynamics AX users
The internal forest has a one-way, incoming, transitive, forest-level trust with the perimeter forest. In the
following description, the intranet/internal network is referred to as CORP. This configuration enables the
following access scenarios.
CORP users can access the AOS by using the Microsoft Dynamics AX Win32 client or the browserbased Enterprise Portal on an internal computer
CORP users can access the AOS by using the Microsoft Dynamics AX Win32 client or browser-based
Enterprise Portal from an external computer
External users can access the AOS by using the browser-based Enterprise Portal from an external
computer
138
Microsoft Dynamics AX
The configurations in this document are only one example of how to configure internal and external users
to access the AOS by using Enterprise Portal.
Verify that you have the appropriate permissions to install Enterprise Portal. For more information
about permissions, see Verify that you have the required permissions for installation.
Install and configure Microsoft Dynamics AX required components in your internal network. If you
already installed Microsoft Dynamics AX required components, you must verify that the AOS service
runs as a domain user account that is a member of your internal network. The AOS service cannot run
as NT Authority\Network Service for a traditional perimeter network deployment that hosts Enterprise
Portal. Verify that the unqualified AOS DNS hostname is not greater than 15 characters. At a
minimum, you must install the Microsoft Dynamics AX client, the Application Object Server (AOS), and
the database. You must be a local administrator on the server(s) were you want to deploy these
components. For more information, see Install Microsoft Dynamics AX 2012
(http://technet.microsoft.com/library/fbe52b68-1294-4398-b233-f8ec37c6d531(AX.60).aspx).
If you installed a non-SYS layer model file in the Microsoft Dynamics AX environment, compile
Microsoft Dynamics AX before you install Enterprise Portal. If you do not compile Microsoft Dynamics
AX, the Enterprise Portal installation might fail.
While logged in as a CORP user who is a local administrator on the server, install SharePoint on the
perimeter-network server that will host Enterprise Portal. Verify that you are an administrator on the
server and in the Microsoft SQL Server instance that will host SharePoint. When SharePoint prompts
you to specify credentials for a service, specify a domain user account that is a member of the internal
network. You will specify this same account as the .NET Business Connector proxy account when you
install Enterprise Portal. The account does not have to be a member of the administrators group on
the server.
139
Microsoft Dynamics AX
If you want to deploy Enterprise Portal in multiple languages, you must download and deploy
SharePoint language packs onto the web server before you install Enterprise Portal. You can
download SharePoint language packs from Microsoft.com. Enterprise Portal is currently supported in
the following languages:
Arabic
Italian
Chinese (Simplified)
English (UK)
Italian (Switzerland)
Czech
English (US)
Japanese
Danish - 1030
Estonian
Latvian
Dutch (Netherlands)
Finnish
Lithuanian
Dutch (Belgium)
French (France)
Norwegian
English
Polish
English (Australia)
French (Switzerland)
Portuguese (Brazilian)
English (Canada)
German (Germany)
Russian
English (India)
German (Austria)
Spanish (international)
English (Ireland)
German (Switzerland)
Spanish (Mexico)
English (Malaysia)
Hungarian
Swedish
Icelandic
Thai
English (Singapore)
To deploy Enterprise Portal in one of the languages list here, you must create a Web application in
SharePoint and specify the new language. For more information, see Create an Enterprise Portal site
(http://technet.microsoft.com/library/da9149f8-9bb8-4d95-b392-4c6954a60b5f(AX.60).aspx).
Verify that the name of the server that will host Enterprise Portal does not include an underscore,
for example EPserver_1. If an Enterprise Portal server includes an underscore in the server name,
lookups and web pages might display errors.
On the computer where you will install Enterprise Portal, run the prerequisite validation utility to
verify that system requirements have been met. For information about how to run the
prerequisite validation utility, see Check prerequisites.
For more information about the hardware and software requirements for Microsoft Dynamics AX, see
the system requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
If you are installing Enterprise Portal on a server that already hosts an Enterprise Portal
deployment and you want to overwrite that deployment, you must have Full Control permission
in SharePoint for the existing Enterprise Portal site collection. If you do not have Full Control
permission, you will not be able to delete the existing site collection by using Setup.
Important:
If you attempt to install Enterprise Portal on an existing Internet Information Services (IIS) site that
is already configured to use a host header, the installation fails, unless you create a
BackConnectionHostNames (http://go.microsoft.com/fwlink/?LinkId=194948) registry entry.
140
Microsoft Dynamics AX
By default, the Enterprise Portal Web server receives the request from the firewall on TCP port 80 (or
443, if the Web server is configured for Secure Sockets Layer [SSL] encryption). The firewall therefore
must have port 80 or 443 open for incoming Internet requests.
2.
After the Web server receives the request, it sends the request to the perimeter domain controller on
UDP port 53 to verify whether the user is an external or internal user.
3.
The perimeter domain controller and the internal domain controller communicate by using various
ports, as shown in Table 1 at the end of this section.
4.
The perimeter domain controller identifies the user and then returns the request to the Web server on
UDP port 53.
5.
The Web server authenticates the user and then sends the request to the AOS using TCP. The default
port is 2712. The Web server and the AOS communicate by using the Business Connector proxy
account.
6.
The AOS communicates with the Microsoft Dynamics AX SQL Server database on port 1433, by
default.
7.
After the AOS retrieves the necessary data from the database, it returns the response to the Web
server.
8.
141
Microsoft Dynamics AX
Table 1: Ports for a traditional perimeter network to support Enterprise Portal
Port
Direction
Connection
Type
Notes
Inbound/ Outbound
TCP
in your environment
server
2712 (by default)
Inbound/ Outbound
TCP
Microsoft Dynamics AX
AOS
8201
Inbound/ Outbound
TCP
Microsoft Dynamics AX
AOS
53
Inbound/ Outbound
DNS
UDP
None
135
Outbound
TCP
None
TCP
None
TCP
None
TCP
None
TCP
None
TCP
None
UDP
None
UDP
None
to perimeter domain
controller
135
Inbound
Perimeter domain
controller to internal
domain controller
445
Outbound
445
Inbound
Perimeter domain
controller to internal
domain controller
1638
Outbound
1638
Inbound
Perimeter domain
controller to internal
domain controller
389
Outbound
389
Inbound
Perimeter domain
controller to internal
domain controller
142
Microsoft Dynamics AX
If necessary, use Telnet or Netmon to verify these ports. For more information about how to configure
firewall ports, see How to configure a firewall for domains and trusts
(http://support.microsoft.com/kb/179442).
Configure DNS
The following procedures describe how to configure your Domain Name System (DNS) to create a oneway trust between the domain controllers in your network. For Enterprise Portal, the perimeter network
domain controller should trust the internal domain controller, but the internal domain controller should
not trust the perimeter domain controller.
To create the one-way trust, complete the following procedures:
Create trust from the internal domain controller to the perimeter domain controller
Log on to the internal domain controller by using an account that is a member of the domain
administrators group.
2.
3.
4.
Expand Forward Lookup Zones, right-click the domain name, and then click Properties.
5.
6.
Select Allow Zone Transfers, and then select Only to the Following Servers.
7.
Enter the IP address for the perimeter network domain controller, and then click Add.
8.
9.
Log on to the internal domain controller by using an account that is a member of the Domain
Administrators group.
2.
3.
4.
Right-click Forward Lookup Zones, click New Zone, and then click Next.
5.
On the Zone type page, select Secondary zone, and then click Next.
6.
On the Zone Name page, enter the fully qualified domain name of the perimeter network, and then
click Next.
7.
Enter the IP address for the perimeter domain controller, and then click Next.
8.
Click Finish to complete the wizard, and then restart the DNS server.
9.
143
Microsoft Dynamics AX
Create a one-way trust between the domain controllers
Complete this procedure to set up the one-way trust between the internal domain controller and the
perimeter domain controller.
1.
Log on to the perimeter domain controller by using an account that is a member of the Domain
Administrators group.
2.
Open Active Directory Domains and Trusts (Start > Programs > Administrative Tools).
3.
In the console tree, right-click the domain name for the domain that you want to administer, and then
click Properties.
4.
5.
6.
On the Trust Name page, enter the fully qualified domain name for the internal domain, and then
click Next.
7.
8.
Select Both this domain and the specified domain, and then click Next.
9.
Enter the domain administrator credentials for the internal domain, select Domain Wide
Authentication, and then click Next.
10. Click Next two times, and then click Yes to confirm outgoing trust.
11. Click Finish.
Name resolution
The Enterprise Portal server, which is located in the perimeter network, must resolve the host name of the
AOS, which is located on the internal or corporate network (CORP). If the AOS does not use a fully
qualified domain name (FQDN) such as EP1.corp.contoso.com, then you must manually resolve
hostnames. You can resolve hostnames by using one of the following options.
1.
For environments that use a dynamic host configuration protocol (DHCP) server, add the CORP DNS
suffix (for example, EP1.corp.contoso.com) to the DNS suffix search list on the DHCP server. Then
verify that the perimeter network server resolves hostnames by using the DNS suffix list on the DHCP
server.
2.
Edit the hosts file on the Enterprise Portal server (%windir%\system32\drivers\etc\hosts). Add the
non-FQDN AOS computer name to IP mapping. Be aware that making this change in the host file
might change the IP address of the AOS server and result in name resolution failures.
3.
For environments that do not use a DHCP server, add the CORP DNS suffix (for example,
EP1.corp.contoso.com) to the DNS suffix search list on the Enterprise Portal server, as described in the
following procedure.
On the server that will host Enterprise Portal, click Start > Control Panel, and then click Network and
Sharing Center.
2.
3.
4.
144
Microsoft Dynamics AX
5.
Click Advanced.
6.
In the Advanced TCP/IP settings dialog box, click the DNS tab.
7.
Click Append these DNS suffixes (in order) and then click the Add button.
8.
9.
Click OK until you are returned to the Local Area Connection Properties page.
10. Click Internet Protocol Version 4 (TCP/IPv4) and then click Properties.
11. Repeat steps 5 8 of this procedure to append a DNS suffix for IPv4.
12. When you are finished, click OK.
A member of the CORP network that has local administrator rights on the server must install
SharePoint. If you did not install SharePoint on the server, then you must also verify the following
points.
2.
3.
Verify that you can open SharePoint Central Administration on the Enterprise Portal server.
4.
Verify that you have the appropriate permissions to create sites by using SharePoint Central
Administration to create a SharePoint team site.
5.
Verify that you can browse the team site without prompts and resolve the URL without proxy errors or
other problems.
6.
If you intend to deploy or configure Enterprise Portal at a command prompt, verify that you can start
the SharePoint Management Shell.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
145
Microsoft Dynamics AX
3.
If the Setup Support files have not yet been installed on the computer, the Select a file location page
is displayed. The Setup Support files are required for installation. Enter a file location or accept the
default location, and then click Next. On the Ready to install page, click Install.
4.
If youre installing AX 2012 R3, in the Select an installation option page, click Microsoft Dynamics
AX.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Enterprise Portal (EP), and then click Next.
7.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
8.
On the Select a file location page, select the location where you want to install 32-bit versions of
Microsoft Dynamics AX files, and then click Next.
9.
On the Specify a location for configuration settings page, specify whether you want Enterprise
Portal to access configuration information from the registry on the local computer or from a shared
configuration file. If you select to use a shared configuration file, you must enter the network location
of the file. Click Next.
10. On the Connect to an AOS instance page, enter the fully qualified domain name (FQDN) of the
computer that is running the Application Object Server (AOS) instance that you want to connect to.
You can optionally specify the TCP/IP port number and the WSDL port for services. Click Next.
Note:
If you entered AOS connection information for other Microsoft Dynamics AX components
that are installed on this computer, this screen is not displayed. Subsequent installations on
this computer reuse the existing AOS connection. For all Microsoft Dynamics AX installations
that use a traditional perimeter network, you must specify the FQDN for the AOS when you
are prompted.
11. On the Specify Business Connector proxy account information page, if the .NET Business
Connector (BC) proxy account has not been configured in Microsoft Dynamics AX, then you must
specify a username and password. The proxy must be a domain account from the CORP domain. If the
BC proxy was previously configured, then you must enter the password. Click Next.
12. On the Configure a Web site for Enterprise Portal page, select a web site. If no web sites are
available in the list, you must cancel Setup, create a web site by using SharePoint Central
Administration, and then try the installation again.
We recommend that you select the Configure for Windows SharePoint Services option. If you
select this option, Setup verifies that the site is a SharePoint site. If the site is not a SharePoint site,
Setup extends the site in SharePoint. Setup also sets the application pool to run under the service
account and sets the authentication method to Windows NTLM.
Important:
Note the following important information about the Create Web site option:
Clear this option if you are installing Enterprise Portal for a public site, such as an unsolicited
vendor portal. For public sites, you must create the Enterprise Portal site by using the public
site template. For more information, see Create a public Enterprise Portal site
(http://technet.microsoft.com/library/5fe392a4-5683-469e-bcfe-ecfaa6e24883(AX.60).aspx).
146
Microsoft Dynamics AX
If you are installing Enterprise Portal for a stand-alone installation select the Create Web site
option to create a site at the following URL: http://ServerName/sites/DynamicsAX. Setup
creates a new site in the SharPoint web application that uses port 80.
Click Next.
13. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next.
14. On the Ready to install page, click Install.
15. After the installation is complete, click Finish to close the wizard.
Open the Enterprise Portal site in a Web browser. By default, the URL is
http://server_name/sites/DynamicsAX.
2.
3.
4.
In the Users/Groups text box, enter the name of each user or group, and then click Check Names.
5.
Under Grant permissions, click the permission level that you want to set. At a minimum, users and
groups must have Read permissions.
6.
If you do not want users to be able to personalize their Role Center pages or modify the shared
view of a Web part, assign Read permissions.
If you want users to be able to personalize their Role Center pages and modify the shared view of
a Web part, assign Contribute permissions.
If you want users to be able to personalize their Role Center pages, but you do not want them to
be able to modify the shared view of a Web part, assign Read permissions, and then configure the
set of Read permissions in SharePoint. From the Enterprise Portal site, click Site Actions > Site
Permissions > Permission Levels. Click the Read permission link. Under Personal Permissions,
select the options that you want.
If you want users to be able to filter reports using a custom parameter value, assign Design
permissions.
If you want users to be able to add and modify financial indicators and key performance
indicators (KPIs), assign Design permissions.
Click OK.
Internal users can now view Enterprise Portal in a Web browser. If you granted users access to an
Enterprise Portal with Role Centers, then those users can now view content in their Role Centers. Page
access and the content that is displayed in Enterprise Portal and Role Centers are automatically trimmed
according to both the user's security role in Microsoft Dynamics AX and the permissions that you
specified in SharePoint.
147
Microsoft Dynamics AX
Note:
If users are prompted to enter their credentials when they view the Enterprise Portal site, they can
automate authentication by adding the site to the list of local intranet sites. In Internet Explorer,
click Tools > Internet Options > Security > Local intranet > Sites.
See Also
Deploy an Enterprise Portal site that uses forms-based authentication
Checklists for deploying Enterprise Portal sites
Deploy SharePoint language packs on the Enterprise Portal server. Note the SharePoint Language IDs
for each language pack you deploy.
Verify that the SharePoint Timer service is running. Enterprise Portal Help is installed as a job by the
SharePoint Timer service.
Locate the MS.EP.HC-LanguageCode.cab files on the Installation DVD. By default, the files are located
in the \Support\EPHelp directory.
2.
Copy each of the .cab files into its corresponding language ID directory on the Web server at the
following location. This path applies to SharePoint 2010 servers. For SharePoint 2013 servers, replace
14 with 15:
Drive:\Program Files\Common Files\Microsoft Shared\Web Server
Extensions\14\HCCab\LanguageCode\
For example, download the Arabic version of the MS.EP.HC-1025.cab file to this directory: C:\Program
Files\Common Files\Microsoft Shared\Web Server Extensions\14\HCCab\1025\ on a SharePoint 2010
server.
3.
Open the SharePoint Management Shell on the Enterprise Portal Web server. Click Start, click All
Programs, click SharePoint Products, and then click SharePoint Management Shell.
4.
In the management shell, run the following command. Remember to change the 14 to 15 for
SharePoint 2013 servers:
Install-SPHelpCollection -LiteralPath "Drive:\Program Files\Common Files\Microsoft Shared\Web
Server Extensions\14\HCCab\<language_code>\MS.EP.HC-LanguageCode.cab"
For example, to install Enterprise Portal Help for Spanish on a SharePoint 2013 server, run the
following command:
Install-SPHelpCollection -LiteralPath "Drive:\Program Files\Common Files\Microsoft Shared\Web
Server Extensions\15\HCCab\3082\MS.EP.HC-3082.cab"
148
Microsoft Dynamics AX
5.
Repeat the command for each language that you want to install. After SharePoint finishes the Timer
job, you can open Enterprise Portal Help by clicking the Help icon on any Enterprise Portal page.
If you install multiple portals on the same server, you create a single point of failure for all portals
if SharePoint or IIS are not available on the server.
Scheduled downtime for maintenance affects all portals on the server which might limit how often
you can perform maintenance.
If you plan to install portals for development, testing, and production on the same server (not
recommended) you could unintentionally deploy development changes to production which
could cause data-integrity problems.
Multiple portals consume more resources on the server than a single portal. Plan your topology
accordingly.
You can deploy multiple portals on the same server as long as the user controls are the same. This
means the controls must use the same AX model. Multiple portals on the same server are not
supported if the codebase is different.
Multiple portals on the same server that use the same AOS
By default, when you install Enterprise Portal, Setup creates an Enterprise Portal site on the SharePoint-80
Web application. You can create additional sites on the port 80 Web application by using SharePoint
Central Administration. All sites created in this manner use the same AOS. For more information about
how to create an Enterprise Portal site, see Create an Enterprise Portal site
(http://technet.microsoft.com/library/da9149f8-9bb8-4d95-b392-4c6954a60b5f(AX.60).aspx).
If you create additional web applications by using SharePoint Central Administration, you must deploy
Enterprise Portal on the new web applications by using Microsoft Dynamics AX Setup. You can then create
additional sites on the new web application by using SharePoint Central Administration. All sites created
in this manner use the same AOS.
149
Microsoft Dynamics AX
Use Microsoft Dynamics AX Setup to install Enterprise Portal on the server. By default, Setup creates
an Enterprise Portal intranet site on the SharePoint-80 Web application. For the purpose of this
procedure, this portal is called Portal1 and it is connected to AOS1. For more information about how
to install Enterprise Portal, see Install Enterprise Portal on a single server.
2.
Create a new web application on the Enterprise Portal server by using SharePoint Central
Administration. For more information about how to create a new web application, see the SharePoint
online Help.
3.
Install Enterprise Portal on the new web application by using Microsoft Dynamics AX Setup. By
default, a second portal is created on the port that is specified in SharePoint Central Administration.
For the purpose of this procedure, this portal is called Portal2. Copy the URL of Portal2. You will need
the URL later in this procedure when you register the portal. Portal2 is currently connected to AOS1.
4.
Specify the new Microsoft Dynamics AX client configuration file for Portal2 by editing the web.config
file. By default the web.config file is located in the following directory:
C:\inetpub\wwwroot\wss\VirtualDirectories\<port number>
5.
6.
7.
Verify that the Business Connector Proxy account for AOS2 is the same as AOS1. Click System
administration > Setup > System > System service accounts.
8.
Use the Microsoft Dynamics AX client to register Portal2 on AOS2. Click System administration >
Setup > Enterprise Portal > Web sites. Enter the URL in the Internal URL and External URL fields.
9.
In the Type field, click Full (Web parts and site templates). Portal2 is now connected to AOS2.
150
Microsoft Dynamics AX
Next steps
After you create the portals you must configure security, user access, and portal-wide settings. For more
information, see Checklists for deploying Enterprise Portal sites.
Click System administration > Setup > Enterprise Portal > Web sites.
2.
Click New to add the SharePoint site to the list of sites. In the Internal URL field, enter the address of
the SharePoint site.
3.
4.
5.
If this site can be viewed only by users in a specific partition or company, configure the Partition
independent and Company independent options.
6.
7.
Open the SharePoint v4.master style sheet from the following location. This path applies to Microsoft
SharePoint 2010 products. For Microsoft SharePoint 2013 Products, change 14 in the file path to 15:
C:\Program Files\Common Files\Microsoft Shared\Web Server
Extensions\14\TEMPLATE\GLOBAL\v4.master
151
Microsoft Dynamics AX
8.
Important:
To enable a Microsoft Dynamics AX unified work list Web part in a standard SharePoint site,
you also must add the following Java script elements to the v4.master style sheet:
<script type="text/javascript" src="/_layouts/ep/scripts/jquery-min.js"> </script>
<script type="text/javascript"> var $jQ = jQuery.noConflict();</script>
9.
10. On the SharePoint site, create a new Web part page or edit an existing page, and then click Add a
Web part.
11. Beneath the Categories list, click Upload a Web part.
12. Browse to the following location, and then click the Web part to add. For SharePoint 2013, change 14
in the file path to 15:
C:\Program Files\Common Files\Microsoft Shared\Web Server
Extensions\14\TEMPLATE\FEATURES\DynamicsAxWebParts\WebParts
13. Click Upload. The site automatically updates the list. Click Add a Web part again, and then locate the
Imported Web parts folder in the Categories list.
14. In the Web Parts list, click the Web part to add, and then click Add.
152
Microsoft Dynamics AX
Install Search
This section contains information about installing Microsoft Dynamics AX 2012 Enterprise Search. Use the
following topics to help you install Search.
More information
(http://technet.microsoft.com/library/fbe52b68-1294-
4398-b233-f8ec37c6d531(AX.60).aspx)
search data.
Configure logging to conserve disk space.
tables) are crawled and indexed for Search. Or, if Search (http://technet.microsoft.com/library/1d4707eb-72d0is already configured on a different AOS, you can
4d91-8432-eb5e5a4bbfb9(AX.60).aspx)
or
Import Search configurations to an AOS
(http://technet.microsoft.com/library/e44a9235-9a03446b-9bee-494abf6631ff(AX.60).aspx)
Install Search
or
153
Microsoft Dynamics AX
Task
More information
Configuration wizard
in Search results.
Details
154
Microsoft Dynamics AX
Service
Details
The SharePoint Server Search service crawls and indexes content for a
SharePoint system. This service also provides a user interface for running
queries against the catalog of crawled content. SharePoint Search is
installed with Microsoft SharePoint Server and all Microsoft Search Server
products.
Verify that the SharePoint Server Search service is available in the
Services Control Panel. Click Start > Administrative Tools, and then
click Services. If the service is not listed, install a supported version of
Microsoft SharePoint Server or Microsoft Search Server. If the service
exists, but is disabled then you must setup and configured the Search
service in SharePoint Central Administration. Verify that the BDC service
application is deployed by using the Manage Service Applications page
in SharePoint Central Administration. Click Start > All Programs >
Microsoft SharePoint Products, and then click SharePoint Central
Administration.
SharePoint uses the BDC service to display business data from back-end
server applications, web services, and databases. Verify that the BDC
service application is deployed by using the Manage Service
Applications page in SharePoint Central Administration. Click Start > All
Programs > Microsoft SharePoint Products, and then click SharePoint
Central Administration. For more information about the BDC service,
see the SharePoint documentation.
Click Start > All Programs > Microsoft SharePoint Products, and then click SharePoint Central
Administration.
2.
3.
Verify that the SharePoint Server Search service is running. Also verify that the SharePoint
Foundation Search service is stopped. SharePoint Foundation Search is not required for Enterprise
Search.
Warning:
If SharePoint Server Search does not appear in the list, you might be using SharePoint
Foundation, which requires additional configuration. See the section titled SharePoint Search
or SharePoint Server Search 14 service does not pass the prerequisite check in Troubleshoot
installation issues with Enterprise Search (http://technet.microsoft.com/library/7d38c40f3ae5-4a10-b159-9519c6ed9150(AX.60).aspx).
4.
5.
Click the Business Data Connectivity Service link and verify that the page loads without errors.
155
Microsoft Dynamics AX
6.
On the Manage Service Applications page, click the Search Service Application link and verify that
the page loads without errors.
7.
On the Search Administration page, click the Content Sources link and verify that the page loads
without errors.
If all pages loaded without errors, you can install Microsoft Dynamics AX Enterprise Search in the
environment. For more information, see Install Microsoft Dynamics AX Enterprise Search.
Add the domain account as a user in Microsoft Dynamics AX. For more information, see Create new
users in Microsoft Dynamics AX (http://technet.microsoft.com/library/4b742341-9d6e-4629-bbe5620086b7fee8(AX.60).aspx).
2.
Assign the user to the Search crawler role in Microsoft Dynamics AX. For more information, see Assign
users to security roles (http://technet.microsoft.com/library/214ee45b-5b99-4ea8-9454f4297f68e38c(AX.60).aspx).
3.
Repeat this procedure for each data partition. If you do not add the Search crawler account to a data
partition, users will not see search results for that partition. For more information about data
partitions, see Data partitioning architecture (http://technet.microsoft.com/library/27ba6c51-7ea74403-867a-46ccc1ee053a(AX.60).aspx).
Configure logging
Use the following procedure to specify limits for diagnostic logging.
1.
2.
3.
4.
5.
In the Maximum storage space for Trace Logs (GB) field, enter a number.
6.
Click OK.
7.
8.
9.
Click OK.
156
Microsoft Dynamics AX
See Also
SharePoint documentation: Configure diagnostic logging
(http://go.microsoft.com/fwlink/?LinkId=194152)
Read about Microsoft Dynamics AX Enterprise Search architecture and security before you deploy
Search. For more information, see Enterprise Search architecture
(http://technet.microsoft.com/library/1bc490b8-fa42-4910-b3b7-6728e05d1dc0(AX.60).aspx) and
Enterprise Search security and protection (http://technet.microsoft.com/library/53d56eec-e274-4ac1b89f-35ef10326145(AX.60).aspx).
Install the Microsoft Dynamics AX client, database, and Application Object Server (AOS) in the
environment before you install Enterprise Search, and then complete the initialization checklist. If you
attempt to install Enterprise Search before you complete these other tasks, the installation fails. For
more information, see Install Microsoft Dynamics AX 2012
(http://technet.microsoft.com/library/fbe52b68-1294-4398-b233-f8ec37c6d531(AX.60).aspx).
Create a domain account for Enterprise Search. This account must be configured as a Microsoft
Dynamics AX user. The user account must be assigned to the Search crawler role before you install
search. For more information, see Configure the Search Crawler account.
Verify that the SharePoint Web application used for Microsoft Dynamics AX Enterprise Search is
configured for NTLM authentication. Also verify that the Web application is not configured for
anonymous authentication.
On the computer where you will install Enterprise Search, run the prerequisite validation utility to
verify that system requirements have been met. For information about how to run the prerequisite
validation utility, see Check prerequisites.
For more information about the hardware and software requirements for Microsoft Dynamics AX, see
the system requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
If you are setting up Enterprise Search in a SharePoint server farm, verify that the Business Data
Connectivity service (BDC) is only running on the Enterprise Search server. You must stop this service
an all Web front-end servers in the farm. If you do not stop the service on all Web front-end servers,
Enterprise Search fails to install.
If you are installing Enterprise Search on Microsoft Search Server 2010 Express, you must install the
SharePoint Server 2010 hotfix package dated August 31, 2010. If you do not install the hotfix, you
receive the following error message when you install Enterprise Search: The trial period for this
product has expired. For more information and to download the hotfix package, see Microsoft
Knowledge Base article number 2276336 (http://support.microsoft.com/kb/2276336).
Search is not supported in an environment with multiple AOS servers on the same server, unless all
AOS servers point to the same database. Limitations in the Search server configuration
157
Microsoft Dynamics AX
(mssdmn.exe.config) and the Microsoft Dynamics AX client configuration prevent support for a
topology with multiple AOS servers on the same server.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on the computer, the Select a file location page
is displayed. The Setup Support files are required for installation. Enter a file location or accept the
default location, and then click Next. On the Ready to install page, click Install.
4.
If youre installing AX 2012 R3, in the Select an installation option page, click Microsoft Dynamics
AX.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Enterprise Search, and then click Next.
7.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
8.
On the Select a file location page, select the location where you want to install 32-bit versions of
Microsoft Dynamics AX files, and then click Next.
9.
On the Specify a location for configuration settings page, specify whether you want Enterprise
Search to access configuration information from the registry on the local computer or from a shared
configuration file. If you select to use a shared configuration file, you must enter the network location
of the file. Click Next.
10. On the Connect to an AOS instance page, enter the name of the computer that is running the
Application Object Server (AOS) instance that you want to connect to. You can optionally specify the
name of the AOS instance, the TCP/IP port number, and the WSDL port for services. Click Next.
Note:
If you entered AOS connection information for other Microsoft Dynamics AX components
that are installed on this computer, this screen is not displayed. Subsequent installations on
this computer reuse the existing AOS connection.
11. On the Specify Business Connector proxy account information page, enter the password for the
proxy account that is used by the .NET Business Connector. Click Next.
12. On the Specify the search crawler account page, enter the account information, and then click
Next.
13. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next.
14. On the Ready to install page, click Install.
15. After the installation is complete, click Finish to close the wizard.
158
Microsoft Dynamics AX
Post-install configuration
If you installed Enterprise Search on a computer separate from the AOS, you must specify the Search
server url in the Enterprise Portal parameters form. If you do not specify the URL, Search does not
retrieve data.
1.
Click System administration > Setup > Enterprise Portal > Enterprise Portal parameters.
2.
Click Search.
3.
In the Search server url field, enter the URL to the SharePoint Search service where you just installed
Search. Replace server_name with the name of the server where you installed Search: http://
server_name/sites/DynamicsAXClientSearch/_vti_bin/search.asmx
4.
Post-install validation
Data, metadata, and documents can only be crawled and indexed for search if the database table is
included in a Microsoft Dynamics AX AOT query. After the table is specified in a query, the query must be
configured for Search. You configure a query for Search by setting the Searchable property to True in the
AOT. By default, only the following queries are configured for Search. These queries are automatically
published and indexed after you install Enterprise Search:
BdcDocuRef
CustTableListPage
EcoResProductPerCompanySearch
HcmWorkerListPage
SecurityRoleAllTasks
smmBusinessRelations_NoFilter
VendorEnterpriseSearch
Use SharePoint Central Administration to verify that the crawl for these queries has finished running.
1.
In SharePoint Central Administration, click Manage service applications > Search Service
Application.
2.
Under Content Source, verify that Microsoft Dynamics AX and Microsoft Dynamics AX Metadata
show a crawl end time and no errors.
159
Microsoft Dynamics AX
3.
After the crawl complete, open an Microsoft Dynamics AX client and verify that the Search box
appears in the upper-right corner. Also search on a term such as Sales and verify that the system
returns results that are shown in both the middle pane (the data, metadata, and documents pane) and
the Help Topics pane.
For information about how to make data, metadata, and documents available in Search, see Add AOT
queries to the Search configuration (http://technet.microsoft.com/library/1d4707eb-72d0-4d91-8432eb5e5a4bbfb9(AX.60).aspx). After you have specified which queries should be available in Search, you
must publish the queries to SharePoint. For more information, see Configure Enterprise Search by using
the Search Configuration wizard.
Open the Search Settings page. By default, the URL is: http://<
server_name>/_layouts/enhancedSearch.aspx
2.
Under Site Collection Search Center, click Do not use custom scopes.
3.
Under Site Collection Search Dropdown Mode, click Do not show scopes dropdown, and default
to contextual scope.
4.
Under Site Collection Search Results Page, click /_layouts/OSSSearchResults.aspx, and then click
OK.
See Also
Checklist: Deploy Microsoft Dynamics AX Enterprise Search
Prerequisites
The following list includes links to documents that describe how to configure the prerequisites for
Microsoft Dynamics AX Enterprise Search. The list also includes links to documents that describe how to
install and configure FAST Search Server 2010 for SharePoint. You must complete all of the tasks in order
before you install Microsoft Dynamics AX Enterprise Search on FAST Search Server 2010. If you do not
complete every task, Enterprise Search on FAST Search Server 2010 is not installed correctly.
1.
2.
3.
4.
160
Microsoft Dynamics AX
5.
Configure a stand-alone deployment or a multiple server deployment (FAST Search Server 2010 for
SharePoint) (http://go.microsoft.com/fwlink/?LinkId=241975)
6.
Create and set up the Content Search Service Application (FAST Search Server 2010 for SharePoint)
(http://go.microsoft.com/fwlink/?LinkId=241976)
7.
Create and set up the Query Search Service Application (FAST Search Server 2010 for SharePoint)
(http://go.microsoft.com/fwlink/?LinkId=241977)
8.
Enable queries from Microsoft SharePoint Server (FAST Search Server 2010 for SharePoint)
(http://go.microsoft.com/fwlink/?LinkId=241978)
9.
Configure the Business Connector proxy account for membership in the db_owner
role
The Business Connector proxy account must be a member of the db_owner role for each FAST Search
database. Use Microsoft SQL Server Management Studio to verify that the Business Connector proxy
account is listed as a user for each database, and that the user account is a member of the db_owner role.
2.
Select the search service application for the FAST Search connector.
3.
4.
Under Farm-Level Search Settings, change the default value of Time-out (seconds), 60,60, to larger
numbers, such as 120,120.
5.
161
Microsoft Dynamics AX
On the FAST Search Server, create a new *.ps1 file. Copy and paste the following code into the *.ps1
file.
function MapManagedPropertyToCrawledProperty()
{
Param
(
[string]$managedProperty = $null,
[string]$crawledProperty = $null,
[int32]$managedPropertyType = 1
)
function MapManagedPropertyToCrawledProperties()
{
Param
(
[string]$managedProperty = $null,
162
Microsoft Dynamics AX
[string]$crawledProperties = $null,
[int32]$managedPropertyType = 2
)
$crawledProperties.split(",") | ForEach-Object
{
$crawledProperty = $_;
$EntityCrawledProperty = Get-FASTSearchMetadataCrawledProperty -Name $crawledProperty
$PropertyMapping = New-FASTSearchMetadataCrawledPropertyMapping -CrawledProperty
$EntityCrawledProperty -ManagedProperty $EntityManagedProperty
}
163
Microsoft Dynamics AX
2.
Run the *.ps1 file from the FAST Search Server 2010 PowerShell command window. Figure 1 shows the
results of the command.
Figure 1: Output of the FAST Search Server 2010 PowerShell command for managed properties
164
Microsoft Dynamics AX
The following list describes the actions of the script and the corresponding results in the output:
a.
The crawled property Entity was mapped to the managed property EntityName. The managed
property is of type 1. Full-text index mapping was added to the property.
b. MapManagedPropertyToCrawledProperty -managedProperty EntityPath -crawledProperty
EntityKey.Path -managedPropertyType 1
The crawled property EntityPath was mapped to the managed property EntityKey.Path. The
managed property is of type 1. Full-text index mapping was added to the property.
c.
The crawled property EntityHelpText was mapped to the managed property EntityKey.HelpText.
The managed property is of type 1. Full-text index mapping was added to the property.
d. MapManagedPropertyToCrawledProperty -managedProperty EntityType -crawledProperty
EntityKey.Type -managedPropertyType 2
The crawled property EntityType was mapped to the managed property EntityKey.Type.
e.
After the managed properties are created, use SharePoint Central Administration to start a full crawl
of the Microsoft Dynamics AX and Microsoft Dynamics AX metadata content sources.
Deploy Enterprise Search. For more information, see Install Microsoft Dynamics AX Enterprise Search.
2.
In the Queries node of the Application Object Tree (AOT), designate the queries that are available in
search results by setting the Searchable property to True. For more information, see Add AOT queries
to the Search configuration (http://technet.microsoft.com/library/1d4707eb-72d0-4d91-8432eb5e5a4bbfb9(AX.60).aspx)
165
Microsoft Dynamics AX
table fields you want to publish to the BCS. After you complete the wizard, the queries are published to
the BCS, so that SharePoint can crawl the selected tables in the Microsoft Dynamics AX database. After the
crawl is completed, users can view search results either in the Microsoft Dynamics AX 32-bit client or in
Enterprise Portal.
Note:
You can run the Search Configuration Wizard on a server where Enterprise Search is installed from
the Microsoft Dynamics AX client or by double-clicking AXSearchSetup.exe in the following
directory: %systemdrive%\Program Files\Microsoft Dynamics AX\60\SetupSupport.
1.
Click System administration > Setup > Search > Search configuration.
2.
Complete the wizard. Microsoft Dynamics AX informs you that the queries were successfully published
to the BCS.
If one or more queries were not published to the BCS, an error message is displayed. Review the log file at
the following location: %systemdrive%\ProgramData\Microsoft\Dynamics AX\Dynamics AX Setup Logs\.
After the queries are published to the BCS, you can view the list of queries and the status of the database
crawl in SharePoint Central Administration.
1.
2.
Under Application Management, click Manage service applications, and then click Search Service
Application.
3.
4.
To view the details, click either the content source for Microsoft Dynamics AX or the content source
for Microsoft Dynamics AX metadata.
Important:
By default, SharePoint schedules incremental crawls of the Microsoft Dynamics AX database. The
incremental crawl only updates records if a parent table is modified. To ensure that the crawler
updates records from joined tables, you should periodically perform a full crawl of the database.
166
Microsoft Dynamics AX
Install prerequisites
On the computer where you will install the Help server, run the prerequisite validation utility to verify that
system requirements have been met. For information about how to run the prerequisite validation utility,
see Check prerequisites.
For more information about the hardware and software requirements for Microsoft Dynamics AX, see the
Microsoft Dynamics AX 2012 System Requirements (http://go.microsoft.com/fwlink/?LinkId=165377)
guide.
167
Microsoft Dynamics AX
If you install the Help server on the default web site in IIS, and you later install Microsoft SharePoint
Foundation or Microsoft SharePoint Server on the server, the SharePoint installation program stops the
default web site and creates a new site for SharePoint. This new site runs on port 80. You must then open
Internet Information Services (IIS) Manager and follow these steps:
1.
2.
2.
Browse to the directory where the files from the Microsoft Dynamics AX DVD are shared. For more
information, see Create a shared directory for installation.
3.
4.
Copy the new or updated help .msi files to the appropriate language folder.
5.
When you run Setup and select the Help Server component, the new content will be displayed as an
option. Select the content sets that you want to install. Any content that was previously installed will
be replaced. If you clear the check box for a content set that was previously installed, it will be
removed.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on the computer, the Select a file location page
is displayed. The Setup Support files are required for installation. Provide a file location or accept the
default location, and then click Next. On the Ready to install page, click Install.
4.
If youre installing AX 2012 R3, in the Select an installation option page, click Microsoft Dynamics
AX.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Help Server, and then click Next.
168
Microsoft Dynamics AX
7.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites.
Note:
Validation errors can be resolved through the Prerequisite validation results page only if
you are installing the Help server on a supported server operating system. If you are installing
on an unsupported client operating system for demonstration or development purposes, you
must supply missing prerequisites manually.
When no errors remain, click Next.
8.
On the Specify a location for configuration settings page, specify whether you want the help server
to access configuration information from the registry on the local computer or from a shared
configuration file. If you select to use a shared configuration file, you must enter the network location
of the file. Click Next.
9.
On the Connect to an AOS instance page, enter the name of the computer that is running the
Application Object Server (AOS) instance that you want to connect to. You can optionally specify the
name of the AOS instance, the TCP/IP port number, and the WSDL port for services. Click Next.
Note:
If you entered AOS connection information for other Microsoft Dynamics AX components
that are installed on this computer, this screen is not displayed. Subsequent installations on
this computer reuse the existing AOS connection.
10. The Help Server must be installed on a 64-bit operating system. When you install Microsoft Dynamics
AX components on a 64-bit system, the Select a file location page is displayed. Use this page to
select the location where 32-bit versions of Microsoft Dynamics AX files should be installed, and then
click Next.
11. On the Select a display language page, select a language and click Next.
12. On the Specify a location for configuration settings page, indicate whether client and server
configuration settings should be stored locally or in a shared configuration file on the network. If you
select the shared configuration, enter the network location of the file. Click Next.
13. On the Connect to AOS instance page, provide the name of the AOS server that the Help server will
be using. You can optionally specify the AOS instance name, the AOS TCP/IP port number, and the
services WSDL port. Click Next.
14. On the Configure a Web site for Help Server page, select the web site that you have chosen to host
the Help server. Verify that the location of the physical directory for the web site is displayed. Click
Next.
15. On the Specify the Help Server account page, enter a domain user account and password. This
account must be the same as the .NET Business Connector proxy account for the AOS, and it must be
a user in Microsoft Dynamics AX. This should be a service account that does not expire. Click Next.
16. On the Language and content selection page, select the Help languages and content types to
install. EN-US must be installed, and is checked by default. Click Next.
Tip:
To add additional languages or content later, obtain the necessary MSI files and run Setup
again.
169
Microsoft Dynamics AX
17. On the Prerequisite Validation page, resolve any errors. When no errors remain, click Next.
18. On the Ready to install page, click Install.
19. After the installation is complete, click Finish to close the wizard.
After the Microsoft Dynamics AX Help files are installed, they must be indexed by Windows Search Service
before you can view them. Depending on system load and the number of files, it may take up to an hour
for indexing to finish.
On the Help server computer, create a content folder that is not located under the default directory
for the Help server, C:\inetpub\wwwroot\DynamicsAX6HelpServer. In this example, the new folder is
D:\content.
2.
3.
Give the domain account for the Microsoft Dynamics AX administrative user Read & execute, List
folder contents, Read, and Write permissions to the new folder. Additionally, give the local IIS user
group, IIS_IUSRS, Read & execute, List folder contents, and Read permissions to the folder.
4.
Click Start > Control Panel > Indexing Options > Modify, and add the new folder as an indexed
location.
5.
Click Start > Administrative Tools > Internet Information Services (IIS) Manager to open IIS
Manager.
6.
7.
8.
In the Add Virtual Directory window, in the Alias field, type Content. The directory tree that the
Help server accesses when it retrieves content is restored, in virtual form.
9.
In the Physical path field, type the path of the new folder, D:\content. Alternatively, you can navigate
to the folder. Then click OK, and close IIS Manager.
10. Under C:\inetpub\wwwroot\DynamicsAX6HelpServer, locate the web.config file, and configure this file
for the new content location. Open web.config in a text editor, and locate the basePath attribute.
After the basePath attribute, add a new contentPath attribute that has the same format, and that
contains the new content folder. In this example, the XML element begins as follows.
<dynamicsHelpConfig basePath="C:\inetpub\wwwroot\DynamicsAX6HelpServer" contentPath="D:\content"....
170
Microsoft Dynamics AX
11. To trigger indexing of the new folder, click Start > Administrative Tools > Services, and then restart
the Windows Search Service. The Help system should work correctly after indexing is completed.
171
Microsoft Dynamics AX
More information
1.
2.
Install prerequisites.
3.
172
Microsoft Dynamics AX
Task
More information
2.
2.
3.
Verify that you have the required permissions to install the Reporting Services
extensions
To install the Reporting Services extensions, you must have the required permissions. For more
information, see Verify that you have the required permissions for installation.
The account used to run the Microsoft Dynamics AX Application Object Server (AOS)
173
Microsoft Dynamics AX
Assign the accounts listed above to the following Active Directory groups on the domain server:
Install prerequisites
On the computer where Reporting Services is installed, or where you plan to install Reporting Services,
run the prerequisite validation utility to verify that system requirements have been met. For information
about how to run the prerequisite validation utility, see Check prerequisites.
For more information about the hardware and software requirements for Microsoft Dynamics AX, see the
system requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
Click Start > All Programs > Microsoft SQL Server > Configuration Tools > Reporting Services
Configuration Manager to open Reporting Services Configuration Manager.
2.
3.
Configure the options that are described in the following table. For detailed information about each
option, see the SQL Server documentation.
174
Microsoft Dynamics AX
To do this
[ServerName]\[InstanceName]
Service Account
Database
E-mail Settings
This option is not required. For more information, see the SQL
Server documentation.
Execution Account
Take no action.
Note:
When you install the Reporting Services extensions, the
Business Connector proxy account is automatically
assigned as the execution account for the Reporting
Services instance.
Encryption Keys
This option is not required. For more information, see the SQL
Server documentation.
Scale-out Deployment
This option is not required. For more information, see the SQL
Server documentation.
175
Microsoft Dynamics AX
4.
Default URL
http://[SSRSServerName]:80/ReportServer
Report Manager
http://[SSRSServerName]:80/Reports
Configure Reporting Services by using the following topics in the SQL Server documentation:
176
Microsoft Dynamics AX
2.
Configure the Reporting Services integration in SharePoint Central Administration. For more
information, see How to: Configure Report Server Integration in SharePoint Central Administration
(http://technet.microsoft.com/en-us/library/bb326213(SQL.105).aspx) in the SQL Server
documentation.
3.
Verify that you can access the websites that are listed in the following table.
Website
Default URL
http://[SSRSServerName]:80/ReportServer
SharePoint site
The URL of the SharePoint site varies based on the URL that you
provided when you created the site collection. The URL of the
SharePoint site may be:
http://[SharePointServerName]:[PortNumber]
-orhttp://[SharePointServerName]:[PortNumber]/sites/[SiteName]
Configure Reporting Services by using the following topics in the SQL Server documentation:
2.
If you did not create a site collection when installing and configuring SharePoint, create one now by
following the instructions in Create a site collection in SharePoint (http://technet.microsoft.com/enus/library/cc263094.aspx).
177
Microsoft Dynamics AX
3.
Verify that you can access the websites that are listed in the following table.
Website
Default URL
The URL of the Reporting Services web service varies based on the URL that
you provided when you created the site collection. The URL of the Reporting
Services web service may be:
http://[SharePointServerName]:[PortNumber]/_vti_bin/ReportServer
-orhttp://[SharePointServerName]:[PortNumber]/sites/[SiteName]/_vti_bin/Repo
rtServer
SharePoint site
The URL of the SharePoint site varies based on the URL that you provided
when you created the site collection. The URL of the SharePoint site may be:
http://[SharePointServerName]:[PortNumber]
-orhttp://[SharePointServerName]:[PortNumber]/sites/[SiteName]
For more information about how to verify that the integration is configured correctly, see Verify a
Reporting Services Installation (http://technet.microsoft.com/en-us/library/ms143773.aspx) in the SQL
Server documentation.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
If youre installing AX 2012 R3, in the Select an installation option page, click Microsoft Dynamics
AX.
5.
On the Select installation type page, select Custom installation. Click Next.
6.
178
Microsoft Dynamics AX
b. A message is displayed that states that you must complete the code upgrade checklist if you are
upgrading. Click OK.
c.
Click Next.
7.
On the Prerequisite Validation page, resolve any errors. For more information about how to resolve
prerequisite errors, see Check prerequisites. When no errors remain, click Next.
8.
On the Select a file location page, select the location in which to install 32-bit versions of Microsoft
Dynamics AX files, and then click Next.
9.
On the Specify a location for configuration settings page, specify whether you want the Reporting
Services extensions to access configuration information from the registry on the local computer or
from a shared configuration file. If you select to use a shared configuration file, you must enter the
network location of the file. Click Next.
10. On the Connect to an AOS instance page, enter the name of the computer that is running the
Application Object Server (AOS) instance that you want to connect to. You can optionally specify the
name of the AOS instance, the TCP/IP port number, and the WSDL port for services. Click Next.
Note:
You can connect to an AOS instance that is part of an AOS cluster. However, do not connect
to an AOS instance that serves as the dedicated load balancer for a cluster. For more
information about how to integrate Reporting Services with an AOS scale-out deployment,
see Planning for reporting in Microsoft Dynamics AX
(http://technet.microsoft.com/library/05dd329c-ba8a-41e6-a2d5-1d534c34b10a(AX.60).aspx).
11. On the Specify Business Connector proxy account information page, enter the password for the
proxy account that is used by Business Connector. Click Next.
12. On the Specify a Reporting Services instance page, complete the action listed in the following table.
Field
Notes
Instance name
Services instance.
or later.
Deploy reports
Services.
integrated mode.
default reports.
179
Microsoft Dynamics AX
Click Next.
13. On the Prerequisite Validation page, resolve any errors. When no errors remain, click Next.
14. On the Ready to install page, click Install.
If you selected to deploy the reports in step 11, a Windows PowerShell window is displayed. This
window shows the progress of the deployment, which may take several minutes. Do not close this
window. When the reports are deployed, the window closes automatically.
15. Click Finish to close the Setup wizard.
If you selected to deploy the reports in step 11, you can close the Setup wizard before the reports
have finished being deployed. The deployment of the reports is not affected.
16. The Microsoft Dynamics AX 2012 Setup Summary Report is displayed. This report lists additional
procedures that you must complete to integrate Microsoft Dynamics AX and Reporting Services. For
more information about the procedures, see Complete the Reporting Services integration.
2.
If you are running Reporting Services in SharePoint integrated mode, complete the following procedures:
1.
2.
3.
180
Microsoft Dynamics AX
After you create the document library, add Reporting Services content types to the library. For more
information, see Add Report Server Content Types to a Library (Reporting Services in SharePoint
Integrated Mode) (http://technet.microsoft.com/en-us/library/bb326289(v=sql.110).aspx) in the SQL
Server documentation.
Specify the URL of the document library
After you have created the document library, complete the following procedure to specify the URL of the
document library in the Report servers form in Microsoft Dynamics AX.
1.
2.
Click System administration > Setup > Business intelligence > Reporting Services > Report
servers.
3.
In the Configuration ID field, enter a name that identifies the Reporting Services instance and the
Application Object Server (AOS) instance that you are connecting.
4.
In the Description field, enter a brief description to help you identify the Reporting Services instance
and the AOS instance that you are connecting.
5.
Select the Default configuration check box to make the Reporting Services and AOS instances that
are specified in this record the active connection.
6.
In the Server name field, enter the name of the server that is running Reporting Services.
b. In the Server instance name field, enter the name of the Reporting Services instance.
Note:
If you are using Reporting Services 2012, enter @Sharepoint.
c.
Leave the Report Manager URL field blank. This field becomes unavailable when you select the
SharePoint integrated mode check box in a later step.
d. In the Web service URL field, enter the URL of the Reporting Services web service.
e.
f.
In the Microsoft Dynamics AX report folder field, enter the URL of the document library that
you created to store reports.
For example, suppose that you have created a document library that is named Reports on a
SharePoint site that is named Contoso. In this example, the URL is as follows:
http://[SharePointServerName]/sites/Contoso/Reports
7.
On the Application Object Server information tab, select the name of the AOS instance.
181
Microsoft Dynamics AX
Verify that Windows PowerShell 2.0 is installed on the computer that you are using.
Verify that your Windows domain account is a member of the Administrators group on the server that
is running Reporting Services.
Note:
If your Windows domain account is assigned to a group that is a member of the
Administrators group, it may take some time to validate that you are a member of the
Administrators group. If you experience a delay when you deploy reports, consider adding
your Windows domain account directly to the Administrators group.
If Reporting Services is running in native mode, verify that you are assigned to the System
Administrator role on the Report Manager website.
If Reporting Services is running in SharePoint integrated mode, verify that you have been granted
Contribute permission to the document library where you plan to deploy the reports.
Note:
SharePoint integrated mode is supported if you are using Microsoft Dynamics AX 2012 R2 or
later.
Retrieve a list of the reports that are included with Microsoft Dynamics AX, and store the list in a local
variable by entering the following command:
$reports = Get-AXReport -ReportName *
182
Microsoft Dynamics AX
To modify the list so that only the Name and ChangedDate fields are displayed, enter the following
command:
$reports | Select-Object Name,ChangedDate
To filter the list so that only specific reports are listed, enter keywords or report names. For example,
to filter the list so that only reports that contain the word CustTrans are listed, enter the following
command:
$reports | Select-Object Name,ChangedDate | Where { $_.Name -like "CustTrans*" }
To deploy a specific report, enter the name of the report. For example, to deploy the CustTransList
report, enter the following command:
Publish-AXReport -ReportName CustTransList
To deploy two or more specific reports, enter the names of the reports. For example, to deploy the
CustTransList and CustTransOpenPerDate reports, enter the following command:
Publish-AXReport -ReportName CustTransList, CustTransOpenPerDate
Click Start > Administrative Tools > Services to open the Services management console.
2.
Right-click the SQL Server Reporting Services service and choose Restart.
If youre running Reporting Services 2012 in SharePoint integrated mode, restart the service by following
these steps:
1.
2.
3.
4.
183
Microsoft Dynamics AX
Refresh the AOD cache
Complete the following steps to refresh the application object directory (AOD) cache. This will clear
cached application object information for all items in the application object tree (AOT) of Microsoft
Dynamics AX.
1.
2.
3.
2.
Click File > Tools > Options. The Options form is displayed.
3.
4.
See Also
Administering Microsoft Dynamics AX by using Windows PowerShell
(http://technet.microsoft.com/library/96e9ae2f-447a-426e-b77f-95636ddb9f15(AX.60).aspx)
Windows PowerShell for Microsoft Dynamics AX (http://technet.microsoft.com/library/c9852f5b-0fee4b80-8317-62f014187549(AX.60).aspx)
Piping and the Pipeline in Windows PowerShell (http://go.microsoft.com/fwlink/?LinkID=187808)
Open the Report Manager website for the Reporting Services instance. By default, the URL is
http://[SSRSServerName]:80/Reports.
2.
184
Microsoft Dynamics AX
3.
4.
Click Security.
5.
6.
Enter the Active Directory user name or group to assign to the DynamicsAXBrowser role.
7.
8.
Click OK.
Open your browser and navigate to the SharePoint site that contains the document library that stores
the reports.
2.
3.
4.
In the Users/Groups field, enter the Active Directory names of the users or groups that you want to
view reports.
5.
In the Grant Permissions area, select the Grant users permission directly option.
6.
7.
Click OK.
See Also
Security settings for reports (http://technet.microsoft.com/library/fd45fcf5-f9c7-4f28-98c9be021a6cbfe2(AX.60).aspx)
185
Microsoft Dynamics AX
More information
1.
2.
3.
4.
Install prerequisites.
186
Microsoft Dynamics AX
Task
More information
1.
(http://technet.microsoft.com/library/7da728c6-9079-48fd-
2.
8dcb-1ce64759a412(AX.60).aspx)
been entered.
3.
4.
9d00-162767163465(AX.60).aspx)
Deploy the default cubes
(http://technet.microsoft.com/library/581f609e-588c-45cebc10-32a863ef4589(AX.60).aspx)
Update the OLAP data source
(http://technet.microsoft.com/library/d19dbb45-bf32-4f36-
Note:
b7d2-722c149df5ae(AX.60).aspx)
(http://technet.microsoft.com/library/0dc6d13d-abc7-411c-
(http://technet.microsoft.com/library/ee0aa94f-28f9-442782c6-51a18e0939be(AX.60).aspx)
Grant users access to cubes
(http://technet.microsoft.com/library/dd6bba5a-22d8-4bf09355-bee63b45818b(AX.60).aspx)
6.
7.
(http://technet.microsoft.com/library/4b5e2423-fefd-490f-
8.
8561-a09eccedcc78(AX.60).aspx)
9.
Verify that you have the required permissions to configure Analysis Services
To configure Analysis Services, you must have the required permissions. For more information, see Verify
that you have the required permissions for installation.
187
Microsoft Dynamics AX
Assign the Business Connector proxy account to the Analysis Services server
administrator role
The proxy account for Business Connector must be assigned to the server administrator role in Analysis
Services. To complete that task, follow these steps.
1.
Open Microsoft SQL Server Management Studio and connect to your Analysis Services instance.
2.
In the tree view, right-click the Analysis Services instance, and then click Properties. The Analysis
Services Properties window is displayed.
3.
4.
5.
Enter the Business Connector proxy account in the following format: [DomainName]\[UserName].
Click OK.
Install prerequisites
On the computer where Analysis Services is installed, or where you plan to install Analysis Services, run
the prerequisite validation utility to verify that system requirements have been met. For information about
how to run the prerequisite validation utility, see Check prerequisites.
For more information about the hardware and software requirements for Microsoft Dynamics AX, see the
system requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
If youre installing AX 2012 R3, in the Select an installation option page, click Microsoft Dynamics
AX.
5.
On the Select installation type page, select Custom installation. Click Next.
6.
b. A message is displayed that states that you must complete the code upgrade checklist if you are
upgrading. Click OK.
c.
We recommend that you select the Management utilities check box so that you can deploy
cubes by using Windows PowerShell commands.
188
Microsoft Dynamics AX
d. Click Next.
7.
On the Prerequisite Validation page, resolve any errors. For more information about how to resolve
prerequisite errors, see Check prerequisites. When no errors remain, click Next.
8.
On the Select a file location page, select the location in which to install 32-bit versions of Microsoft
Dynamics AX files, and then click Next.
9.
On the Specify a location for configuration settings page, specify whether you want the cubes to
access configuration information from the registry on the local computer or from a shared
configuration file. If you select to use a shared configuration file, you must enter the network location
of the file. Click Next.
10. On the Connect to an AOS instance page, enter the name of the computer that is running the
Application Object Server (AOS) instance that you want to connect to. You can optionally specify the
name of the AOS instance, the TCP/IP port number, and the WSDL port for services. Click Next.
Note:
If you entered AOS connection information for other Microsoft Dynamics AX components
that are installed on this computer, this page is not displayed. Subsequent installations on this
computer reuse the existing AOS connection.
11. On the Specify Business Connector proxy account information page, enter the password for the
proxy account that is used by Business Connector. Click Next.
12. On the Specify an Analysis Services instance page, select an instance of Analysis Services. Click
Next.
13. On the Connect to a SQL Server Database page, follow these steps:
a.
Select the computer that hosts your Microsoft Dynamics AX online transaction processing (OLTP)
database.
Click Next.
14. The domain account that the Analysis Services service runs as must have access to the Microsoft
Dynamics AX OLTP database in order to process the cubes. The Specify user accounts page lists the
accounts that currently have access to the OLTP database. If the account that the Analysis Services
service runs as is not listed, click Add user to add it.
Click Next.
15. On the Prerequisite Validation page, resolve any errors. When no errors remain, click Next.
16. On the Ready to install page, click Install.
17. Click Finish to close the Setup wizard.
18. The Microsoft Dynamics AX 2012 Setup Summary Report is displayed. This report lists additional
procedures that you must complete to integrate Microsoft Dynamics AX and Analysis Services. For
more information about the procedures, see Complete the Analysis Services integration
(http://technet.microsoft.com/library/30576955-72a6-4a8e-9e95-e3767d6addfd(AX.60).aspx).
189
Microsoft Dynamics AX
2.
3.
4.
5.
6.
7.
8.
9.
190
Microsoft Dynamics AX
Create the service account that will be used to run the Windows service for Management Reporter.
Additionally, create or select the account that will be used to integrate data between Microsoft
Dynamics AX and Management Reporter. For more information about the requirements for these
accounts, see Create service accounts.
On the computer where you plan to install this component, run the prerequisite validation utility to
verify that system requirements have been met. For information about how to run the prerequisite
validation utility, see Check prerequisites.
191
Microsoft Dynamics AX
For more information about the hardware and software requirements for Microsoft Dynamics AX, see
the system requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
If youre installing AX 2012 R3, in the Select an installation option page, click Microsoft Dynamics
AX.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Management Reporter, and then click Next.
7.
On the Connect Management Reporter to an AOS instance page, enter the name, TCP/IP port, and
services endpoint port of the instance of Microsoft Dynamics AX Application Object Server (AOS) to
use together with Management Reporter. By default, AOS uses port 2712 for TCP/IP communication
and port 8201 for the services endpoint.
Click Next.
8.
On the Connect Management Reporter to a database page, select the server name and database
where Microsoft Dynamics AX transaction data is located. Reporting will be enabled for the database
that you select. The Management Reporter database will also be created on the selected server.
Click Next.
9.
On the Select a service account page, enter the account to run the Management Reporter Windows
service, and then click Next.
10. On the Configure Management Reporter page, enter the following information:
The port number that the Management Reporter application server uses for communication. By
default, the application server uses port 4712.
Click Next.
11. On the Configure an integration user page, enter information about the user account that is used to
integrate data between Management Reporter and Microsoft Dynamics AX. If the user does not
already exist in Microsoft Dynamics AX, select Create new account. The user will be added, and the
Microsoft Dynamics AX user ID will be AxIntUsr. If the user already exists in Microsoft Dynamics AX,
select Use existing account, and enter a user ID. Click Next.
12. On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
13. On the Ready to install page, click Install.
192
Microsoft Dynamics AX
14. After the installation is completed, click Finish to close the wizard.
Note:
The Setup wizard installs Management Reporter in two phases. First, the Management
Reporter software is installed. Then, Management Reporter is configured to connect to
Microsoft Dynamics AX. If the Setup wizard reports a failure, we recommend that you run the
Management Reporter Configuration Console to complete the configuration.
193
Microsoft Dynamics AX
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
If youre installing AX 2012 R3, in the Select an installation option page, click Microsoft Dynamics
AX.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Management Reporter Report Designer, and then click
Next.
7.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
8.
9.
194
Microsoft Dynamics AX
Install a client
When you install a Microsoft Dynamics AX client, the following components are included:
The Microsoft Dynamics AX interface that connects to an instance of Application Object Server (AOS)
You can access the Microsoft Dynamics AX Configuration utility from the Administrative Tools menu. On
computers that run Windows 7, Administrative Tools is an item in Control Panel.
If you are installing many clients, we recommend that you install them from a file server and create a
shared configuration file. For more information, see Mass deployment of the Microsoft Dynamics AX
Windows client (http://technet.microsoft.com/library/6fda1199-2236-4952-9f1988ff3fdcc92a(AX.60).aspx).
Note:
If you are upgrading clients between AX 2012, AX 2012 Feature Pack, AX 2012 R2, and AX 2012
R3, you should review Scenario: Perform in-place upgrade to Microsoft Dynamics AX 2012 R2 or
AX 2012 R3 (http://technet.microsoft.com/library/eb8193f4-0318-427f-bcc92919f47afb8f(AX.60).aspx).
Read Client security and protection (http://technet.microsoft.com/library/60c8d10d-9c97-43c0-b99c9bda66c8376f(AX.60).aspx) to learn about deployment best practices that can help secure the
Microsoft Dynamics AX client.
195
Microsoft Dynamics AX
On the computer where you plan to install the client, run the prerequisite validation utility to verify
that system requirements have been met. For information about how to run the prerequisite
validation utility, see Check prerequisites.
For more information about the hardware and software requirements for Microsoft Dynamics AX, see
the system requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
Install a client
Use this procedure to install a Microsoft Dynamics AX client by using the Setup wizard. If you install other
Microsoft Dynamics AX components at the same time, the installation pages vary, depending on the
components that you are installing.
1.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
If youre installing AX 2012 R3, in the Select an installation option page, click Microsoft Dynamics
AX.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Client, and then click Next.
7.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
8.
If you are installing on a 64-bit operating system, the Select a file location page is displayed. Select
the location where you want to install 32-bit versions of Microsoft Dynamics AX files, and then click
Next.
9.
On the Select client preferences page, select the display language that is used in the client, and
specify whether you want Setup to create a desktop shortcut for the client. Additionally, select one of
the following installation types:
Business user The basic client is installed. This type of client installation is appropriate for most
users.
Developer The client, the developer workspace, and additional files that are required for
development tasks are installed.
Administrator The client and additional files that are required for administrative tasks are
installed. Administrative tasks include the deployment of artifacts and the creation of users.
Click Next.
10. On the Specify a location for configuration settings page, specify whether you want the client to
access configuration information from the registry on the local computer or from a shared
configuration file. If you want to use a shared configuration file, you must enter the network location
of the file.
If you use a shared configuration file, client configuration settings are not stored locally, and the
Microsoft Dynamics AX Configuration utility is not installed on the client computer.
196
Microsoft Dynamics AX
Note:
If you install the client at the same time as an AOS instance, this screen is not displayed, and
configuration settings are saved in the registry automatically.
For more information about how to use a shared configuration file, see Configure clients to use a
shared configuration.
Click Next.
11. On the Connect to an AOS instance page, enter the name of the computer that runs the AOS
instance that you want to connect to. You can optionally specify the name of the AOS instance, the
TCP/IP port number, and the WSDL port for services.
If you do not know the name of the AOS instance or the port information, contact the Microsoft
Dynamics AX administrator.
Note:
If you entered information about the AOS connection for other Microsoft Dynamics AX
components that are installed on this computer, this page is not displayed. Subsequent
installations on the same computer reuse the existing AOS connection.
Click Next.
12. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next.
13. On the Ready to install page, click Install.
14. After the installation is completed, click Finish to close the wizard.
Manager
Group Policy
197
Microsoft Dynamics AX
If you deploy the Microsoft Dynamics AX client by using one of these methods, we recommend that you
configure clients to access configuration information from a file that is stored on a network share. A
shared configuration file can reduce the time that you spend administering or troubleshooting clients.
On a file server or the server that hosts Application Object Server (AOS), create the directory that the
clients share. Configure the directory so that all users of the Microsoft Dynamics AX client have read
access.
2.
Use the Microsoft Dynamics AX 2012 Configuration utility to save a Microsoft Dynamics AX
configuration as a file. For more information, see Manage a client configuration
(http://technet.microsoft.com/library/813ed1c9-aec5-47f5-9c1f-94e934fda5d3(AX.60).aspx). If your
business or organization runs both 32-bit and 64-bit versions of Windows, you must save a separate
configuration file for each operating system. Open the Microsoft Dynamics AX 2012 Configuration
utility on each operating system, and save a configuration as a file. We recommend that you give each
configuration a name that identifies the version, such as 32bit.axc and 64bit.axc.
3.
Copy the configuration files to the share that you created in step 1.
Install a client
(http://technet.microsoft.com/library/813ed1c9-aec5-
198
Microsoft Dynamics AX
Method
See Also
Mass deployment of the Microsoft Dynamics AX Windows client
(http://technet.microsoft.com/library/6fda1199-2236-4952-9f19-88ff3fdcc92a(AX.60).aspx)
Client security and protection (http://technet.microsoft.com/library/60c8d10d-9c97-43c0-b99c9bda66c8376f(AX.60).aspx)
2.
You are an administrator on the local client computer where you will create a configuration by using
the Microsoft Dynamics AX 2012 Configuration utility. This requirement is only necessary if you use
the configuration file procedure later in this section.
3.
You have the partition key(s) from the System administration > Setup > Partitions form.
4.
All users who require access to a designated partition are listed on the Users form for that partition.
199
Microsoft Dynamics AX
Open the configuration utility. Click Start > Control Panel > Administrative Tools > Microsoft
Dynamics AX 2012 Configuration.
2.
3.
4.
In the Create configuration dialog box, in the Name box, type a name.
5.
You can copy settings from either the active configuration or the original configuration, which is the
default configuration. Select the configuration that you want to copy settings from, and then click OK.
6.
On the General tab, enter a partition key in the Partition field. Click OK to save your changes or save
your changes to a file for shared-configuration client deployments.
7.
Open the Microsoft Dynamics AX client and verify that you see the partition key in the title bar.
On a computer where the Microsoft Dynamics AX client is installed, click Start > All Programs, and
then right-click the Microsoft Dynamics AX 2012 shortcut.
2.
Click Properties.
3.
In the Target field, add the partition= key argument to the end of the path.
For example: "C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin\Ax32.exe" -partition=test
4.
Click OK, and then double-click the shortcut to verify that the client opens in the specified partition.
5.
200
Microsoft Dynamics AX
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
If youre installing AX 2012 R3, in the Select an installation option page, click Microsoft Dynamics
AX.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Office Add-ins. When you select Office Add-ins, Remote
Desktop Services integration is selected automatically. Click Next.
7.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
8.
If you are installing the Office Add-ins on a 64-bit operating system, the Select a file location page is
displayed. Select the location where you want 32-bit versions of Microsoft Dynamics AX files to be
installed, and then click Next.
9.
On the Specify a location for configuration settings page, specify whether you want the Office
Add-ins to access configuration information from the registry on the local computer or from a shared
201
Microsoft Dynamics AX
configuration file. If you want to use a shared configuration file, you must enter the network location
of the file.
If you use a shared configuration file, client configuration settings are not stored locally, and the
Microsoft Dynamics AX Configuration utility is not installed on the client computer.
For more information about how to use a shared configuration file, see Configure clients to use a
shared configuration.
Click Next.
10. On the Connect to an AOS instance page, enter the name of the computer that runs the Application
Object Server (AOS) instance that you want to connect to. You can optionally specify the name of the
AOS instance, the TCP/IP port number, and the WSDL port for services.
If you do not know the name of the AOS instance or the port information, contact the Microsoft
Dynamics AX administrator.
Note:
If you entered AOS connection information for other Microsoft Dynamics AX components
that are installed on this computer, this page is not displayed. Subsequent installations on the
same computer reuse the existing AOS connection.
Click Next.
11. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next.
12. On the Ready to install page, click Install.
13. After the installation is completed, click Finish to close the wizard.
14. The first time that you open Excel or Word on a computer where the Office Add-ins component was
installed, you are prompted to install the add-in. Click Install to continue with the installation.
See Also
Integrating Microsoft Dynamics AX with Microsoft Office (http://technet.microsoft.com/library/6f34c60c87cc-4f2a-a808-ca4e6b9b2804(AX.60).aspx)
202
Microsoft Dynamics AX
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Specify a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
If youre installing AX 2012 R3, in the Select an installation option page, click Microsoft Dynamics
AX.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Remote Desktop Services integration, and then click Next.
7.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
8.
9.
203
Microsoft Dynamics AX
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
If youre installing AX 2012 R3, in the Select an installation option page, click Microsoft Dynamics
AX.
5.
On the Select installation type page, click Custom installation, and then click Next.
204
Microsoft Dynamics AX
6.
On the Select components page, select Debugger, and then click Next.
7.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
8.
If you are installing on a 64-bit operating system, the Select a file location page is displayed. Select
the location where you want to install 32-bit versions of Microsoft Dynamics AX files, and then click
Next.
9.
On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next.
On the computer where you plan to install this component, run the prerequisite validation utility to
verify that system requirements have been met. For information about how to run the prerequisite
validation utility, see Check prerequisites.
For more information about the hardware and software requirements for Microsoft Dynamics AX, see
the system requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
If Visual Studio is running, we recommend that you close it before you install Visual Studio Tools.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
205
Microsoft Dynamics AX
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
If youre installing AX 2012 R3, in the Select an installation option page, click Microsoft Dynamics
AX.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Visual Studio Tools. When you select Visual Studio Tools,
the Management utilities component is selected automatically. Click Next.
7.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
8.
If you are installing on a 64-bit operating system, the Select a file location page is displayed. Select
the location where you want to install 32-bit versions of Microsoft Dynamics AX files, and then click
Next.
9.
On the Specify a location for configuration settings page, specify whether you want Visual Studio
Tools to access configuration information from the registry on the local computer or from a shared
configuration file. If you want to use a shared configuration file, you must enter the network location
of the file. Click Next.
10. On the Connect to an AOS instance page, enter the name of the computer that runs the instance of
Application Object Server (AOS) that you want to connect to. You can optionally specify the name of
the AOS instance, the TCP/IP port number, and the WSDL port for services. Click Next.
Note:
If you entered information about the AOS connection for other Microsoft Dynamics AX
components that are installed on this computer, this page is not displayed. Subsequent
installations on the same computer reuse the existing AOS connection.
11. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next.
12. On the Ready to install page, click Install.
13. After the installation is completed, click Finish to close the wizard.
See Also
Visual Studio Integration (http://msdn.microsoft.com/library/f7c6e32a-be2c-41ec-98ea4a1e7ff9b342(AX.60).aspx)
206
Microsoft Dynamics AX
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
If youre installing AX 2012 R3, in the Select an installation option page, click Microsoft Dynamics
AX.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Trace Parser. When you select Trace Parser, .NET Business
Connector is automatically selected. Click Next.
7.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
8.
If you are installing on a 64-bit operating system, the Select a file location page is displayed. Select
the location where you want to install 32-bit versions of Microsoft Dynamics AX files, and then click
Next.
9.
On the Select a display language page, select the language in which you want to run Microsoft
Dynamics AX for the first time.
Note:
.NET Business Connector is a kind of Microsoft Dynamics AX client. Therefore, if .NET Business
Connector is the first client that you install on a computer, Setup requires that you set the
display language.
10. On the Specify a location for configuration settings page, specify whether you want .NET Business
Connector to access configuration information from the registry on the local computer or from a
shared configuration file. If you want to use a shared configuration file, you must enter the network
location of the file. Click Next.
207
Microsoft Dynamics AX
11. On the Connect to an AOS instance page, enter the name of the computer that runs the instance of
Application Object Server (AOS) that you want to connect to. You can optionally specify the name of
the AOS instance, the TCP/IP port number, and the WSDL port for services. Click Next.
Note:
If you entered information about the AOS connection for other Microsoft Dynamics AX
components that are installed on this computer, this page is not displayed. Subsequent
installations on the same computer reuse the existing AOS connection.
12. On the Specify Business Connector proxy account information page, enter the password for the
proxy account that is used by .NET Business Connector. Click Next.
13. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next.
14. On the Ready to install page, click Install.
15. After the installation is completed, click Finish to close the wizard.
208
Microsoft Dynamics AX
On the computer where you will install the web services, run the prerequisite validation utility to verify
that system requirements have been met. For information about how to run the prerequisite
validation utility, see Check prerequisites.
For more information about the hardware and software requirements for Microsoft Dynamics AX, see
the system requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
Caution:
Do not install web services on IIS on a server that is a network domain controller.
Create a domain account that will be used as the Business Connector proxy account. For more
information, see Create service accounts.
Make sure that you have the required permissions to install the web services. For more information,
see Verify that you have the required permissions for installation.
209
Microsoft Dynamics AX
2.
When you ran the prerequisite validation utility in the preceding section, it configured the Web Server
role. However, the prerequisite validation utility does not install the ASP.NET role service. Use the
following steps to install the ASP.NET role service. For more information about role services, see
Available Role Services by Category (http://technet.microsoft.com/en-us/library/cc753473.aspx).
Start Server Manager. Expand the Server Manager (computer_name) node. Right-click Web
Server (IIS), and then click Add Role Services.
On the Select Role Services dialog, expand the Web Server (Installed) > Application
Development (Installed) node, and then select ASP.NET. Click Next and step through the
wizard pages. Restart the server.
Create a website that Setup will use to install the Microsoft Dynamics AX web services. You can create
a new website or use an existing one, such as Default Web Site on IIS. See the IIS documentation for
instructions about how to create a new website.
Tip:
For ease of administration, we recommend that you create a new website before installing
Microsoft Dynamics AX web services.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the setup support files have not yet been installed, the Select a file location page is displayed. The
setup support files are required for installation. Provide a file location or accept the default location
and then click Next. On the Ready to install page, click Install.
4.
If youre installing AX 2012 R3, in the Select an installation option page, click Microsoft Dynamics
AX.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Web services on IIS, and then click Next.
7.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
8.
If you are installing on a 64-bit operating system, the Select a file location page is displayed. Select
the location where 32-bit versions of Microsoft Dynamics AX files should be installed and then click
Next.
210
Microsoft Dynamics AX
9.
On the Connect to an AOS instance page, enter the name of the computer that is running the AOS
instance that you want to connect to. You can optionally specify the name of the AOS instance, the
TCP/IP port number, and the Web Services Description Language (WSDL) port for services. Click Next.
Note:
If you entered AOS connection information for other Microsoft Dynamics AX components
that are installed on this computer, this page is not displayed. Subsequent installations on this
computer reuse the existing AOS connection.
10. On the Specify Business Connector proxy account information page, enter the password for the
proxy account used by the .NET Business Connector. Click Next.
11. On the Configure IIS for Web services page, accept default values or provide information for the
website, application pool, and virtual directory. Setup will create a virtual directory and an application
pool for the Microsoft Dynamics AX web services under the selected website. The application pool will
run as the .NET Business Connector proxy user that you entered in the previous step.
Important:
You must restart IIS after Setup installs the web services. Select Restart IIS after installation
is complete to automatically restart IIS.
Click Next to continue.
12. On the Specify an AOS account page, provide the service accounts for the AOS instances that you
will use with web services on IIS. For more information about AOS accounts, see, Create service
accounts.
Click Next to continue.
13. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next.
14. On the Ready to install page, click Install.
15. After the installation is complete, click Finish to close the wizard.
Configure IIS
For IIS 7.0, use the following steps to configure the application pool that is associated with Microsoft
Dynamics AX web services. This step is required to set the correct version of the .NET Framework.
1.
In Server Manager, Expand the Server Manager > Roles > Web Server (IIS) node and then click
Internet Information Services (IIS) Manager.
2.
In the Connections pane, expand the node for your server name and then click Application Pools.
3.
In the Application Pools pane, right-click the application pool that is associated with the Microsoft
Dynamics AX web services and click Basic Settings.
4.
In the Edit Application Pool dialog box, select .NET Framework 4.0 or a later version, such as
V4.0.30319. Select Integrated from the Managed pipeline mode list. Notice that the Start
application pool immediately option is selected. Click OK to return to Server Manager.
5.
211
Microsoft Dynamics AX
Click System administration > Setup > Services and Application Integration Framework > Web
sites.
2.
On the Web sites form, verify that the website was created and has appropriate values for the Name,
Virtual directory share path, Description, and URL fields. The default name is computernameDefault Web Site-MicrosoftDynamicsAXAif60. The default URL is
http://computername:8101/MicrosoftDynamicsAXAif60. The default share path for the virtual directory
is \\computername\MicrosoftDynamicsAXAif60.
3.
For information about how to add or configure websites, see Add or configure websites
(http://technet.microsoft.com/library/5b1f0280-ee34-45b7-a688-298f00163715(AX.60).aspx).
Note:
When you install web services on IIS, a record for the new website is added to AifWebsites table.
If you uninstall web services on IIS, this record is not deleted from the table. This record may
cause a warning to be displayed if you reinstall web services on IIS. You can manually delete the
record from the AifWebsites table or simply ignore the warning.
See Also
Walkthrough: Exchanging documents by using the HTTP adapter
212
Microsoft Dynamics AX
On the computer where you plan to install .NET Business Connector, run the prerequisite validation
utility to verify that system requirements have been met. For information about how to run the
prerequisite validation utility, see Check prerequisites.
For more information about the hardware and software requirements for Microsoft Dynamics AX, see
the system requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
Install the Microsoft Dynamics AX databases and AOS in the environment. Alternatively, you can
install these components when you install .NET Business Connector.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
213
Microsoft Dynamics AX
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
If youre installing AX 2012 R3, in the Select an installation option page, click Microsoft Dynamics
AX.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select .NET Business Connector, and then click Next.
7.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
8.
If you are installing on a 64-bit operating system, the Select a file location page is displayed. Select
the location where you want to install 32-bit versions of Microsoft Dynamics AX files, and then click
Next.
9.
On the Select a display language page, select the language in which you want to run Microsoft
Dynamics AX for the first time.
Note:
.NET Business Connector is a kind of Microsoft Dynamics AX client. Therefore, if .NET Business
Connector is the first client that you install on a computer, Setup requires that you set the
display language.
10. On the Specify a location for configuration settings page, specify whether you want .NET Business
Connector to access configuration information from the registry on the local computer or from a
shared configuration file. If you want to use a shared configuration file, you must enter the network
location of the file. Click Next.
11. On the Connect to an AOS instance page, enter the name of the computer that runs the instance of
Application Object Server (AOS) that you want to connect to. You can optionally specify the name of
the AOS instance, the TCP/IP port number, and the WSDL port for services. Click Next.
Note:
If you entered information about the AOS connection for other Microsoft Dynamics AX
components that are installed on this computer, this page is not displayed. Subsequent
installations on the same computer reuse the existing AOS connection.
12. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next.
13. On the Ready to install page, click Install.
14. After the installation is completed, click Finish to close the wizard.
214
Microsoft Dynamics AX
On the computer where you plan to install this component, run the prerequisite validation utility to
verify that system requirements have been met. For information about how to run the prerequisite
validation utility, see Check prerequisites.
For more information about the hardware and software requirements for Microsoft Dynamics AX, see
the system requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
Verify that you have the permissions that are required to install the synchronization proxy. For more
information, see Verify that you have the required permissions for installation.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
If youre installing AX 2012 R3, in the Select an installation option page, click Microsoft Dynamics
AX.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Synchronization proxy for Microsoft Project Server, and
then click Next.
7.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
8.
If you are installing on a 64-bit operating system, the Select a file location page is displayed. Select
the location where you want to install 32-bit versions of Microsoft Dynamics AX files, and then click
Next.
215
Microsoft Dynamics AX
9.
On the Specify a location for configuration settings page, specify whether you want the
synchronization proxy to access configuration information from the registry on the local computer or
from a shared configuration file. If you want to use a shared configuration file, you must enter the
network location of the file. Click Next.
10. On the Connect to an AOS instance page, enter the name of the computer that runs the instance of
Application Object Server (AOS) that you want to connect to. You can optionally specify the name of
the AOS instance, the TCP/IP port number, and the WSDL port for services. Click Next.
Note:
If you entered information about the AOS connection for other Microsoft Dynamics AX
components that are installed on this computer, this page is not displayed. Subsequent
installations on the same computer reuse the existing AOS connection.
11. On the Specify Business Connector proxy account information page, enter the password for the
proxy account that is used by .NET Business Connector. Click Next.
12. On the Synchronization proxy/Message Queuing: Enter the service account information page,
enter the domain user account for the synchronization service, and then click Next.
13. On the Connect to Microsoft Project Server page, enter the name of the Project Server and the
name of the database that is used for Project Server reporting. In the Project web access URL box,
enter the URL of the website that is used to access Project Server.
Note:
If the synchronization proxy must connect to multiple URLs for Project Server, use the first
URL when you install the synchronization proxy. However, you must then uninstall and
reinstall the synchronization proxy. When you reinstall the synchronization proxy, use a
different URL. Uninstalling the proxy does not affect the proxys ability to synchronize with
URLs that were specified during previous installations.
Click Next.
14. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next.
15. On the Ready to install page, click Install.
16. After the installation is completed, click Finish to close the wizard.
216
Microsoft Dynamics AX
On the computer where you are installing this component, run the prerequisite validation utility to
verify that system requirements have been met. For information about how to run the prerequisite
validation utility, see Check prerequisites.
For more information about the hardware and software requirements for Microsoft Dynamics AX, see
the system requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
Install the Microsoft Dynamics AX databases and Application Object Server (AOS) in the environment.
Configure a domain account that the synchronization service can run as. For more information, see
Create service accounts.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
If youre installing AX 2012 R3, in the Select an installation option page, click Microsoft Dynamics
AX.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Synchronization service for Microsoft Project Server, and
then click Next.
217
Microsoft Dynamics AX
7.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
8.
If you are installing the synchronization service on a 64-bit operating system, the Select a file
location page is displayed. Select the location where you want 32-bit versions of Microsoft Dynamics
AX files to be installed, and then click Next.
9.
On the Specify a location for configuration settings page, specify whether you want the
synchronization service to access configuration information from the registry on the local computer or
from a shared configuration file. If you want to use a shared configuration file, you must enter the
network location of the file. Click Next.
10. On the Connect to an AOS instance page, enter the name of the computer that runs the AOS
instance that you want to connect to. You can optionally specify the name of the AOS instance, the
TCP/IP port number, and the WSDL port for services. Click Next.
Note:
If you entered AOS connection information for other Microsoft Dynamics AX components
that are installed on this computer, this page is not displayed. Subsequent installations on the
same computer reuse the existing AOS connection.
11. On the Specify Business Connector proxy account information page, enter the password for the
proxy account that is used by .NET Business Connector. Click Next.
12. On the Enter the password for the service account page, enter the account information for the
synchronization service. Click Next.
13. On the Connect to a message queue page, specify whether you want to create a new message
queue or connect to an existing message queue.
If you want to create a new queue, Setup creates a private queue by default. Private queues can
be accessed only from the local computer. Select Make this a public queue to allow other
computers to access the queue.
Click Next.
14. On the Specify service accounts for synchronization message queues page, enter the service
accounts that communicate through message queues. You must provide a domain account that is
used by the Project Server eventing service, and the service account of at least one AOS instance.
Otherwise, Setup cannot configure the correct permissions. Click Next.
15. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next.
16. On the Ready to install page, click Install.
17. After the installation is completed, click Finish to close the wizard.
218
Microsoft Dynamics AX
On the computer where you plan to install this component, run the prerequisite validation utility to
verify that system requirements have been met. For information about how to run the prerequisite
validation utility, see Check prerequisites.
For more information about the hardware and software requirements for Microsoft Dynamics AX, see
the system requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
Make sure that the Windows Update service is running on the computer where you will install this
component.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
If youre installing AX 2012 R3, in the Select an installation option page, click Microsoft Dynamics
AX.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Management utilities, and then click Next.
7.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
8.
If you are installing on a 64-bit operating system, the Select a file location page is displayed. Select
the location where you want to install 32-bit versions of Microsoft Dynamics AX files, and then click
Next.
9.
On the Specify client configuration options page, specify whether you want management utilities
to access configuration information from the registry on the local computer or from a shared
configuration file. If you want to use a shared configuration file, enter the network location of the file.
Click Next.
10. On the Connect to an AOS instance page, enter the name of the computer that runs the instance of
Application Object Server (AOS) that you want to connect to. You can optionally specify the name of
the AOS instance, the TCP/IP port number, and the WSDL port for services. Click Next.
Microsoft Dynamics AX 2012 Installation Guide
219
Microsoft Dynamics AX
Note:
If you entered information about the AOS connection for other Microsoft Dynamics AX
components that are installed on this computer, this page is not displayed. Subsequent
installations on the same computer reuse the existing AOS connection.
11. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next.
12. On the Ready to install page, click Install.
13. After the installation is complete, click Finish to close the wizard.
220
Microsoft Dynamics AX
2.
3.
4.
5.
6.
7.
Install the Retail Channel Configuration Utility (Retail Store Database Utility)
Note:
In AX 2012 R2 and AX 2012 Feature Pack, the available components differ from AX 2012 R3. Most
importantly, you must install Synch Service instead of installing Async Client and Async Server.
221
Microsoft Dynamics AX
Types of computers
Head office
AOS computer
Database server
You must modify the Microsoft Dynamics AX database server only if the
settings for Microsoft SQL Server do not comply with the Payment Card
Industry (PCI) Data Security Standard. For more information about PCIcompliant settings, see the Implementation Guide for PCI Compliance
(http://go.microsoft.com/fwlink/?LinkId=237283).
Brick-and-mortar stores
Database server
With the exception of the communications server, the computers at the head office are all standard in a
Microsoft Dynamics AX deployment. Depending on the requirements of your organization, a particular
computer can be used for more than one of the purposes in the previous table. We recommend that you
load balance across multiple computers whenever load balancing is possible.
Typically, head office and store computers on which Synch Service is installed also have SQL Server
Express Edition installed. However, this instance of SQL Server is used only for the Synch Service message
database.
Note:
For development and testing, you can install the complete Retail system on a single computer.
However, a deployment of this kind is not a supported production scenario.
222
Microsoft Dynamics AX
223
Microsoft Dynamics AX
POS registers have offline databases that are synchronized with the store database when the POS
registers are connected.
POS registers do not have databases and must always be connected to the store database.
Figure 3 illustrates the two supported topologies. In the POS portable topology, the POS register uses
the store database by default, and synchronizes its local database and the store database. If the store
database becomes inaccessible, the POS register uses its offline database until the connection to the store
database is re-established. In the POS always online topology, the POS register must always be online to
connect with the store database.
224
Microsoft Dynamics AX
225
Microsoft Dynamics AX
226
Microsoft Dynamics AX
On the computer where you plan to install this component, run the prerequisite validation utility to
verify that system requirements have been met. For information about how to run the prerequisite
validation utility, see Check prerequisites.
For more information about the hardware and software requirements for Microsoft Dynamics AX, see
the system requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
227
Microsoft Dynamics AX
Before you install Retail headquarters, we recommend that you install the AOS, Microsoft Dynamics
AX clients, and the Microsoft Dynamics AX databases with all required models.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
On the Modify Microsoft Dynamics AX installation page, click Add or modify components, and
then click Next.
4.
On the Add or modify components page, select Retail headquarters, and then click Next.
5.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
6.
7.
2.
3.
Click Initialize.
4.
5.
6.
228
Microsoft Dynamics AX
In AX 2012 R3 and AX 2012 R2, Real-time Service is a Windows Communication Foundation (WCF)
service that must be installed on a website in Internet Information Services (IIS).
In AX 2012 Feature Pack, Real-time Service is a Windows service that is called Retail Transaction
Service.
When you install this component, the Retail Salt Utility is also installed. The Retail Salt Utility provides
extra encryption for the passwords and credentials that are associated with the Retail system.
The following sections are included in this topic:
Create the service account that will be used as the application pool identity for the Real-time Service
website. In AX 2012 Feature Pack, this account is used as the identity for the Windows service. For
more information about the requirements for this account, see Create service accounts.
Because this component uses Secure Sockets Layer (SSL) encryption, you must install a server
certificate that was issued by a trusted certification authority. (For test environments, you can create a
self-signed certificate in IIS.) When you run Setup, you will need to enter the thumbprint for the
certificate. To view the thumbprint in IIS Manager, double-click the certificate and click the Details
tab.
On the computer where you plan to install this component, run the prerequisite validation utility to
verify that system requirements have been met. For information about how to run the prerequisite
validation utility, see Check prerequisites.
For more information about the hardware and software requirements for Microsoft Dynamics AX, see
the system requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
Real-time Service requires .NET Business Connector. .NET Business Connector enables Real-time
Service to interact with instances of Application Object Server (AOS). If .NET Business Connector is not
already installed, it is selected automatically when you select to install Real-time Service.
229
Microsoft Dynamics AX
mass deployment, see Mass deploy Retail components (http://technet.microsoft.com/library/15ded62af6d3-44a4-8fe6-93e7f19ea558(AX.60).aspx).
1.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
On the Select an installation option page, click Microsoft Dynamics AX, and then click Next.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Real-time Service, and then click Next.
7.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
8.
If you are installing on a 64-bit operating system, the Select a file location page is displayed. Select
the location in which to install 32-bit versions of Microsoft Dynamics AX files, and then click Next.
9.
On the Select a display language page, select the language in which to run Microsoft Dynamics AX
for the first time.
Note:
.NET Business Connector is a kind of Microsoft Dynamics AX client. Therefore, if .NET Business
Connector is the first client that you install on a computer, Setup requires that you set the
display language.
10. On the Specify a location for configuration settings page, specify whether you want .NET Business
Connector to access configuration information from the registry on the local computer or from a
shared configuration file. If you want to use a shared configuration file, you must enter the network
location of the file. Click Next.
11. On the Connect to AOS instance page, enter the name of the computer that runs the instance of
AOS to connect to. You can optionally specify the name of the AOS instance and the TCP/IP port
number. Click Next.
Note:
If you entered information about the AOS connection for other Microsoft Dynamics AX
components that are installed on this computer, this page is not displayed. Subsequent
installations on the same computer reuse the existing AOS connection.
12. On the Specify Business Connector proxy account information page, enter the password for the
proxy account that is used by .NET Business Connector. Click Next.
13. On the Configure Real-time Service page, select the check box to configure Real-time Service by
using Setup. If you clear this check box, the application files are installed, but Real-time Service is not
configured.
If youre configuring Real-time Service, enter the following information:
Application name The name of the web application that hosts Real-time Service.
Website name The name of the website that hosts Real-time Service.
App pool name The name of the application pool that Real-time Service runs in.
230
Microsoft Dynamics AX
We recommend that you specify separate application pools if multiple Retail components are
installed on the same computer. Multiple web applications can share an application pool if
resources on the computer are limited. However, if the shared application pool fails, all of the
applications that use it will stop responding. In addition, if one application is heavily used, it can
negatively affect the performance of the other applications in the pool.
User name and Password The credentials for the application pool identity.
HTTPS port The port on which Real-time Service receives secure HTTP requests. You can specify
any available port. Verify that the port is open in Windows Firewall.
Warning:
To avoid conflicts with the Default Web Site on the computer, we recommend that you
do not use the default HTTPS port (443). A nonstandard port number also helps make the
website more secure.
TCP port The port on which Real-time Service receives TCP requests. You can specify any
available port. Verify that the port is open in Windows Firewall.
SSL certificate thumbprint The thumbprint for your Secure Sockets Layer (SSL) encryption
certificate. You must obtain a valid, registered certificate from a provider.
14. On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
15. On the Ready to install page, click Install.
16. After the installation is completed, click Finish to close the wizard.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
On the Modify Microsoft Dynamics AX installation page, click Add or modify components, and
then click Next.
3.
On the Add or modify components page, select Real-time Service, and then click Next.
4.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
5.
On the Configure Real-time Service page, clear the Configure Real-time Service option.
6.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
7.
8.
231
Microsoft Dynamics AX
Open the folder where the Windows PowerShell scripts are installed. By default, the files are located at
C:\Program Files (x86)\Microsoft Dynamics AX\60\CDX\Real-time Services\Tools.
2.
Create a copy of the rts-settings.xml file for each instance of Real-time Service that you plan to
deploy. We recommend that you not change the original file.
3.
Open your copy of the rts-settings.xml file in Microsoft Visual Studio or a text editor, such as
Notepad.
4.
Default value
WebAppPoolName
CDXRealtimeServiceAppPool
CDXRealtimeServiceWebsite
Service.
WebSiteHttpsPort
None
None
None
time Service.
WebAppPoolUser
None
None
232
Microsoft Dynamics AX
Parameter
Default value
WebSiteSSLCertificate
LocalMachine
RootStore
WebSiteSSLCertificateS
tore
My
installed.
WebApplicationService
BinarySourceFolder
None
Not applicable
None
None
rver
WebSiteWorkingFolder
are stored.
EnableMetadataExchan
ge
false
5.
WebApplicationWorki
[WebSiteWorkingFolder]\[Web
ngFolder
ApplicationName]
On the server where you want to run the script, open Windows PowerShell to the folder where the
scripts are installed. By default, the files are located at C:\Program Files (x86)\Microsoft Dynamics
AX\60\Real-time Services\Tools.
If youre using Windows Server 2012 or a later operating system, use Windows Explorer to open
the folder where the scripts are installed. Then click File > Open Windows PowerShell > Open
Windows PowerShell as administrator.
233
Microsoft Dynamics AX
2.
If youre using Windows Server 2008 R2 or an earlier operating system, start Windows PowerShell
as the administrator. Then, change the directory by using the following command: CD <Path to
directory>.
In the Windows PowerShell console, run the following command to create a credential object for the
application pool identity.
$Cred = @((New-Object System.Management.Automation.PSCredential('domain\user',(ConvertToSecureString 'password' -AsPlainText -Force))))
3.
Example:
.\DeployRealtimeService.ps1 -SettingsXmlFilePath "C:\Program Files (x86)\Microsoft Dynamics
AX\60\CDX\Real-time Services\Tools\rts-settings.xml" -TopologyXmlFilePath "C:\Program Files
(x86)\Microsoft Dynamics AX\60\CDX\Real-time Services\Tools\rts-topology.xml" -Credentials $Cred Verbose $true
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
On the Select installation type page, click Custom installation, and then click Next.
5.
On the Select components page, select Real-time Service, and then click Next.
6.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
7.
If you are installing on a 64-bit operating system, the Select a file location page is displayed. Select
the location in which to install 32-bit versions of Microsoft Dynamics AX files, and then click Next.
8.
On the Select a display language page, select the language in which to run Microsoft Dynamics AX
for the first time.
Note:
.NET Business Connector is a kind of Microsoft Dynamics AX client. Therefore, if .NET Business
Connector is the first client that you install on a computer, Setup requires that you set the
display language.
9.
On the Specify a location for configuration settings page, specify whether you want .NET Business
Connector to access configuration information from the registry on the local computer or from a
shared configuration file. If you want to use a shared configuration file, you must enter the network
location of the file. Click Next.
234
Microsoft Dynamics AX
10. On the Connect to an AOS instance page, enter the name of the computer that runs the instance of
AOS to connect to. You can optionally specify the name of the AOS instance, the TCP/IP port number,
and the WSDL port for services. Click Next.
Note:
If you entered information about the AOS connection for other Microsoft Dynamics AX
components that are installed on this computer, this page is not displayed. Subsequent
installations on the same computer reuse the existing AOS connection.
11. On the Specify Business Connector proxy account information page, enter the password for the
proxy account that is used by .NET Business Connector. Click Next.
12. On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
13. On the Ready to install page, click Install.
14. After the installation is completed, click Finish to close the wizard.
A folder that contains the binaries and configuration files for the WCF service
Use these resources to manually deploy and configure the WCF service that is used by Real-time Service.
235
Microsoft Dynamics AX
Install a certificate by using Windows PowerShell
If you have already received a certificate from your provider, or if you are migrating a certificate from a
different server, the file might be in .pfx format. In this case, you can use a sample Windows PowerShell
script to install the certificate.
1.
2.
At the Windows PowerShell command prompt, run the InstallServerCertificate.ps1 script. For example,
enter the following command:
& "C:\Program Files (x86)\Microsoft Dynamics AX\60\Commerce Data Exchange\Real-time
Services\6.2\Sample Deployment Scripts\InstallServerCertificate.ps1"
3.
When you are prompted, enter the path of the .pfx file and the private key password.
2.
3.
User account The user account to run the service as. Enter the user account in the following
format: domain\user. This user account must be a Microsoft Dynamics AX user who has the
appropriate permissions.
Service binary source folder path The location of the .dll files for Real-time Service. By default,
the path is C:\Program Files (x86)\Microsoft Dynamics AX\60\Commerce Data Exchange\Realtime Services\6.2\.. The .dll files are copied to the website that is created.
Tip:
Do not include the bin subfolder in the path.
Server certificate thumbprint The thumbprint of the certificate that is installed on the IIS
server. Enter only the characters that are included in the thumbprint value. Omit all spaces.
To obtain the thumbprint, in IIS Manager, double-click IIS, and then click > Server Certificates.
Double-click the certificate, and then select Details.
236
Microsoft Dynamics AX
237
Microsoft Dynamics AX
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
If youre installing AX 2012 R3, in the Select an installation option page, click Microsoft Dynamics
AX.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Retail POS, and then click Next.
7.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
238
Microsoft Dynamics AX
8.
9.
If an offline database is required, create and configure the offline database for each POS register by
using the Retail Channel Configuration Utility. For more information, see Create a channel database or
an offline database (AX 2012 R3) (http://technet.microsoft.com/library/e12bd6ab-e41f-494e-8b3498abcee0217a(AX.60).aspx) or Create a store database or an offline database (AX 2012 R2 and AX
2012 Feature Pack) (http://technet.microsoft.com/library/99ba8d75-d3ef-457d-a71495dd894fccc5(AX.60).aspx).
2.
Configure Retail POS database connections by using the Retail Channel Configuration Utility. For
more information, see Configure database connections for a POS register
(http://technet.microsoft.com/library/ab65600e-155a-4d63-971f-84e71d1aea79(AX.60).aspx).
3.
Configure Retail POS for your business. For more information, see Point of Sale
(http://technet.microsoft.com/library/2051b6fa-b8a1-4254-a115-a3480ad31143(AX.60).aspx).
239
Microsoft Dynamics AX
Modern POS clients must be able to connect to a computer that is running Microsoft Dynamics
AX Retail Server. Verify that Retail Server is installed on a computer in your place of business.
Locate the URL for your Retail Server installation. You must specify this URL Setup for device
activation. By default, the URL is in the format: https://<server name>:port/<name of web
application> as it will be required for device activation.
You do not have to install Modern POS in a domain. You can install it as part of a work group on a
single computer.
Verify that WinJS and VCLibs libraries are installed on the device where you want to install this
component. For more information, see Manually install Modern POS prerequisites
(http://technet.microsoft.com/library/661dc32b-0eae-470e-a21e-085d48e5b384(AX.60).aspx).
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
On the Select installation type page, click Custom installation, and then click Next.
5.
On the Select components page, select Retail Modern POS, and then click Next.
6.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
7.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
8.
9.
240
Microsoft Dynamics AX
Note:
If you install Modern POS on a Windows 8.1 Professional or non-domain joined computer, Setup
might prompt you to provide an enterprise side-loading key. This key is included with your
Enterprise Volume License.
For more information about customizing and installing a customized Modern POS app see Extend in the
Modern POS documentation roadmap.
See Also
Modern Point of Sale (http://technet.microsoft.com/library/a670f147-1648-4077-9c39dc032079f8bb(AX.60).aspx)
241
Microsoft Dynamics AX
On the computer where you plan to install this component, run the prerequisite validation utility to
verify that system requirements have been met. For information about how to run the prerequisite
validation utility, see Check prerequisites.
For more information about the hardware and software requirements for Microsoft Dynamics AX, see
the system requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
Make sure that Microsoft SQL Server is set up correctly for Retail databases. For more information, see
Configure SQL Server for the Retail databases (http://technet.microsoft.com/library/826d3038-b41d425d-83e7-f439846a4f90(AX.60).aspx).
We recommend that you install Commerce Data Exchange: Async Server and Commerce Data
Exchange: Real-time Service in the environment before you install channel databases.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Retail channel database, and then click Next.
7.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
242
Microsoft Dynamics AX
8.
On the Create a channel database page, select the Configure Retail Channel database option to
configure a channel database by using Setup. If you clear this option, the application files are
installed, but a channel database is not configured.
If youre configuring a channel database, enter the name of the server on which to create the
database and the name of the database.
Note:
If youre using a named instance of SQL Server, enter the server name in the format
ServerName\InstanceName.
9.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
On the Modify Microsoft Dynamics AX installation page, click Add or modify components, and
then click Next.
3.
On the Add or modify components page, select Retail channel database, and then click Next.
4.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
5.
On the Create a channel database page, clear the Configure retail channel database option.
6.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
7.
8.
Open the folder where the installation files are installed. By default, the files are located at C:\Program
Files (x86)\Microsoft Dynamics AX\60\Retail Channel Database\Tools.
2.
Create a copy of the channeldb-settings.xml file for each channel database that you are deploying.
We recommend that you not change the original file.
243
Microsoft Dynamics AX
3.
Open your copy of the channeldb-settings.xml file in Microsoft Visual Studio or a text editor, such as
Notepad.
4.
Default value
ChannelDatabaseServerName
None
Name
None
Note:
The format for a SQL Server instance
name is either the server name or the
full instance name. For example, valid
names are "localhost",
"localhost\instance2", "server1", and
"server1\instance2.
ChannelDatabaseName
5.
None
On the server where you want to run the script, open Windows PowerShell to the folder where the
scripts are installed. By default, the files are located at C:\Program Files (x86)\Microsoft Dynamics
AX\60\Retail Channel Database\Tools.
If youre using Windows Server 2012 or a later operating system, use Windows Explorer to open
the folder where the scripts are installed. Then click File > Open Windows PowerShell > Open
Windows PowerShell as administrator.
If youre using Windows Server 2008 R2 or an earlier operating system, start Windows PowerShell
as the administrator. Then, change the directory by using the following command: CD <Path to
directory>.
244
Microsoft Dynamics AX
2.
Example:
.\DeployDatabases.ps1 -SettingsXmlFilePath C:\Program Files (x86)\Microsoft Dynamics AX\60\Retail
Channel Database\Tools \channeldb-settings-updated.xml -TopologyXmlFilePath C:\Program Files
(x86)\Microsoft Dynamics AX\60\Retail Channel Database\Tools\channeldb-topology.xml" Verbose
$true
Set up a Retail scheduler profile for the database. For more information, see Set up a channel
database profile (http://technet.microsoft.com/library/03e67a5d-792b-4d3f-912221eab9cd6b61(AX.60).aspx).
Optional: Add the database to a data group. For more information, see Create a channel data group
(http://technet.microsoft.com/library/9fe5c16a-0119-471a-b466-b4511a5d052d(AX.60).aspx).
Determine how many instances of Synch Service you want to install, and on which computers.
In a basic deployment of Retail, one instance of Synch Service is installed at the head office, and one
instance is installed at each store. In this scenario, the head-office instance communicates with AOS,
and a store instance communicates with the store database.
Operations in a large organization might scale more efficiently if you install multiple Synch Service
instances at each site, either on a single server or on multiple servers. For more information, see Run
245
Microsoft Dynamics AX
multiple instances of Synch Service (http://technet.microsoft.com/library/07c47aa8-3be8-4b63-b2d65d942b03a8be(AX.60).aspx).
Caution:
Although a single instance of Synch Service can manage all communications for the
organization, excessive load or network latency might decrease performance.
If Retail Scheduler will be used on a Microsoft Dynamics AX client computer to run jobs and send data
to stores, install Synch Service on the client system.
Determine whether you want to use Network Load Balancing (NLB) and Internet Protocol security
(IPsec). Retail supports NLB for data that comes from the store to Microsoft Dynamics AX, but not for
outgoing data. If youre using multiple instances of Synch Service, NLB can distribute incoming data
among them, but all instances must have the same service name. If IPsec is enabled, we recommend
that you not use NLB.
Select a service account for the Synch Service service. For information about the requirements for
service accounts, see Create service accounts.
On the computer where you plan to install this component, run the prerequisite validation utility to
verify that system requirements have been met. For information about how to run the prerequisite
validation utility, see Check prerequisites.
For more information about the hardware and software requirements for Microsoft Dynamics AX, see
the system requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
At the head office, .NET Business Connector must be installed on the same computer as Synch Service.
Synch Service uses .NET Business Connector to communicate with the AOS.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
If youre installing AX 2012 R3, on the Select an installation option page, click Microsoft Dynamics
AX.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Synch Service, and then click Next.
7.
On the Configure Commerce Data Exchange: Synch Service page, select the check box to configure
Synch Service by using Setup. If you clear this check box, the application files are installed, but Synch
Service is not configured.
To create a message database for Synch Service, enter the name of the server on which to create
the database, and then enter a name for the new database.
To configure the service account for Synch Service, enter a user name and password.
246
Microsoft Dynamics AX
If you want to change this information later or configure other settings, such as a port and a service
name, you must use the Synch Service Settings Wizard. For more information, see Configure settings
for Synch Service (http://technet.microsoft.com/library/06302927-ef14-4fd3-8d543825679137ce(AX.60).aspx).
8.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
9.
10. After the installation is completed, click Finish to close the wizard.
Determine how many instances of Async Server you want to install, and on which computers.
In a basic deployment of Retail, one instance of Async Server is installed at headquarters. Operations
in a large organization may scale more efficiently if you install multiple Async Server instances, either
on a single server or on multiple servers. For more information, see Deployment topologies for Retail.
Caution:
Although a single instance of Async Server can manage all communications for the
organization, excessive load or network latency might decrease performance.
247
Microsoft Dynamics AX
Select a service account to run the application pool for Async Server. For information about the
requirements for this account, see Create service accounts.
Because this component uses Secure Sockets Layer (SSL) encryption, you must install a server
certificate that was issued by a trusted certification authority. (For test environments, you can create a
self-signed certificate in IIS.) When you run Setup, you will need to enter the thumbprint for the
certificate. To view the thumbprint in IIS Manager, double-click the certificate and click the Details
tab.
On the computer where you plan to install this component, run the prerequisite validation utility to
verify that system requirements have been met. For information about how to run the prerequisite
validation utility, see Check prerequisites.
For more information about the hardware and software requirements for Microsoft Dynamics AX, see
the system requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Async Server, and then click Next.
7.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
8.
On the Configure Async Server page, select the check box to configure Async Server by using Setup.
If you clear this check box, the application files are installed, but Async Server is not configured.
If youre configuring Async Server, enter the following information:
Application name The name of the web application that hosts Async Server.
App pool name The name of the application pool that the web application runs under.
We recommend that you specify separate application pools if multiple Retail components are
installed on the same computer. Multiple web applications can share an application pool if
resources on the computer are limited. However, if the shared application pool fails, all of the
applications that use it will stop responding. In addition, if one application is heavily used, it can
negatively affect the performance of the other applications in the pool.
Website name The name of the website that Async Server runs on.
User name and Password The credentials for the application pool identity.
HTTPS port The port on which Async Server receives HTTPS requests. You can specify any
available port. Verify that the port is open in Windows Firewall, and record the port number. The
248
Microsoft Dynamics AX
port is used to create the URL for Async Server in the following format: https://<server
name>:port/<web application name>. This URL is required when you configure instances of
Async Client that connect to this instance of Async Server.
Warning:
To avoid conflicts with the Default Web Site on the computer, we recommend that you
do not use the default HTTPS port (443). A nonstandard port number also helps make the
website more secure.
9.
TCP port (optional) The port on which Async Server receives TCP requests. Specify a TCP port if
your environment uses high-performance data synchronization. You can specify any available
port. Verify that the port is open in Windows Firewall.
AOS service user The user account that the instance of Application Object Server (AOS) runs as.
SSL certificate thumbprint The thumbprint for the Secure Sockets Layer (SSL) encryption
certificate. You must obtain a valid, registered certificate from a provider.
On the Select a database to use with Async Server page, create a new message database for Async
Server. If you install a subsequent instance of Async Server for load balancing, you must select the
same message database.
Note:
You must set up a separate message database for each partition in Microsoft Dynamics AX.
10. On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
11. On the Ready to install page, click Install.
12. After the installation is completed, click Finish to close the wizard.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
On the Modify Microsoft Dynamics AX installation page, click Add or modify components, and
then click Next.
3.
On the Add or modify components page, select Async Server, and then click Next.
4.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
5.
On the Configure Async Server page, clear the Configure Async Server option.
6.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
7.
249
Microsoft Dynamics AX
8.
Open the folder where the Windows PowerShell scripts are installed. By default, the files are located at
C:\Program Files (x86)\Microsoft Dynamics AX\60\CDX\Async Server\Tools.
2.
Create a copy of the ss-settings.xml file for each instance of Async Server that you plan to deploy. We
recommend that you not change the original file.
3.
Open your copy of the ss-settings.xml file in Microsoft Visual Studio or a text editor, such as Notepad.
4.
Default value
HQMessageDatabaseServerN
None
ame
HQMessageDatabaseServerN
amedInstanceName
message database.
None
None
HQMessageDatabaseServerO
[HQMessageDatabaseSe
verride
rverName]
AsyncServerSite
AppPoolName
AsyncServer
None
AOSServiceUser
NT Authority\Network
Service
WebApplicationName
AsyncServer
Server.
250
Microsoft Dynamics AX
Parameter
Default value
None
WebSiteHttpsPort
None
requests.
WebSiteTcpPort
808
rint
None
a provider.
WebSiteSSLCertificateRootSto
re
LocalMachine
installed.
WebSiteSSLCertificateStore
My
5.
%SystemDrive%\inetpub
are stored.
\AsyncServerSite
WebApplicationWorkingFolde
[WebSiteWorkingFolder]
\[WebApplicationName]
On the server where you want to run the script, open Windows PowerShell to the folder where the
scripts are installed. By default, the files are located at C:\Program Files (x86)\Microsoft Dynamics
AX\60\Async Server\Tools.
251
Microsoft Dynamics AX
2.
If youre using Windows Server 2012 or a later operating system, use Windows Explorer to open
the folder where the scripts are installed. Then click File > Open Windows PowerShell > Open
Windows PowerShell as administrator.
If youre using Windows Server 2008 R2 or an earlier operating system, start Windows PowerShell
as the administrator. Then, change the directory by using the following command: CD <Path to
directory>.
In the Windows PowerShell console, run the following command to create a secure credential object
for the application pool identity.
$Cred = @((New-Object System.Management.Automation.PSCredential(domain\user,
(ConvertTo-SecureString password -AsPlainText -Force))))
3.
Example:
.\DeployAsyncServer.ps1 -SettingsXmlFilePath "C:\Program Files (x86)\Microsoft Dynamics
AX\60\CDX\Async Server\Tools\ss-settings.xml" -TopologyXmlFilePath "C:\Program Files
(x86)\Microsoft Dynamics AX\60\CDX\Async Server\Tools\ss-topology.xml" -Credentials $Cred
Verbose $true
Set message database information in the Retail scheduler parameters form. Then click the Sync
metadata button. For more information, see Enter parameters for Retail Scheduler
(http://technet.microsoft.com/library/bfe69872-8fb9-41d9-8f61-d206055dbd87(AX.60).aspx).
Create a scheduler profile for Async Server. For more information, see Set up a profile for Async Server
(http://technet.microsoft.com/library/008f91db-9179-48b7-8a2f-f23e10ed8c5a(AX.60).aspx).
Set up working folders. For more information, see Specify working folders for Commerce Data
Exchange (http://technet.microsoft.com/library/7287752d-5b02-4f95-9ff2-1fb8a3f9685d(AX.60).aspx).
252
Microsoft Dynamics AX
Determine how many instances of Async Client you want to install, and on which computers.
In a basic deployment of Retail, one instance of Async Client is installed for each channel database. If
you want to install more than one instance of Async Client on a single computer, you must run the
Windows PowerShell installation scripts manually for subsequent installations. For more information,
see Install Async Client by using Windows PowerShell.
Select a service account for Async Client. For information about the requirements for service accounts,
see Create service accounts.
Create the channel database that will be used with this instance of Async Client. When you install a
channel database, the groups that have permissions on the database are created. During the Async
Client installation, the service user is added to this group. For more information, see Install a retail
channel database.
On the computer where you plan to install this component, run the prerequisite validation utility to
verify that system requirements have been met. For information about how to run the prerequisite
validation utility, see Check prerequisites.
For more information about the hardware and software requirements for Microsoft Dynamics AX, see
the system requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
253
Microsoft Dynamics AX
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Async Client, and then click Next.
7.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
8.
On the Configure Async Client page, select the check box to configure Async Client by using Setup.
If you clear this check box, the application files are installed, but Async Client is not configured.
If youre configuring Async Client, enter the following information:
Async Server URL The URL for the instance of Async Server. Typically, the URL is in the format
https://<server name>:port/<web application name>.
If Async Server is installed in a cluster that has a load balancer, enter the URL to the service on the
load balancer.
Channel database ID The identifier in Microsoft Dynamics AX for the channel database that is
used by the selected instance of Async Client.
User name and Password (Async Server connection) The credentials for the user that connects
to Async Server. These credentials must match the credentials that are specified in the channel
database profile. Credentials are case sensitive. The credentials are used to identify and
authenticate Async Client.
User name and Password (Async Client) The credentials for the user that runs the Windows
service for Async Client. The user does not have to be a domain account. The user can be a
member of a workgroup on the local computer. Credentials are case sensitive.
Optionally, click Test connection to verify that Async Client is configured correctly. For information
about how to troubleshoot errors that you might encounter, see Troubleshoot configuration issues
for Async Client (http://technet.microsoft.com/library/5c841baa-605f-47fe-809e030c43d5caa8(AX.60).aspx).
Click Next.
9.
On the Select or specify a database to use with Async Client page, enter server and database
information for the message database and the channel database that will be used by Async Client.
Then click Next.
You can connect to an existing channel database only. Setup does not create a new channel database
if you enter a channel database name that doesnt exist. If you specify a message database name that
doesnt exist, Setup creates a new message database.
254
Microsoft Dynamics AX
10. On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
11. On the Ready to install page, click Install.
12. After the installation is completed, click Finish to close the wizard.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
On the Select installation type page, click Custom installation, and then click Next.
3.
On the Select components page, select Async Client, and then click Next.
4.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
5.
On the Configure Async Client page, clear the Configure Async Client option.
6.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
7.
8.
Open the folder where the Windows PowerShell scripts are installed. By default, the files are located at
C:\Program Files (x86)\Microsoft Dynamics AX\60\CDX\Async Client\Tools.
2.
Create a copy of the sc-settings.xml file for each instance of Async Client that you plan to deploy. We
recommend that you not change the original file.
3.
Open your copy of the sc-settings.xml file in Microsoft Visual Studio or a text editor, such as Notepad.
255
Microsoft Dynamics AX
4.
Default value
ChannelMessageDatabaseServe
None
ChannelMessageDatabaseServe
rNamedInstanceName
None
None
ChannelDatabaseServer
None
database.
ChannelDatabaseServerNamedI
nstanceName
channel database.
None
None
ServiceName
CommerceDataExchan
geAsyncClientService
None
SynchServiceHeadOfficeURL
None
The folder where the .dll files for Async Client are
None
%SystemDrive%\Asyn
cClientService
256
Microsoft Dynamics AX
Parameter
What to enter
Default value
DataStoreName
None
None
to Async Server.
To find or set the user name, use the Channel
database form in Microsoft Dynamics AX. (Click
Retail > Setup > Retail scheduler > Channel
integration > Channel database.)
Credentials are case sensitive.
5.
ChannelMessageDatabaseServe
[ChannelMessageData
rOverride
baseServer]
On the server where you want to run the script, open Windows PowerShell to the folder where the
scripts are installed. By default, the files are located at C:\Program Files (x86)\Microsoft Dynamics
AX\60\Async Client\Tools.
If youre using Windows Server 2012 or a later operating system, use Windows Explorer to open
the folder where the scripts are installed. Then click File > Open Windows PowerShell > Open
Windows PowerShell as administrator.
If youre using Windows Server 2008 R2 or an earlier operating system, start Windows PowerShell
as the administrator. Then, change the directory by using the following command: CD <Path to
directory>.
257
Microsoft Dynamics AX
2.
In the Windows PowerShell console, run the following command to create a Windows PowerShell
credential object on the local computer for the application pool identity.
$Cred = @((New-Object
System.Management.Automation.PSCredential('domain\username',(ConvertTo-SecureString
'password' -AsPlainText -Force))
For more information about how to create credential objects, see Create Windows PowerShell Scripts
that Accept Credentials (http://go.microsoft.com/fwlink/?LinkID=394381).
3.
Run the following command to create a credential object for the account that is used to connect to
Async Server.
$Cred = @((New-Object
System.Management.Automation.PSCredential('domain\username',(ConvertTo-SecureString
'password' -AsPlainText -Force))
4.
Example:
.\DeployAsyncClient.ps1 -SettingsXmlFilePath "C:\Program Files (x86)\Microsoft Dynamics
AX\60\CDX\Async Client\Tools\sc-settings.xml" -TopologyXmlFilePath "C:\Program Files
(x86)\Microsoft Dynamics AX\60\CDX\Async Client\Tools\sc-topology.xml" -Credentials $Cred
Verbose $true
Use the Async Client Configuration Tool to test the connections to Async Server, the channel
database, and the channel message database. You can also use the utility to set advanced options. For
more information, see Configure settings for Async Client
(http://technet.microsoft.com/library/3356c7a4-6c49-4a4d-932d-1954dfe413d6(AX.60).aspx).
2.
After you have determined that all connections are working, run the distribution schedule that sends
data to each channel database. Click Retail > Setup > Retail scheduler > Channel integration >
Channel database. Click Full data sync, and then select the Full sync distribution schedule.
258
Microsoft Dynamics AX
Install the Retail Channel Configuration Utility on computers where you must create a channel database. A
channel database may be created either on a stand-alone database server or on a POS computer.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
On the Select an installation option page, click Microsoft Dynamics AX, and then click Next.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Retail Channel Configuration Utility, and then click Next.
7.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
8.
9.
259
Microsoft Dynamics AX
Install the Retail Store Database Utility (AX 2012 Feature Pack and AX
2012 R2)
Use this procedure to install the Retail Store Database Utility for AX 2012 Feature Pack or AX 2012 R2. If
you install other Microsoft Dynamics AX components at the same time, the installation pages vary,
depending on the components that you are installing.
1.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
On the Select installation type page, click Custom installation, and then click Next.
5.
On the Select components page, select Retail Store Database Utility, and then click Next.
6.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
7.
On the Configure Retail store databases and POS page, select the check box if you want to create
store databases and associate them with a POS system.
To create a store database, enter the name of the server where you want to create the database,
and then enter a name for the new database.
When creating a shared store database, do not enter anything in the Offline database name or
Offline server name fields. After you have created the shared store database, you can open the
Retail Store Database Utility to designate this database as an offline database, but you cannot
perform both actions at the same time.
To create an offline database, enter the name of the server where you want to create the
database, and then enter a name for the new database.
8.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
9.
10. After the installation is completed, click Finish to close the wizard.
260
Microsoft Dynamics AX
Create a store database or an offline database (AX 2012 R2 and AX 2012 Feature Pack)
(http://technet.microsoft.com/library/99ba8d75-d3ef-457d-a714-95dd894fccc5(AX.60).aspx)
Be aware that you do not have to install Retail Server in a domain. You can install it as part of a work
group on a single computer.
Create a service account. This service account is used for the identity of the application pool for Retail
Server. This account does not have to be a domain account. It can be a work group account. For more
information, see Create service accounts.
On the computer where you plan to install this component, run the prerequisite validation utility to
verify that system requirements have been met. For information about how to run the prerequisite
validation utility, see Check prerequisites.
For more information about the hardware and software requirements for Microsoft Dynamics AX, see
the system requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
Because this component uses Secure Sockets Layer (SSL) encryption, you must install a server
certificate that was issued by a trusted certification authority. (For test environments, you can create a
self-signed certificate in IIS.) When you run Setup, you will need to enter the thumbprint for the
certificate. To view the thumbprint in IIS Manager, double-click the certificate and click the Details
tab.
261
Microsoft Dynamics AX
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
On the Select installation type page, click Custom installation, and then click Next.
5.
On the Select components page, select Retail Server, and then click Next.
6.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
7.
On the Configure Retail Server page, enter the following information about the web site where
Retail Server will run.
Configure Retail Server: On the Configure Retail Server page, select the check box to
configure Retail Server by using Setup. If you clear this option, the application files are installed,
but Retail Server is not configured. If youre configuring Retail Server, enter the following
information:
Application name The name of an existing web application in your server environment or the
name of an application that you want Setup to create.
Website name The name of an existing web site in your server environment or the name of a
site that you want Setup to create.
App pool name The name of an existing web application pool in your server environment or
the name of an application pool that you want Setup to create.
User name and Password The credentials for the application pool identity. The user does not
have to be a domain account. It can be a member of a work group on the local computer.
HTTP port and HTTPS port You can specify any available ports. Verify that these ports are
open in Windows firewall. Also, make a note of these port numbers. The port is used to create the
URL for Retail Server in the format: https://<ServerName>:Port/<WebApplicationName>. This
URL is required to activate Modern POS devices that connect to Retail Server.
Warning:
To avoid conflicts with the Default Web Site on the computer, we recommend that you
do not use the default HTTPS port (443). A nonstandard port number also helps make the
website more secure.
SSL certificate thumbprint The thumbprint for your Secure Sockets Layer (SSL) encryption
certificate.
8.
On the Select a database to use with Retail Server page, select an existing database. To create a
new channel database you must install the Retail channel database component.
9.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
262
Microsoft Dynamics AX
10. On the Ready to install page, click Install.
11. After the installation is completed, click Finish to close the wizard.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
On the Select installation type page, click Custom installation, and then click Next.
3.
On the Select components page, select Retail Server, and then click Next.
4.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
5.
On the Configure Retail Server page, clear the Configure Retail Server option.
6.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
7.
8.
Open the folder where the installation files are installed. By default, the files are located at C:\Program
Files (x86)\Microsoft Dynamics AX\60\Retail Server\Tools.
2.
Create a copy of the rs-settings.xml file. We recommend that you do not change the original file.
3.
Open the rs-settings.xml file in Microsoft Visual Studio or a text editor, such as Notepad.
4.
What to enter
Default value
ChannelDatabaseServerName
None
None
263
Microsoft Dynamics AX
Parameter
What to enter
Default value
ChannelDatabaseName
None
RetailServerWebAppPoolNam
RetailServerAppPool
RetailServerWebSiteName
RetailServerWebSiteHttpPort
None
None
ame
RetailServer
create.
RetailServerWebSiteSSLCertifi
My
cateStore
RetailServerWebSiteSSLCertifi
LocalMachine
RetailServerWebSiteWorkingF
%SystemDrive%\inetpub
older
\wwwroot
RetailServerWebAppPoolUser
None
cateRootStore
264
Microsoft Dynamics AX
Parameter
What to enter
Default value
RetailServerWebSiteSSLCertifi
None
cateThumbprint
RetailServerWebApplicationSe
rviceBinarySourceFolder
None
[RetailServerWebSiteWo
orkingFolder
rkingFolder]\[RetailServe
RetailServerWebApplicationServiceBinarySourceF
rWebApplicationName]
sMetadata
False
True
265
Microsoft Dynamics AX
5.
On the server where you want to run the script, open the folder where the PowerShell scripts are
installed. By default, the files are located at C:\Program Files (x86)\Microsoft Dynamics AX\60\Retail
Server\Tools
2.
If youre using Windows Server 2012 or a later operating system, use Windows Explorer to open the
folder where the scripts are installed. Then click File > Open Windows PowerShell > Open Windows
PowerShell as administrator.
If youre using Windows Server 2008 R2 or an earlier operating system, start Windows PowerShell as
the administrator. Then, change the directory by using the following command: CD <Path to directory>.
3.
In the Windows PowerShell console, run the following command to create a credential object in
Active Directory for the service account. Replace domain\useraccount and password with
credentials that have permission to create sites in IIS:
$Cred = @((New-Object
System.Management.Automation.PSCredential(domain\useraccount',(ConvertTo-SecureString
'password' -AsPlainText -Force))))
4.
For example:
.\DeployRetailServer.ps1 -SettingsXmlFilePath "C:\Program Files (x86)\Microsoft Dynamics
AX\60\Retail Server\Tools\rs-settings.xml" -TopologyXmlFilePath "C:\Program Files (x86)\Microsoft
Dynamics AX\60\Retail Server\Tools\rs-topology.xml" -Credentials $Cred Verbose $true
266
Microsoft Dynamics AX
After Retail Server is deployed and configured, you can deploy Microsoft Dynamics AX Modern POS on
supported clients. For more information, see Install Modern POS.
Be aware that you do not have to install Hardware Station in a domain. You can install it as part of a
work group on a single computer.
Create a service account. This service account is used for the identity of the application pool for
Hardware Station. This account does not have to be a domain account. It can be a work group
account. For more information, see Create service accounts.
On the computer where you plan to install this component, run the prerequisite validation utility to
verify that system requirements have been met. For information about how to run the prerequisite
validation utility, see Check prerequisites.
For more information about the hardware and software requirements for Microsoft Dynamics AX, see
the system requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
Because this component uses Secure Sockets Layer (SSL) encryption, you must install a server
certificate that was issued by a trusted certification authority. (For test environments, you can create a
self-signed certificate in IIS.) When you run Setup, you will need to enter the thumbprint for the
certificate. To view the thumbprint in IIS Manager, double-click the certificate and click the Details
tab.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
On the Select installation type page, click Custom installation, and then click Next.
267
Microsoft Dynamics AX
5.
On the Select components page, select Retail Hardware Station, and then click Next.
6.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
7.
On the Configure Retail Hardware Station page, enter the following information about the web site
where Hardware Station will run.
Configure Hardware Station: On the Configure Hardware Station page, select the check box
to configure Hardware Station by using Setup. If you clear this option, the application files are
installed, but Hardware Station is not configured. If youre configuring Hardware Station, enter
the following information:
Application name The name of an existing web application or the name of an application that
you want Setup to create.
Website name The name of an existing web site or the name of a site that you want Setup to
create.
App pool name The name of an existing web application pool in your server environment or
the name of an application pool that you want Setup to create.
User name and Password The credentials for the application pool identity. The user does not
have to be a domain account. It can be a member of a work group on the local computer.
HTTP port and HTTPS port You can specify any available ports. Verify that these ports are
open in Windows firewall.
Warning:
To avoid conflicts with the Default Web Site on the computer, we recommend that you
do not use the default HTTPS port (443). A nonstandard port number also helps make the
website more secure.
SSL certificate thumbprint The thumbprint for your Secure Sockets Layer (SSL) encryption
certificate.
Retail Server URL The URL specified when Retail Server was installed. By default, the URL is
created by using the following parameters:
https://.<ServerName>:Port/<WebApplicationName>
8.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
9.
10. After the installation is completed, click Finish to close the wizard.
268
Microsoft Dynamics AX
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
On the Select installation type page, click Custom installation, and then click Next.
3.
On the Select components page, select Retail Hardware Station, and then click Next.
4.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
5.
On the Configure Retail Hardware Station page, clear the Configure Retail Server option.
6.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
7.
8.
Open the folder where the installation files are installed. By default, the files are located at C:\Program
Files (x86)\Microsoft Dynamics AX\60\HardwareStation\Tools.
2.
Create a copy of the hs-settings.xml file. We recommend that you do not change the original file.
3.
Open the hs-settings.xml file in Microsoft Visual Studio or a text editor, such as Notepad.
4.
What to enter
Default value
WebAppPoolName
HardwareStationAppPool
HardwareStationWebsite
None
269
Microsoft Dynamics AX
Parameter
What to enter
Default value
WebSiteHttpsPort
None
HardwareStation
My
re
WebSiteSSLCertificateRo
LocalMachine
%SystemDrive%\inetpub\H
ardwareStation
None
otStore
WebSiteWorkingFolder
WebAppPoolUser
umbprint
None
narySourceFolder
None
AX\60\HardwareStation\Package folder
WebApplicationWorking
The folder from where the web service will run. You
[RetailServerWebSiteWorki
Folder
ngFolder]\[RetailServerWe
WebApplicationServiceBinarySourceFolder or any
bApplicationName]
available folder.
270
Microsoft Dynamics AX
Parameter
What to enter
Default value
RetailServerURL
None
5.
On the server where you want to run the script, open the folder where the PowerShell scripts are
installed. By default, the files are located at C:\Program Files (x86)\Microsoft Dynamics
AX\60\HardwareStation\Tools
2.
If youre using Windows Server 2012 or a later operating system, use Windows Explorer to open the
folder where the scripts are installed. Then click File > Open Windows PowerShell > Open Windows
PowerShell as administrator.
If youre using Windows Server 2008 R2 or an earlier operating system, start Windows PowerShell as
the administrator. Then, change the directory by using the following command: CD <Path to directory>.
3.
In the Windows PowerShell console, run the following command to create a credential object in
Active Directory for the service account. Replace domain\useraccount and password with
credentials that have permission to create sites in IIS:
$Cred = @((New-Object
System.Management.Automation.PSCredential(domain\useraccount',(ConvertTo-SecureString
'password' -AsPlainText -Force))))
4.
For example:
.\DeployHardwareStation.ps1 -SettingsXmlFilePath "C:\Program Files (x86)\Microsoft Dynamics
AX\60\HardwareStation\Tools\hs-settings.xml" -TopologyXmlFilePath "C:\Program Files
(x86)\Microsoft Dynamics AX\60\HardwareStation\Tools\hs-topology.xml" -Credentials $Cred
Verbose $true
271
Microsoft Dynamics AX
Verify deployment
Details
Verify that the SharePoint server(s) that will host the Retail
online store meet the following requirements: 16 GB of RAM
recommended; 10 GB of RAM and 4 processors, minimum.
Verify that the SQL server is not running SQL Express. The retail
online store is not supported with SQL Express.
272
Microsoft Dynamics AX
Task
Details
(http://technet.microsoft.com/library/fbe52b68-1294-4398-
environment
b233-f8ec37c6d531(AX.60).aspx)
Retail headquarters
Retail SDK
environment
running in IIS
Manager.
Important:
If the SharePoint Web Services Root application pool is
stopped, you must start it.
running
Central Administration
273
Microsoft Dynamics AX
Task
Details
If you did not install and configure SharePoint, verify that you
are a member of the farm administrator role in SharePoint and
that you have administrator access to each site collection in the
farm.
Verify or create the following domain accounts. You will specify these
accounts when you deploy the Retail online store later in this topic.
Retail Job User: This account was specified when you installed
SharePoint. It is the account under which the SharePoint Timer
Service runs.
certificates
274
Microsoft Dynamics AX
2.
Highlight the Managed Metadata Service Connection row and then click Properties.
3.
4.
275
Microsoft Dynamics AX
Save the file in the Retail SDK folder and give it a name Name.snk.
2.
Edit the UpdateAssemblyIdentities.ps1 file in the Retail SDK folder. You must update the version
number and the thumbprint of the key file (lines 97, 98).
3.
Update the source code to use the strong name certificate by executing the
UpdateAssemblyIdentities.ps1 script. This script can take several minutes to complete.
Additional steps and recommendations for developers are described in the Next steps for developers
section in this topic.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
On the Select installation type page, click Custom installation, and then click Next.
5.
On the Select components page, select Retail online channel, and then click Next.
6.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
7.
On the Configure a Microsoft Dynamics AX Retail online store page, enter the following
information about the web site where Retail Server will run.
Configure Retail online store: On the Configure the Retail online channel page, select the
check box to configure online store by using Setup. If you clear this option, the application files
are installed, but the online store is not deployed or configured.
If youre configuring Retail Server, enter the following information:
276
Microsoft Dynamics AX
Storefront to deploy: Select a Retail starter store to deploy. The Contoso starter store is modeled
after an online electronics retailer. The Fabrikam starter store is modeled after an online clothing
retailer.
Database server: The name of the server that will host the Retail online store databases
Channel database name: The name of the Retail channel database. If this database does not
exist, you must cancel Setup and install a Retail channel database.
User name and Password: The credentials for a domain account that has permission to create
web applications and execute PowerShell scripts in SharePoint.
Pfx file path: The path to the Pfx file for the SSL certificate.
Important:
This path cannot contain any special characters. If the path contains a special character
deployment fails.
Channel operating unit number: A channel operating unit number is specified when you create
an online channel in the Microsoft Dynamics AX client. You must create the channel before you
deploy the Retail online store. To locate this operating unit number, click Retail > Retail
channels > Online Stores.
8.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
9.
10. After the installation is completed, click Finish to close the wizard.
If the deployment succeeded, proceed to the Verify deployment section in this document. If the
deployment failed check the Microsoft Dynamics AX log file and the Windows event logs for information.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
On the Select installation type page, click Custom installation, and then click Next.
5.
On the Select components page, select Retail online channel, and then click Next.
277
Microsoft Dynamics AX
6.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
7.
On the Configure a Microsoft Dynamics AX Retail online store page, clear the Configure Retail
online store option. Click Next.
8.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
9.
10. After the installation is completed, click Finish to close the wizard. Setup extracts files and creates the
following folder on the local server:
C:\Program Files (x86)\Microsoft Dynamics AX\60\Retail Online Channel
Open the manifest.xml file in the following directory on the SharePoint server:
C:\...\Retail Online Channel\StoreFront\SP
2.
3.
The Microsoft.Web.Administration.dll in the global assembly cache will not be overwritten when you
execute PowerShell commands later in this topic.
Configure settings in the oob-settings.xml file
This section describes how to configure settings in the oob-settings.xml file.
1.
2.
Open the oob-settings.xml file in Microsoft Visual Studio or a text editor, such as Notepad.
278
Microsoft Dynamics AX
3.
What to enter
Default
StoreFront_Name
Contoso
Default
USA
United States
${0}
Template
SharepointPackageInstance
None, but we
Identifier
recommend a
value of 1
StoreFront_ItemAvailability
10
Threshold
StoreFront_ShoppingCart
ExpiryTerm
None
hours.
StoreFront_LanguageId
1033
279
Microsoft Dynamics AX
Parameter
What to enter
Default
StoreFront_DeviceChannels
Device Channels
ListName
LoggingServiceName
Dynamics AX
Retail Logging
Service
[SharepointPacka
geInstanceIdentifi
er]
General Logging
[SharepointPacka
geInstanceIdentifi
er]
Dynamics AX
Name
Retail Monitoring
[SharepointPacka
geInstanceIdentifi
er]
280
Microsoft Dynamics AX
Parameter
What to enter
Default
The port for the public online store site: You can specify
40002
Fabrikam starter
store
StoreFrontUrlPort_SSL_Publ The port for the public online store site for encrypted
40004
ic
Fabrikam starter
store
StoreFrontUrlPort_Internal
The port for the internal online store site: You can specify 40003
any available port. This URL is only accessed by domain
users with permission to make changes to the site collection
by using SharePoint site settings. It is not required, but you
can change this port value if you want the internal online
The port for the internal product catalog site: You can
40001
rnal
Fabrikam starter
store
False
The local web address of the Retail online store (as opposed
http://%COMPUT
otUrl_FormsAuth
ERNAME%:[Store
FrontUrlPort_Publ
ic]
The local web address of the 40003 site. Enter a valid server
http://%COMPUT
otUrl_WindowsAuth
ERNAME%:[Store
FrontUrlPort_Inter
nal]
http://www.[Store
otUrl_FormsAuth_Public
Front_Name].com
:[StoreFrontUrlPor
t_Public]
281
Microsoft Dynamics AX
Parameter
What to enter
Default
StoreFrontSiteCollectionRo
https://%COMPU
otUrl_SSL_FormsAuth
TERNAME%:[Stor
eFrontUrlPort_SSL
_Public]
-------------------SSL
--------------------
https://www.[Stor
otUrl_SSL_FormsAuth_Publi
eFront_Name].co
m:[StoreFrontUrlP
ort_SSL_Public]
PublishingPortalRelativePa
/sites/RetailPublis
th
hingPortal
umbprint
None
ectory
the .pfx file for the SSL certificate. This value can be a
None
network share.
Important:
This path cannot contain any special
characters. If the path contains a special
character deployment fails.
282
Microsoft Dynamics AX
Parameter
What to enter
Default
StoreFrontPublicSSLCertLo
None
calDirectory
StoreFrontPublicSSLCertPf
xFileName
is .pfx.
None
xPassword
None
exclamation point (!), greater than sign (<), less than sign
(>), ampersand (&), apostrophe (), or a quotation mark ().
-------------------DOMAIN ACCOUNTS and
MISCELLANEOUS
-------------------StoreFrontWebAppPoolUse
None
http://%COMPUT
onRootUrl_WindowsAuth
ERNAME%:[Produ
ctCatalogUrlPort_I
nternal]
283
Microsoft Dynamics AX
Parameter
What to enter
Default
ProductCatalogWebAppPo
None
olUser
ProductCatalogName
STSWebAppPoolUser
Enter any name for the product catalog. This value is not
Retail Product
displayed to customers.
Catalog
None
None
ber
None
client. You must create the channel before you deploy the
Retail online store. To locate this operating unit number,
click Retail > Retail channels > Online Stores.
DestinationId
None
eInstanceServers
None
None
None
284
Microsoft Dynamics AX
Parameter
What to enter
SharePointRelyPartyUrl
Default
https://www.[Stor
eFront_Name].co
m:[StoreFrontUrlP
ort_SSL_Public]/_t
rust/
-------------------DATABASE DETAILS
-------------------ChannelDatabaseServerNa
me
None
medInstanceName
None
None
erverName
None
erverNamedInstanceName
None
285
Microsoft Dynamics AX
Parameter
What to enter
Default
CustomClaimsProviderData
None
baseServerName
CustomClaimsProviderData
baseServerNamedInstance
Name
None
of a named instance.
BingMapsId
If you want your Retail online store to work with Bing Maps,
None
then you must register with Bing Maps. Specify the Bing
Maps ID here.
ShowDebugErrorMessages
None
Important:
To keep a record of the settings and parameters you specified, we recommend that you make a
copy of the oob-settings.xml file after you finished entering parameters.
Configure Facebook integration
The Retail online store can authenticate users who sign in to your site by using their Facebook credentials.
This section describes how to configure your environment for Facebook authentication.
Important:
Facebook integration is optional. However, if you do not want to use Facebook authentication,
then you must disable this feature in the oob-topology.xml file. If you do not disable it, the
deployment scripts fail. For more information, see Disable Facebook integration later in this
topic.
Create a Facebook application: Use the following procedure to create a Facebook application that
enables Facebook logon to your site.
1.
2.
3.
Click Create New App and then follow the prompts to create a new application.
4.
In the Select how your application integrates with Facebook section, click the Website with
Facebook Login option and specify the Site URL.
5.
286
Microsoft Dynamics AX
6.
On the applications landing page, select the application that you just created.
7.
In the oob-settings.xml file, search for FacebookApplicationId. Replace the value with the Facebook
ID. Retain the quotation marks.
8.
In the oob-settings.xml file, search for FacebookApplicationSecret. Replace the value with the secret
you created for your Facebook application. Retain the quotation marks.
9.
Certificates: Use the following procedure to create certificates for Facebook authentication. For
production environments, you must register your domain and obtain a valid, registered SSL certificate
from a provider. For developer and evaluation environments, you can use a self-signed certificate
(http://go.microsoft.com/fwlink/?LinkId=235235). For information about how to work with certificates see
Certificate Overview (http://go.microsoft.com/fwlink/?LinkId=282620).
1.
Search in the oob-settings.xml file for the parameters listed in the following table. Enter a value for
each parameter. For each value, retain quotation marks () but remove percent signs (%).
Parameter
What to enter
FacebookApplicationId
FacebookApplicationSecret
FacebookCertificateDirectory
FacebookCertificateLocalCopyDirect
ory
FacebookSigningCertificateCerFileNa
Enter a value with the name of the certificate .cer file in the form
me
FacebookSigningCertificatePfxFileNa
Enter a value with the name of the certificate .pfx file in the form
me
FacebookSigningCertificatePfxPassw
ord
287
Microsoft Dynamics AX
Parameter
What to enter
FacebookSigningCertificateThumbpri The thumbprint for your Secure Sockets Layer (SSL) encryption
nt
FacebookSignInUrl
mbprint
2.
2.
3.
288
Microsoft Dynamics AX
4.
5.
Open the oob-topology.xml file in Microsoft Visual Studio or a text editor, such as Notepad.
2.
Search in the oob-topology.xml file for the parameter listed in the following table. Enter a value for
each parameter. For each value, retain quotation marks () but remove percent signs (%).
Search for
Enter
<TrustedIdentityTokenIssuer id="Facebook"
install="true" deleteifexists="true">
<TrustedIdentityTokenIssuer id="Facebook"
install="false" deleteifexists="false">
3.
289
Microsoft Dynamics AX
InstallPrereqs-SPFarm.ps1
This script performs the following actions on the server.
Area
Actions
290
Microsoft Dynamics AX
Area
Actions
are performed.
If any of these checks fail, the script will not perform the installation.
Run InstallPrereqs-SPFarm.ps1: Use the following procedures to run this script.
Warning:
SQL Server work-around for cumulative update 1
Cumulative update 1 has a known issue where the InstallPrereqs-SPFarm.ps1 script fails if SQL
Server is not installed on the server where you are running this script. If SQL Server is not installed
on the server and if you do not intend to install any databases, complete the following steps
before you run the InstallPrereqs-SPFarm.ps1 script.
1.
2.
Open the Custom-Scripts.ps1 file in Microsoft Visual Studio or a text editor, such as Notepad.
3.
4.
291
Microsoft Dynamics AX
1.
On the server where you want to run the script, open your copy of the tools folder where the
PowerShell scripts are installed.
2.
If youre using Windows Server 2012 or a later operating system, use Windows Explorer to open the
folder where the scripts are installed. Then click File > Open Windows PowerShell > Open Windows
PowerShell as administrator.
If youre using Windows Server 2008 R2 or an earlier operating system, start pw_wps as the
administrator. Then, change the directory by using the following command: CD <Path to
directory>.
3.
Run the following command to verify prerequisites for the online store:
.\InstallPrereqs-SPFarm.ps1 oob-topology.xml oob-settings.xml
When the system finishes the operation, you can run the next script.
Generate-WSP.ps1
This script creates a SharePoint solution package (.WSP file) for your computing environment. The
solution package includes properties such as connection strings, URLS, and ports from the oobtopology.xml and oob-settings.xml files. The solution package also includes binaries and static web files
that were deployed by Microsoft Dynamics AX Setup to the Retail Online Channel directory.
Run Generate-WSP.ps1:
In the Windows PowerShell console, run the following command to generate the WSP file for the online
store:
.\Generate-WSP.ps1 oob-topology.xml oob-settings.xml
Important:
Due to a known issue, the following script can fail with a file access error. If the script fails, re-run
it. It should finish successfully the second time.
When the system finishes the operation, you can execute the next script.
Deploy-FarmSolutions.ps1
This script performs the following actions on the server.
Activates features
If you re-run this script, the system performs the following actions before deploying the solution package
or activating features. You can toggle options to preserve settings, as described earlier in this document.
1.
Deactivates features
2.
3.
Run Deploy-FarmSolutions.ps1:
In the Windows PowerShell console, run the following command to deploy the solution to SharePoint.
.\Deploy-FarmSolutions.ps1 oob-topology.xml oob-settings.xml
292
Microsoft Dynamics AX
When the system finishes the operation, you can verify the deployment.
Verify deployment
If all deployment scripts completed without errors, use this section to help verify the online store
deployment.
Verify that the Connector Service is running: After a successful deployment, the Dynamics AX
Publishing Connector Service is running in SharePoint Central Administration. At this point, the service
displays an error No channel configuration could be found in the database, which means that the
channel has not been configured in Microsoft Dynamics AX yet. For information about configuring a
channel, see the section titled Set up the online store in Microsoft Dynamics AX in Online Store
(http://technet.microsoft.com/library/56364854-9730-4afa-8cf7-ae337ce2257a(AX.60).aspx).
Use the following procedure to verify that the Dynamics AX Publishing Connector service is running.
1.
In SharePoint Central Administration under System Settings, click Manage services on server.
2.
3.
In SharePoint Central Administration, click Monitoring, and then click Job Status.
4.
Verify that you see jobs listed for the C1 Application for Retail Store Front Internal and the Out
of box Store front Public.
Verify that site collections exist and can be browsed: After a successful deployment, you can view the
Retail online store web applications and site collections in SharePoint Central Administration. If you
specified different URLs for your web applications, you must adjust the URLS below accordingly.
Note:
If you installed the Fabrikam starter store, change port values below from the 40,000 range to the
50,000 range. For example: The Contoso starter store product catalog site is
http://ServerName:40001/sites/RetailProductCatalog. The Fabrikam starter store product catalog
site is http://ServerName:50001/sites/RetailProductCatalog.
1.
In SharePoint Central Administration, click Application Management, and then click View all site
collections.
2.
On the C1 Application for Retail Store Front Internal web application, copy the
http://ServerName:40001/sites/RetailProductCatalog URL and paste it into a browser. Verify that the
Welcome to your product catalog site displays.
3.
In SharePoint Central Administration, click the Web application drop-down list and then click
Change web application.
4.
5.
In the URL section, verify that you see the following URLs:
http://ServerName:40002/sites/RetailPublishingPortal
http://ServerName:40002
6.
Copy and paste each URL into a browser. Verify that you see the Contoso electronic superstore site
and the Contoso electronic superstore sign-in site. If the sign-in site displays a certificate warning,
click Continue to this web site. This warning appears if you used a self-signed certificate.
293
Microsoft Dynamics AX
Verify that you can create and sign-in with a new forms-based user account: You should be able to
register a new user account and logon from the public URL. By completing the sign-up process you verify
SQL Server connectivity, SSL port settings, and SSL certificate bindings.
1.
Paste the public URL into a browser and press Enter. For example:
http://ServerName:40002/sites/RetailPublishingPortal
2.
3.
Enter an email address and a strong password in the required fields and then click Create account.
Note that if you see more than one email and password field on the page, it means that you executed
the Deploy-FarmSolutions.ps1 script multiple times on this server. This is a known issue. To create the
forms-based user account, you must enter the email address and strong password in each field. Also
note that you receive an error after you register the account because the online channel has not been
configured in Microsoft Dynamics AX.
4.
5.
Click the Sign In link and enter the information for the account that you just created. The system logs
you onto the Contoso electronics site as a registered user.
Verify that you can browse the public URL: If you registered a domain, you should be able to browse
the web address for your site. For example, you should be able to browse
http://www.<your_domain>.com/sites/RetailPublishingPortal. If you have not yet registered the domain
then you must create a hosts file entry and disable proxy settings in your browser (if applicable) before
you attempt to browse the web address.
Detail
After you deploy the Microsoft Dynamics AX Retail online store, you must
setup the online channel in Microsoft Dynamics AX. See the Online store
setup checklist. The checklist is available in the Microsoft Dynamics AX
client: Retail > Setup > Online store setup checklist.
Note:
If the online channel has already been set up in Microsoft
Dynamics AX then you only need to publish the channel and
publish a catalog. For information, see Publish an online store in
Set up an online store
(http://technet.microsoft.com/library/7150615f-3c60-498c-be7640e07d0c0ce6(AX.60).aspx) and Publish a catalog in Key tasks:
Create retail product catalogs
(http://technet.microsoft.com/library/e0af4c3e-0908-4bf9-8193522a102bb772(AX.60).aspx).
294
Microsoft Dynamics AX
Step
Detail
store
(http://technet.microsoft.com/library/56364854-9730-4afa-8cf7ae337ce2257a(AX.60).aspx).
Deploy to production
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
295
Microsoft Dynamics AX
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Retail mass deployment toolkit, and then click Next.
7.
On the Connect to an AOS instance page, enter information about the AOS instance to connect to.
Click Next.
8.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
9.
10. After the installation is completed, click Finish to close the wizard.
Share the content root folder. By default, the folder is located at C:\Program Files (x86)\Microsoft
Dynamics AX\60\Retail Scaleout Deployment\ConfigManagerContent. Note the folder location. You
must enter the Universal Naming Convention (UNC) path of this location when you run the
initialization command.
2.
3.
You are prompted to confirm that the application will open specific ports on your behalf on target
computers. Press Y to confirm.
See Also
Mass deploy Retail components (http://technet.microsoft.com/library/15ded62a-f6d3-44a4-8fe693e7f19ea558(AX.60).aspx)
296
Microsoft Dynamics AX
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
If youre installing AX 2012 R3, in the Select an installation option page, click Microsoft Dynamics
AX.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Retail SDK, and then click Next.
7.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
8.
9.
297
Microsoft Dynamics AX
Description
Databases
AOS
Client
Web services on IIS are not used in Retail essentials. You can
clear the check box for this component.
Retail essentials
Real-time Service
Real-time Service is an integrated service that provides realtime communication between Microsoft Dynamics AX and retail
channels. Real-time Service enables individual point of sale
(POS) computers to retrieve certain data from Microsoft
Dynamics AX in real time.
298
Microsoft Dynamics AX
Component
Description
To view reports in Retail essentials, you must install Microsoft SQL Server Reporting Services and the
Reporting Services extensions for Microsoft Dynamics AX. For more information, see Checklist: Install the
Reporting Services extensions and deploy reports.
Select service accounts for AOS, the .NET Business Connector proxy, Real-time Service, Async Server,
and the Data Import/Export Framework. For information about the requirements for these accounts,
see Create service accounts.
On the computer where you plan to install these components, run the prerequisite validation utility to
verify that system requirements have been met. For information about how to run the prerequisite
validation utility, see Check prerequisites.
For more information about the hardware and software requirements for Microsoft Dynamics AX, see
the system requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on the computer, the Select a file location page
is displayed. The Setup Support files are required for installation. Enter a file location or accept the
default location, and then click Next.
4.
5.
On the Select an installation option page, click Microsoft Dynamics Retail essentials. Select the
Headquarters option, and then click Next.
6.
On the Add or modify components page, the components that are required to install Retail
essentials at headquarters are automatically selected. Review and change the selections as you
require, and then click Next.
7.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
8.
On the Select a file location page, select the location in which to install 32-bit versions of Microsoft
Dynamics AX files, and then click Next.
9.
On the Select databases page, select whether you want to create new databases by using Setup, or
whether you want to configure existing databases.
299
Microsoft Dynamics AX
10. If you want Setup to create the databases, on the Create new databases page, in the Server name
list, select the name of the computer that runs Microsoft SQL Server. Provide database names, or
accept the default database names. By default, the transaction database is named
MicrosoftDynamicsAX. The baseline database is optional. By default, the baseline database is named
MicrosoftDynamicsAXBaseline.
If you want to connect to an existing database, on the Connect to the databases page, select the
name of the computer that runs SQL Server, and then select the names of the existing databases to
configure.
Important:
The database name must not include any spaces or any of the following characters:
backslashes (\), slashes (/), periods (.), commas (,), colons (:), brackets ([ ]), parentheses (( )), or
hyphens (-). For more information about characters that are allowed by SQL Server, see the
Identifiers (http://go.microsoft.com/fwlink/?LinkId=214698) topic on MSDN.
Click Next.
11. On the Select additional models page, select models in the Available Models list. Setup lists all the
models that are contained in the Models folder and its subfolders. Required models are selected by
default, and you cannot clear the selection.
Note:
You may have models, or .axmodel files, that are not electronically signed. The Setup program
cannot verify the publisher of an unsigned model file. If you import an unsigned model file
into the model store, you create a security risk. Setup displays an error message if a selected
model file does not have a digital signature. Before you decide whether you want to continue
or cancel the installation, carefully review the models that you have selected.
If you install models other than the Foundation models, you must complete the Compile application
task when you run the initialization checklist. If you do not complete the Compile application task,
you encounter errors when you run the Synchronize database task in the initialization checklist. For
more information about the initialization checklist, see Initialize Microsoft Dynamics AX
(http://technet.microsoft.com/library/ba7f64a8-c5c3-4a9a-927b-21afc16f92af(AX.60).aspx).
Click Next to continue.
12. On the Configure an Application Object Server (AOS) instance page, assign a name to the AOS
instance. Optionally, you can specify the ports that are listed in the following table.
Port
Purpose
Default value
TCP/IP port
2712
External applications use this port to access the WSDL for AOS-
8101
8201
300
Microsoft Dynamics AX
13. On the Specify an AOS account page, select the Network Service account of the local computer
(recommended only for development environments), a managed service account, or a domain
account for the AOS service. If you select to use a managed service account, make sure that you
specify the account in the format Domain\AccountName$.
Warning:
The process of manually changing the service account for an AOS instance is complex and
prone to error. Therefore, if you must change the service account for an AOS instance, we
recommend that you uninstall and reinstall the AOS instance by using Setup.exe. For more
information, see Change the account used by AOS
(http://technet.microsoft.com/library/87aaf2fa-1190-4036-9d39-c1252c48da88(AX.60).aspx).
14. On the Select client preferences page, select the display language that is used in the client, and
specify whether you want Setup to create a desktop shortcut for the client. Additionally, select one of
the following installation types:
Business user The basic client is installed. This type of client installation is appropriate for most
users.
Developer The client, the developer workspace, and additional files that are required for
development tasks are installed.
Administrator The client and additional files that are required for administrative tasks are
installed. Administrative tasks include the deployment of artifacts and the creation of users.
Click Next.
15. On the Specify Business Connector proxy account information page, enter the password for the
proxy account that is used by .NET Business Connector. Click Next.
16. On the Configure Async Server page, select the check box to configure Async Server by using Setup.
Enter the following information:
Application name The name of the web application that hosts Async Server.
App pool name The name of the application pool that the web application runs under.
We recommend that you specify separate application pools if multiple Retail components are
installed on the same computer. Multiple web applications can share an application pool if
resources on the computer are limited. However, if the shared application pool fails, all of the
applications that use it will stop responding. In addition, if one application is heavily used, it can
negatively affect the performance of the other applications in the pool.
Website name The name of the website that Async Server runs on.
User name and Password The credentials for the application pool identity.
301
Microsoft Dynamics AX
HTTPS port The port on which Async Server receives HTTPS requests. You can specify any
available port. Verify that the port is open in Windows Firewall, and also record the port number.
The port is used to create the URL for Async Server in the following format: https://<server
name>:port/<web application name>. This URL is required when you configure instances of
Commerce Data Exchange: Async Client that connect to this instance of Async Server.
Warning:
To avoid conflicts with the Default Web Site on the computer, we recommend that you
do not use the default HTTPS port (443). A nonstandard port number also helps make the
website more secure.
TCP port (optional) The port on which Async Server receives TCP requests. Specify a TCP port if
your environment uses high-performance data synchronization. You can specify any available
port. Verify that the port is open in Windows Firewall.
AOS service user The user account that the AOS instance runs as.
SSL certificate thumbprint The thumbprint for the Secure Sockets Layer (SSL) encryption
certificate. You must obtain a valid, registered certificate from a provider.
Application name The name of the web application that hosts Real-time Service.
Website name The name of the website that hosts Real-time Service.
App pool name The name of the application pool that Real-time Service runs in.
We recommend that you specify separate application pools if multiple Retail components are
installed on the same computer. Multiple web applications can share an application pool if
resources on the computer are limited. However, if the shared application pool fails, all of the
applications that use it will stop responding. In addition, if one application is heavily used, it can
negatively affect the performance of the other applications in the pool.
User name and Password The credentials for the application pool identity.
HTTPS port The port on which Real-time Service receives secure HTTP requests. You can specify
any available port. Verify that the port is open in Windows Firewall.
Warning:
To avoid conflicts with the Default Web Site on the computer, we recommend that you
do not use the default HTTPS port (443). A nonstandard port number also helps make the
website more secure.
302
Microsoft Dynamics AX
TCP port The port on which Real-time Service receives TCP requests. You can specify any
available port. Verify that the port is open in Windows Firewall.
SSL certificate thumbprint The thumbprint for your SSL encryption certificate. You must obtain
a valid, registered certificate from a provider.
303
Microsoft Dynamics AX
Description
Retail POS
304
Microsoft Dynamics AX
Select service accounts for Async Client. Youll need an account to run the Async Client Windows
service and an account to connect to Async Server. For information about the requirements for service
accounts, see Create service accounts.
Create the channel database that will be used with this instance of Async Client. When you install a
channel database, the groups that have permissions on the database are created. During the Async
Client installation, the service user is added to this group. For more information, see Install a retail
channel database.
On the computer where you plan to install these components, run the prerequisite validation utility to
verify that system requirements have been met. For information about how to run the prerequisite
validation utility, see Check prerequisites.
For more information about the hardware and software requirements for Microsoft Dynamics AX, see
the system requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on the computer, the Select a file location page
is displayed. The Setup Support files are required for installation. Enter a file location or accept the
default location, and then click Next. On the Ready to install page, click Install.
4.
On the Select an installation option page, click Microsoft Dynamics Retail essentials. Select the
Point of sale option, and then click Next.
5.
On the Add or modify components page, the components that are required to install Retail
essentials at the point of sale are automatically selected. Review and change the selections as needed,
and then click Next.
6.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
7.
On the Configure Async Client page, select the check box to configure Async Client by using Setup.
Enter the following information:
Async Server URL The URL for the instance of Async Server. Typically, the URL is in the format
https://<server name>:port/<web application name>.
If Async Server is installed in a cluster with a load balancer, enter the URL to the service on the
load balancer.
Channel database ID The identifier in Microsoft Dynamics AX for the channel database that is
used by the selected instance of Async Client.
User name and Password (Async Server connection) The credentials for the user that connects
to Async Server. These credentials must match the credentials that are specified in the channel
database profile. Credentials are case sensitive. The credentials are used to identify and
authenticate Async Client.
305
Microsoft Dynamics AX
User name and Password (Async Client) The credentials for the user that runs the Windows
service for Async Client. The user does not have to be a domain account. It can be a member of a
workgroup on the local computer. Credentials are case sensitive.
Optionally, click Test connection to verify that Async Client is configured correctly. For information
about how to troubleshoot any errors that you encounter, see Troubleshoot configuration issues for
Async Client (http://technet.microsoft.com/library/5c841baa-605f-47fe-809e030c43d5caa8(AX.60).aspx).
Click Next.
8.
On the Select or specify a database to use with Async Client page, enter server and database
information for the message database and the channel database that will be used by Async Client.
You can connect to only an existing channel database. Setup does not create a new channel database
if you enter a channel database name that doesnt exist. If you specify a message database name that
doesnt exist, Setup creates a new message database.
Click Next.
9.
On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next.
Configure data distribution settings. For more information, see Configure and schedule retail data
distribution (http://technet.microsoft.com/library/65b29a72-c7a7-453e-8f978281548df0a6(AX.60).aspx).
Use the Async Client Configuration Tool to test the connections to Async Server, the channel
database, and the channel message database. You can also use the utility to set advanced options. For
more information, see Configure settings for Async Client
(http://technet.microsoft.com/library/3356c7a4-6c49-4a4d-932d-1954dfe413d6(AX.60).aspx).
After you have determined that all connections are working, run the distribution schedule that sends
data to each channel database. Click Retail > Setup > Retail scheduler > Channel integration >
Channel database. Then click Full data sync and select the Full sync distribution schedule.
306
Microsoft Dynamics AX
Register your organization for RapidStart Services. Contact your partner or register yourself through
http://www.dynamicsonline.com.
On the computer where you plan to install this component, run the prerequisite validation utility to
verify that system requirements have been met. For information about how to run the prerequisite
validation utility, see Check prerequisites.
For more information about the hardware and software requirements for Microsoft Dynamics AX, see
the system requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
Create a domain account to use for the RapidStart Connector Windows service. For more information,
see Create service accounts.
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
On the Modify Microsoft Dynamics AX installation page, click Add or modify components, and
then click Next.
5.
On the Add or modify components page, select RapidStart Connector, and then click Next.
307
Microsoft Dynamics AX
6.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
7.
On the Microsoft Dynamics ERP RapidStart Connector page, enter the domain user account for the
RapidStart Connector Windows service, and then click Next.
8.
On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next.
9.
10. After the installation is completed, click Finish to close the wizard.
308
Microsoft Dynamics AX
Create service accounts. You must create a separate service account for each instance of Warehouse
Mobile Devices Portal that you plan to install. Each service account is used as the application pool
identity for a Warehouse Mobile Devices Portal website. For more information, see Create service
accounts.
On the computer where you plan to install this component, run the prerequisite validation utility to
verify that system requirements have been met. For information about how to run the prerequisite
validation utility, see Check prerequisites.
For more information about the hardware and software requirements for Microsoft Dynamics AX, see
the system requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Warehouse Mobile Devices Portal, and then click Next.
7.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
309
Microsoft Dynamics AX
8.
9.
On the Configure the Warehouse Mobile Devices Portal page, enter information in the following
fields:
Domain, User name, and Password Enter information about the service account that will run
the application pool for the website. If you are installing multiple instances of Warehouse Mobile
Devices Portal to support multiple companies in Microsoft Dynamics AX, each instance must use a
different service account.
Website port Enter the port number that the website will run on. If multiple instances of
Warehouse Mobile Devices Portal are installed on the same computer, use a different port
number for each instance.
On the Best practices checklist page, read about each recommended best practice. Select the
corresponding check box to indicate that an item is completed.
Important:
We strongly recommend that you follow the security best practices on this page. However,
the list of best practices is included in Setup as a reminder only. You can continue the
installation regardless of your selections on this page.
10. On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
11. On the Ready to install page, click Install.
12. After the installation is completed, click Finish to close the wizard.
2.
Right-click the website for an instance of Warehouse Mobile Devices Portal. Click Explore to open the
physical folder for the site.
3.
Before you make any changes, we recommend that you make a copy of the web.config file. You can
then easily revert to the previous version if you have to undo your changes.
4.
5.
6.
Update the endpoint address that is associated with the net.tcp binding.
7.
310
Microsoft Dynamics AX
311
Microsoft Dynamics AX
Ensure that a System Center 2012 Data Protection Manager server is installed and configured.
Important:
Agents cannot be installed on the Data Protection Manager server. Do not install AX 2012 R2
components on the same server.
Create a folder that the AX VSS writer will use to store temporary backup files. This folder should not
be used for any other purpose, and access should be limited to the service account for the AX VSS
writer.
Create a service account for the AX VSS writer. This account must be a local administrator on all the
computers that you plan to protect by using this component. Additionally, the account must have
read/write permission to the location where temporary backup files are stored.
Install a DPM agent on all the computers that you plan to protect by using this component. For more
information about Data Protection Manager, see Installing and Configuring Protection Agents
(http://technet.microsoft.com/en-us/library/hh758039.aspx).
On the computers where you plan to install this component, run the prerequisite validation utility to
verify that system requirements have been met. For information about how to run the prerequisite
validation utility, see Check prerequisites.
For more information about the hardware and software requirements for Microsoft Dynamics AX, see
the system requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
312
Microsoft Dynamics AX
On every computer that you plan to protect, start Microsoft Dynamics AX Setup. Under Install, select
Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
On the Modify Microsoft Dynamics AX installation page, click Add or modify components, and
then click Next.
5.
On the Add or modify components page, select VSS writer, and then click Next.
6.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
7.
Enter the requested information for the component that you are installing.
Component
Required information
Server (AOS)
Database
All
8.
313
Microsoft Dynamics AX
9.
10. Repeat these steps for all other components that you plan to protect.
Next steps
The following topics describe the next steps:
Protect a Microsoft Dynamics AX 2012 R2 environment with System Center 2012 Data Protection
Manager (http://technet.microsoft.com/library/b5b01674-f894-4dd6-9694ab5bc1a8351a(AX.60).aspx)
Recover a Microsoft Dynamics AX 2012 R2 environment with System Center 2012 Data Protection
Manager (http://technet.microsoft.com/library/6016640f-782d-489e-983b9cb9b33badbe(AX.60).aspx)
314
Microsoft Dynamics AX
Create or select the user accounts that will be used to run the Connector service and to integrate data
between Microsoft Dynamics AX and Microsoft Dynamics CRM. For more information about the
requirements for these accounts, see Create service accounts.
On the computer where you plan to install this component, run the prerequisite validation utility to
verify that system requirements have been met. For information about how to run the prerequisite
validation utility, see Check prerequisites.
For more information about the hardware and software requirements for Microsoft Dynamics AX, see
the system requirements (http://go.microsoft.com/fwlink/?LinkId=165377).
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
315
Microsoft Dynamics AX
4.
If youre installing AX 2012 R3, in the Select an installation option page, click Microsoft Dynamics
AX.
5.
On the Select installation type page, click Custom installation, and then click Next.
6.
On the Select components page, select Connector for Microsoft Dynamics, and then click Next.
7.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
8.
If you are installing Connector on a 64-bit operating system, the Select a file location page is
displayed. Select the location where you want 32-bit versions of Microsoft Dynamics AX files to be
installed, and then click Next.
9.
On the Configure the CRM connector installation page, enter the name of the Microsoft SQL Server
instance that will host the Microsoft Dynamics Integration (MSDI) database.
Note:
The MSDI database doesnt have to be on the same physical server as Connector for
Microsoft Dynamics.
10. On the Enter server and port information to connect CRM Connector to an AOS instance page,
enter the name of the server where the AOS instance is installed, and enter the port number that the
AOS instance uses for TCP/IP communication.
11. On the Configure an integration user page, enter information about the user account that is used to
integrate data between Microsoft Dynamics CRM and Microsoft Dynamics AX. If the user does not
already exist in Microsoft Dynamics AX, select Create new account. The user will be added, and the
Microsoft Dynamics AX user ID will be AxIntUsr. If the user already exists in Microsoft Dynamics AX,
select Use existing account, and enter a user ID.
12. On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
13. On the Ready to install page, click Install.
14. After the installation is completed, click Finish to close the wizard.
316
Microsoft Dynamics AX
A running version of AX 2012 that has been configured for your business
A running version of Microsoft SQL Server Integration Services that is running the same version of
SQL Server that is hosting the Microsoft Dynamics AX business and model store database
Important:
Because the staging environment is highly normalized and might require significant processing
bandwidth, we recommend that you increase the Maximum buffer size setting for your
environment while you migrate data. Use the Server configuration utility to set the value. For
more information, see Tune data access settings (http://technet.microsoft.com/library/f799430e56b0-4b77-abdc-517820390dd2(AX.60).aspx).
317
Microsoft Dynamics AX
On the computer that is running Integration Services, right-click Setup.exe, and then click Run as
administrator.
Important:
If you do not run Setup as an administrator, the Data Import/Export Framework DLLs will not
be copied to the correct locations or registered.
2.
In the Setup wizard, accept the license terms, and then, on the Select components to install page,
click Data Import/Export Framework service.
3.
On the Prerequisite validation page, if the computer passes the validations that are required, click
Next.
If the computer does not pass the validations, install the prerequisites, and then restart Setup.
4.
On the Specify a service account page, enter the same account that is used for the AOS service, and
then click Next.
5.
On the Select version of Microsoft SQL Server page, select the appropriate version, and then click
Next.
Warning:
This page appears only if Setup detects that versions of Integration Services for both SQL
Server 2008 and SQL Server 2012 are installed on the computer.
6.
7.
On the Installation completed page, select Show logs to display the log files, and then click Finish.
On a computer that is running an AOS instance, right-click Setup.exe, and then click Run as
administrator.
Important:
If you do not run Setup as an administrator, the Data Import/Export Framework DLLs will not
be copied to the correct locations or registered.
2.
In the Setup wizard, accept the license terms, and then, on the Select components to install page,
click Application Object Server (AOS) component.
3.
On the Prerequisite validation page, if the computer passes the validations that are required, click
Next.
If the computer does not pass the validations, install the prerequisites, and then restart Setup.
318
Microsoft Dynamics AX
4.
On the Specify SQL Server Integration Services location page, select the computer that is running
the version of SQL Server Integration Services that you installed the Data Import/Export Framework
service on, and then click Next.
5.
6.
On the Installation completed page, select Show logs to display the log files, and then click Finish.
On a computer that is running a Microsoft Dynamics AX client, right-click Setup.exe, and then click
Run as administrator.
Important:
If you do not run Setup as an administrator, the Data Import/Export Framework DLLs will not
be copied to the correct locations or registered.
2.
In the Setup wizard, accept the license terms, and then, on the Select components to install page,
click Client component.
3.
On the Prerequisite validation page, if the computer passes the validations that are required, click
Next.
If the computer does not pass the validations, install the prerequisites, and then restart Setup.
4.
5.
On the Installation completed page, select Show logs to display the log files, and then click Finish.
319
Microsoft Dynamics AX
320
Microsoft Dynamics AX
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
2.
3.
If the Setup Support files have not yet been installed on this computer, the Select a file location
page is displayed. The Setup Support files are required for installation. Provide a file location or accept
the default location, and then click Next. On the Ready to install page, click Install.
4.
If youre installing AX 2012 R3, in the Select an installation option page, click Microsoft Dynamics
AX.
5.
On the Select installation type page, click Single-computer installation, and then click Next.
6.
On the Prerequisite validation results page, resolve any errors. For more information about how to
resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next.
7.
On the Specify an AOS account page, select whether you want to use the Network Service account
of the local computer or a domain account to run the Application Object Server (AOS) service. Click
Next.
8.
On the Specify Business Connector proxy account information page, enter the name and
password for the proxy account that is used for .NET Business Connector. Click Next.
9.
On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next.
321
Microsoft Dynamics AX
The following table lists the considerations when you install a second instance of a component.
Component
Considerations
AOS
Database
During initialization, you can import existing data into the database.
Connector
Enterprise Portal
322
Microsoft Dynamics AX
Description
Lists the parameters that can be used for silent installation. This
(http://technet.microsoft.com/library/474f9d72-
e1e5-433a-840e-d9eb00753e94(AX.60).aspx)
323
Microsoft Dynamics AX
You can install other prerequisites silently by running the individual programs from the command line. To
determine the command-line parameters that you want to use, we recommend that you run the standalone prerequisite validation utility on a representative client. When you use the utility to configure
prerequisites, the log file indicates the commands that were used. By default, the log file is located at
<Drive>\Users\<UserName>\AppData\Local\Microsoft Dynamics AX 6\Prerequisite Utility Logs\Date
Time\Log.txt.
2.
3.
Create a text file that lists the appropriate installation parameters and their values. In the parameter
file, the Name=Value combination for each parameter must be on a separate line.
Warning:
If you enter duplicate parameters, Setup fails silently.
Do not include double quotation marks in parameter files. Because the carriage return is used as a
delimiter in a parameter file, values that usually require double quotation marks do not require them
here.
To prevent a line in a parameter file from being read, type a number sign (#) before the line. The line
is now treated as a comment instead of a command or parameter.
2.
3.
4.
Press ENTER.
324
Microsoft Dynamics AX
Computer
Firewall setting
Notes
Setup
Any
Databases
Database server
Server documentation.
AOS server
Object Server
(AOS)
Note:
By default, every time that
you install an additional AOS
instance on a computer, the
TCP/IP port number and the
services endpoint port
numbers are incremented by
MicrosoftDynamicsAX (WSDL)"
a computer is assigned to
Client
Client
Exclude Ax32.exe.
workstation
325
Microsoft Dynamics AX
Component
Computer
Firewall setting
Notes
Microsoft SQL
Report server
Server
Reporting
Services
extensions
Microsoft SQL
Server Analysis
Analysis server
Services
integration
Reporter
Debugger
Developer
workstation
AxServ32.exe.
Enterprise
Web server
Portal for
Microsoft
Dynamics AX
Help Server
Web server
Enterprise
Search
Web server
326
Microsoft Dynamics AX
Component
Computer
Firewall setting
Notes
Web services
Web server
services web site, if the site uses a port consume the Microsoft Dynamics AX
other than port 80.
Management
Remotely
utilities
managed
computer
Synch Service
Head-office
communications
server
(http://go.microsoft.com/fwlink/?LinkI
d=237283).
Synch Service
Store
communications
server
(IPsec).
(http://go.microsoft.com/fwlink/?LinkI
d=237283).
Real-time
Service
Async Server
327
Microsoft Dynamics AX
Component
Computer
Firewall setting
Notes
Retail POS
Store
communications
server
(http://go.microsoft.com/fwlink/?LinkI
d=237283).
port 16750.
Retail POS
Store database
server
(http://go.microsoft.com/fwlink/?LinkI
d=237283).
Retail Server
Retail Hardware
Retail Server
Station
Retail online
store
Web server
328
Microsoft Dynamics AX
Component
Computer
Firewall setting
Microsoft
Microsoft
Dynamics ERP
Dynamics ERP
RapidStart
RapidStart
Connector
Services host
machine
location:
Notes
%SystemDrive%\Program
Files\Microsoft Dynamics
AX\60\RapidStartConnectorServic
e\Microsoft.Dynamics.AX.AppCon
fig.ConnectorLoaderService.exe
329
Microsoft Dynamics AX
Troubleshoot issues when running the Setup wizard to install the Reporting Services extensions
(http://technet.microsoft.com/library/df0437d7-d50e-4acf-9354-e6c8f68af661(AX.60).aspx)
Troubleshoot issues when running the Setup wizard to configure Analysis Services
(http://technet.microsoft.com/library/d3e32164-d488-4729-b9d5-67778e6f824b(AX.60).aspx)
330