Configuring access for mobile warehousing app in Dynamics 365 for Operations

Today I am setting up the mobile warehouse app in Dynamics 365 for operation… there is a very nice Wiki article here with the walkthrough but I am doing a slightly condensed version.

  1. Go to the azure portal. In Azure Active Directory – App Registrations create a web application for the warehouse portal

    Name: WhatEverYouWant
    Application Type: Web app/API
    Sign-on URL: https://[theURLforyourdynamicsinstance]/oauth

  2. Open the application to edit it
  3. Verify Application ID. If you create the Application in the new new portal it will auto generate an AppID which is random. If you use the old portal to create the application you will have to add the App ID URI. Make sure that this URI is NOT your Dynamics 365 for operations URL because this will break for instance Excel Add-in and Management Reporter. For more information look here
  4. Note: the next step did not work from the new portal so I had to perform it from the old portal.
  5. Go to the old Azure Portal – Active Directory – [Your AD] – Applications and select the application you created in the previous step
  6. Under Permissions to other applications click add application and add Microsoft Dynamics ERP
  7. Add the following permissions

    Access Dynamics AX online as organization users
    Access Dynamics AX data
    Access Dynamics AX Custom Service

  8. In the new portal in the application permission click keys, enter the name for your new key and set a duration. When you click save you will get the key. Please remember to copy and save it some where because it will not be visible later.
  9. Now you need to save the ClientID (Old Portal)/Application ID (New Portal) for later.
  10. Log into Dynamics 365 for Operations and go to System Administration – Users and create a new user (in my case called WMAPP. The email address can be anything since it will never be used. The user needs these roles

    Warehouse mobile device user

  11. Now we need to associate the user to the AD Application which is done on System Administration – Setup – Azure Active Directory applications. Here we paste the App ID/ClientID from before and select the user we created. Click Save and you are done.
  12. Install the App from app store and enter these settings:

    SNAGHTML12dda1b

    1. Azure Active Directory ID: AppID/CleintID from step 9
    2. Azure Active Directory Client Secret: The key from step 8
    3. Azure Active Directory Resource: Your Dynamics 365 URL
    4. Azure Active Directory Tennant: https://login.windows.net/yourADtennant
    5. Company: Dynamics 365 for Operations Legal Entity

Links:
https://ax.help.dynamics.com/en/wiki/install-and-configure-dynamics-365-for-operations-warehousing/

En Liten Podd Om It – Avsnitt 109 – Vitamininstitutet i Scheweiz

Hejsan hoppsan i vårsolen…

Nu är vi på banan igen och denna vecka funderar vi över Googles nya chat app, om varför Apple inte låter dig välja dina egna foton och Spotifys nya prismodel… detta och mycket mer i veckans avsnitt av En Liten Podd om IT

/Mats & Johan

DynamicsPodden – Avsnitt 5 – Technical Conference 2017

Howdy…

Vi har i veckan varit i Seattle och besökt Technical Conference 2017 för att se var Microsoft har på gång vad det gäller Dynamics. Vi har dagen till ära spelat in ett extra avsnitt där vi pratar lite om våra reflektioner på konferensen. Det kommer garanterat att komma med så småningom.

/DynamicsPodden

En Liten Podd Om It – Avsnitt 107 – Spotifys Offerkofta

Hejsan

Ny vecka och ännu ett avsnitt av En Liten Podd om IT.

I veckans avsnitt pratar vi en del kring Creators Update och Microsoft senaste announcements på RSA konferensen, vi funderar lite kring Google Assistant och Samsung Pay och slutligen hittar vi nästan ett par hörlurar och en Red Swingline Stapler

Nu kör vi

/Mats och Johan

Länken gällande Two-factor authentication: 

https://twofactorauth.org/

En Liten Podd Om It – Avsnitt 106 – Bye Caps Lock… Hello Emojitangenten

Hejsan Hoppsan

Efter en veckas paus är vi extra taggade denna denna vecka. Vi pratar om bergochdalbanor med VR, malware for macOS, Samsungs batterifabriker och givetvis en hel assa mer… och ovan på det har vi givetwis en pryllista precis som vanligt.

Länkar från avsnittet

Alexa (Amazon Echo) and Google Home infinite loop conversation

http://feber.se/vetenskap/art/361687/kolla_in_nr_falcon_9_lyfter_mo/?from=rss

http://www.collegehumor.com/post/7015398/why-every-new-macbook-needs-a-different-goddamn-charger

Nu kör vi

/Mats & Johan

DynamicsPodden – Avsnitt 3 – Mobilitet

Hej

Då var vi tillbaka med ett nytt avsnitt av DynamicsPodden. Denna gång har Emelie, Jonathan och Johan samlats för att prata om mobilitet. Vad betyder egentligen Anywhere, Anytime? Hur ser upplevelsen ut på mobila enheter, hur är kompatibiliteten med andra browsers och vad behöver vi fundera kring när det gäller säkerheten?

Håll till godo

/DynamicsPodden 

En Liten Podd Om It – Avsnitt 105 – Windows 10 Kill Steam Edition

Hej Hej…

Nu är vi inne i Februari månad och vi passar som vanligt på att riva av en ny podd. I veckans avsnitt pratar vi om Apples nya iPhone uppdatering, Windows 10 Cloud Edition och en del om Samsungs komande flagship S8 och placeringen av deras fingeravtrycksläsare.

Vi har även testat RoxCores multiroom system

I veckans avsnitt har vi även för första gången en tävling. Vi behöver en ny logotyp till podden och om någon kan skicka in ett förslag på en ny logga kommer ni att kunna lägga vantarna på ovan nämnda högtalare.

Nu kör vi

/Mats och Johan

Changing the certificate used for Channel database sync in AX 2012 Retail

I have been trying the past couple of bays to get retail up and running on the Microsoft Dynamics AX 2012 R3 demo environment. There are some issues in the default environment that needs to be fixed before everything is running flawlessly.

One issue I noticed was that the SSL certificate used between the async client and async server has expired (in 2015 Smile ).

           image

To fix this we first need to request and issue a new certificate. Since the CA in the Demo is a stand-alone CA we cannot use the MMC to request the certificate, so I am using the web interface. Start Internet Explorer and browse to the address https://localhost/certsrv (since the certificate for the site is not issued to localhost there will be an error… ignore this).

           image

Select Request a certificate

           image

Select advanced certificate request

           image

Select create and submit a request to this CA

           image

Click Yes to continue

          image

Fill in the name of the certificate. In our case the adress is retail.contoso.com, the other fields are not mandatory. Select Server Authentication Certificate and check  Mark keys as exportable. Click Submit.

           image

Note the id of the request and start the Certificate Authority mmc Management Console

           image

Find the request above under Pending Request. Right-click and select the task Issue

           image

Go back to https://localhost/certsrv and click View the status of a pending certificate request. Click your request.

           image

Click Yes to continue.

          image

Click the Install this certificate. Unfortunately the certificate will be installed in you personal Certificate Store and you will have to move it before IIS can use it.

          image

Start the management Console and add the Certificates snap-in for Current User and for Local Computer. Go to Current User – Personal – Certificates and find your new certificate

          image

Right click the certificate and select Export

            image

Select Yes, export the private key

           image

Check Export all extended properties and click next

           image

Enter a password and click next

          image

In the console on Local Computer – Personal – Certificates right click and import the Certificate you exported previously

          image     image

In IIS Manager edit Binding for the sites AsyncServerSite and Retail Server Website and change the certificate for HTTPS. Restart the IIS sites.

That is all

/Johan