Professional Documents
Culture Documents
Background
The purpose of this guide is to walk through configuring Office 365 including PowerBI with the Microsoft
Dynamics AX 2012 R3 demo virtual machines. This guide is broken down into several sections:
It is recommended to use the Microsoft Dynamics Demos Sales tool site to integrate with the Microsoft
Dynamics AX 2012 R3 solution. The Microsoft Dynamics Demos tool is a complete deployment tool to deploy
Microsoft Dynamics CRM Online, Office 365, and Power BI. It is not required to use this tool to set up all these
services; however, this tool will expedite the setup process.
In order to remove the Microsoft Exchange and Lync Server VMs (VM B and C), you need to configure the email
accounts different for the users in the Microsoft Dynamics AX 2012 R3 demo virtual machines. Download the
Office 365 release files associated with this document.
2 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
Create trial accounts via Microsoft Dynamics Demos site
Use this site to create a new Microsoft Dynamics CRM Online, Office 365, and Power BI deployment
1. Browse to https://www.microsoftdynamicsdemos.com/.
2. Log on by using Microsoft or Live ID credentials.
3. Scroll down to Empty Demo.
4. Click Deploy Now.
6. Enter a valid phone number, and then click Send SMS to receive a SMS code. Enter the SMS code.
3 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
7. Read through the terms and conditions, and then click Deploy.
8. Read the registration window that pops up, and then click OK.
9. After 5-10 minutes an email will be delivered to the email address used to sign into the site going over
the connection information. In some cases this may take 1-2 days.
Add Power BI for Office 365 trial to an existing Office 365 account
1. Log on to https://portal.microsoftonline.com by using the Office 365 credentials sent in the email from
demo builder.
4 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
2. Click Go to the Office 365 admin center
5. Click Trial.
7. Click continue.
5 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
13. The Power BI services are added to the subscription.
3. Update the Email address and the User Name respectively in the files to the previously configured Office
365 subscription. This can be accomplished by using Find and Replace commands.
4. Log on to https://portal.microsoftonline.com by using the Office 365 credentials sent in the email from
Microsoft Dynamics Demo.
5. Click Go to the Office 365 Admin Center if not redirected automatically.
6. Click users and groups.
7. Select all users except for CRM System and Web Portal
6 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
8. Select Delete
7 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
12. Click Next.
13. Select Microsoft Dynamics CRM Online Professional, Microsoft Office 365 Plan E3, and Microsoft
Power BI for Office 365.
14. In Microsoft Power Bi for Office 365, clear the check box for SharePoint Online (Plan 2).
8 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
17. Click Create.
18. Take note of the temporary passwords, these will also be sent in email
19. Click Close. Users will be required to change their password after their logging on for the first time.
9 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
3. Select CRM System.
4. Go to licenses.
6. Click Save.
10 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
2. In site collections, click New > Private Site Collection.
4. In Web Site Address field, type Team or any other site name.
8. Click OK.
9. Copy the URL to the team site
11 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
10. Go to the Office 365 home page
12 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
18. Click Power BI to go to the Power BI site.
13 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
2. Select Power BI Admin Center
3. Select gateways
4. In details page, Name field, enter a name you like. Example: ContosoGateway
5. Click Next
6. Click Create
14 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
7. Under option 1 select Download
15 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
13. Welcome page, click Next
16 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
14. Read through and agree to the license terms, click Next
17 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
15. Destination folder, click Next
18 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
16. Click Install
19 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
5. Browse to Computer Configuration > Windows Settings > Security Settings > User Rights
Assignment
8. Enter NT Service\DIAHostService
9. Click OK
20 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
10. Click OK
11. Launch a command prompt
12. Enter gpupdate /force
17. Click Finish when completed
18. The Microsoft Data Management Gateway Configuration Manager will appear
19. From the New Gateway page copy the Gateway key
21 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
Create Power BI Data Source
1. Go to c:\demofiles\BI\Power BI
2. Select Sales analysis.xlxs
3. Double click to Open
4. Select Enable Content if needed
7. Select Edit
8. Select Edit Credentials (if this option is shown)
22 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
9. Select Windows
23 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
14. Sign in using the Office 365 Account
15. Select the Data Tab
16. Select Connections
24 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
21. Go back to the Power BI Admin Center in O365
24. Paste the connection string into the Connection string box
25 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
27. Select the gateway previously created from the drop down box
26 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
31. In User name field enter builtin\sara
32. In Password field enter pass@word1
27 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
7. Select Upload file
8. Select Browse
9. Browse to C:\DemoFiles\BI\Power BI
16. Configure refresh schedule, Set time, select a time closest to current time
28 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
17. Click save settings
Update Email address for Users in Microsoft Dynamics AX to use in conjunction with Office 365
Lync and Exchange
Prior to completing this step, it is highly recommended to back up the MicrosoftDynamicsAX database. Follow
these steps:
1. Open PowerShell and enter this command:
Backup-SqlDatabase -ServerInstance AX2012R2A -Database MicrosoftDynamicsAX -BackupAction
Database
29 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
4. In Select installation type, select Role-based or feature-based installation, and then click Next.
9. Click Install.
10. Go to the Start menu, and search for IIS 6.0 to launch the application.
30 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
12. Right-click SMTP Virtual Server #1, and then click Properties.
31 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
17. Click OK.
18. Click Relay.
19. Click Add.
20. In IP address, type: 127.0.0.1
32 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
25. In the Outgoing mail server field, type localhost.
Update the email addresses for the Microsoft Dynamics AX users to receive alert emails, instant
messages, and any other communication
1. Download the Office 365 user pack.
2. Extract to the virtual machine.
3. Open O365*.txt and O365*.csv.
4. Update the Email address and the User Name respectively in the files to the previously configured
Office 365 subscription. This can be accomplished by using Find and Replace commands.
33 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
5. From the O365 User pack, edit UpdateEmail.SQL.
6. Update the '<update location here>' area with the location of the scripts.
7. Also update the errorfile location '<update location here>\emailaddresseserror.txt' with the location
of the scripts.
8. Save the script.
9. Launch SQL Server Management Studio.
34 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
13. Click File > Open > File.
35 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
15. Select updateemail.sql, and then click Open. This will load the SQL script into the Query window
16. Click Execute.
18. Once competed, you can run a SQL command similar to this to verify the change:
select * from SYSUSERINFO
where email like '%@mbsdaxdemos3%' <-replace name with Office 365 instance
36 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
Resources
1. Connector for Microsoft Dynamics Configuration Guide for Microsoft Dynamics® AX, February 2014
http://download.microsoft.com/download/C/A/6/CA6BC295-1326-4809-BC78-
866DEB3F4A33/MSDynConnectorAXconfig.pdf
2. Power BI for Office 365
http://office.microsoft.com/en-us/office365-sharepoint-online-enterprise-help/power-bi-for-office-365-
overview-and-learning-HA104103581.aspx
3. What is Office 365 for Business?
http://office.microsoft.com/en-us/business/what-is-office-365-for-business-FX102997580.aspx
37 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014
Disclaimer
© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista, Microsoft
Dynamics and other product names are or may be registered trademarks and/or trademarks in the U.S.
and/or other countries. Other names and brands may be claimed as the property of others.
The information herein is for informational purposes only and represents the current view of Microsoft
Corporation as of the date of this presentation. Because Microsoft must respond to changing market
conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft
cannot guarantee the accuracy of any information provided after the date of this presentation.
Sample code included in this presentation is made available AS IS. THE ENTIRE RISK OF THE USE OR
THE RESULTS FROM THE USE OF THIS CODE REMAINS WITH THE USER.
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.
38 Microsoft Dynamics AX 2012 R3 Solution Demo Package | How to Guide | Last Updated: Dec 2014