Code highlighting

Showing posts with label Azure. Show all posts
Showing posts with label Azure. Show all posts

Wednesday, December 28, 2016

Configuration tip: Warehouse mobile devices portal Native application in Azure Active Directory

Setting up the Warehouse mobile devices portal is a relatively simple process, and is described in detail on the corresponding wiki:
https://ax.help.dynamics.com/en/wiki/warehouse-mobile-devices-portal-for-microsoft-dynamics-ax/

However, now and again I would get complaints around the authorization process not working properly, or asking for interactive login, both of which shouldn't be necessary for the authorization method used by WMDP.

So in this post I would like to give a small configuration tip that prevents the below error message:

Error: "The user or administrator has not consented to use the application with ID ''. Send an interactive authorization request for this user and resource.

The reason this error is shown is because the Native application setup in Azure for WMDP has access to resources that require the Azure admin to consent to that first.

WMDP app is configured to allow access to AAD resources
As you can see, some of the resources WMDP app has access to require prior Admin consent.

Recommendation: 

When configuring the Native application for WMDP in Azure, only give it permissions for the Microsoft Dynamics ERP resources.

This will ensure you don't get unexpected errors when trying to connect to WMDP.



Happy Holidays to all of you!

Stay tuned for more posts next year and subscribe if you haven't already to get updates on the latest tips and tutorials for Dynamics 365 for Operations aka Dynamics AX aka Axapta :)

Sunday, June 26, 2016

Walkthrough: Processing of inbound ASNs in Warehouse Management in AX '7'

Introduction

A while back I posted a blog post explaining how to configure and process incoming ASN documents in AX 2012 R3. You can find it here.
With the release of the new Dynamics AX version, it was time for an update, since the implementation changed completely, even though the data model behind stayed the same.

If you are interested in inbound ASNs, you have a number of options below to educate yourself on how they work in the current release of AX.

In the process, you will get an understanding of the following concepts:
  • Data entities
  • Composite data entities
  • XML structure of the ASN files
  • Data management workspace
  • Service endpoint authentication
  • Azure Active Directory app registration
  • REST enqueue API, GitHub app
  • etc.

Youtube video

If you prefer Youtube, here is the link to the recording.

Word document

If you are more into reading, you can view the transcript walkthrough here.

Sample ASN files

Here are the 2 XML files I used in the walkthrough.

Thanks for watching / reading!

Saturday, February 20, 2016

Announcement: Technical Conference 2016 - See you there

Hi all

I am flying out to attend Technical Conference 2016 tomorrow morning. The conference is held in Seattle this year, and if you have not yet signed up, well, it's probably already too late :)
I hear there are at least 1300 participants coming this year, and we have a wide variety of sessions planned.
If you want to stop by and say hi, I'll be presenting a few things this year, and you can find the schedule online:

  • An instructor led lab on building workspaces, a new concept in the latest version of Dynamics AX. This comes in two parts, 1 hour long each, and as a result you will have built a fully functional workspace with Tiles, Lists and Charts.
  • An instructor led lab on integrating with the OData endpoint exposed by Dynamics AX with the help of the Data Entities. This is the future of many integration scenarios for AX, so don't miss your chance to learn how it's done.
  • A breakout session talking about a highly discussed topic of what kind of skillset is required for AX developers with the move to the latest AX version. 
  • A breakout session talking about Warehouse management functionality in AX, more specifically, installing, configuring and using the Warehouse Mobile Devices Portal with the cloud release of Dynamics AX.
  • A round table discussion on inbound and outbound ASN. We'd like to collect your feedback on the ASN solution in the release as of right now, and understand the use cases / tools you rely on for using ASN in your current implementations

See you all there!