Quantcast
Channel: Microsoft Dynamics 365 Community
Viewing all 17314 articles
Browse latest View live

Irish Luck on Summit EMEA 2018

$
0
0

On the 24-26 April, over 1,300 people attended the annual Dynamics Communities user summit in Dublin, Ireland.

This was the first time the Microsoft Dynamics AX, D365, and CRM user community came together to network and partake in over 260 keynotes and sessions. Data Masons was a silver sponsor at the event with a stand and presented 2 sessions. (You can watch on-demand versions of the sessions here.)

The keynote sessions emphasized how Microsoft Dynamics ERP and CRM software accelerates digital transformation.  Several customer examples were provided, and the recent spring release of D365 is full of new features and functionality to enrich the transformation journey.  Microsoft announced that major software releases will occur in the spring of every year, followed by a minor release in the summer. A very popular demo was Power Apps, which allows companies to develop custom apps for mobile devices without any software development.


System.Net.ProtocolViolationException: Cannot send a content-body with this verb-type. Dynamics Ax 2012 Json Service

$
0
0

The piece of code you wrote, take long way to reach production server. And usually different errors occurs when we take code one server to other.  I test restful service code C# class and call it form X++  code multiple times and it works perfectly fine on QA. But when I took same code to Uat server it started throw following error

System.Net.ProtocolViolationException: Cannot send a content-body with this verb-type.

 

And why the same code works perfectly on DEV while calling same service method UAT throw errors.

 

 

 

 

Any how I found that I missed the request. Method = Post  in code snippet I used for service call. something like

 

request.Method = “POST”;

Are You Prepared for Changes to Development in Dynamics 365 for Finance and Operations?

$
0
0

Are you prepared to be a developer in Dynamics 365 for Finance and Operations? Are you aware of the major changes that have taken place within the product? A lot has changed in the world of Dynamics AX development and if you haven't started preparing, you should.

For a little more background, I put together a blog post that outlines the top 5 things Dynamics AX developers should prepare for in Dynamics 365 for Operations.

Here are the top 5 areas I recommend digging into:

  1. Visual Studio
  2. Deployment Packages
  3. Extensions
  4. Form Patterns
  5. Introduction of Data Entities

 

Even if you are familiar with the changes taking place you might be interested in further instruction to help set you up for success in your role. Our team is offering an online training course called Microsoft Dynamics 365 for Operations Development training. This three-week course covering Microsoft Dynamics 365 for Operations Development training will be held online from Noon to 2:00 p.m. (CT), Monday – Friday, over three-weeks from May 21 to June 8, 2018. In this online class, you will get a detailed look at the variants of the development experience from Dynamics AX 2009 or Dynamics AX  2012 to Dynamics 365 for Operations.

Instructions include an overview of the architectural and development features and the tools available in the development environment. This workshop covers the essentials of doing development in Microsoft Dynamics 365 for Operations, including creating tables, classes, forms, and reports, using models, Visual Studio and other fun features.

Dynamics 365 for Operations Development Training Outline:

  • Visual Studio Overview
  • AX Architecture
  • Data Types and Tables
  • User Interfaces

 

  • Debugging and X++ Control Statements
  • Objects and Classes
  • Accessing the Database
  • Exception Handling
  • Security for Developers

 

  • Working with Data
  • Classes
  • Forms
  • Reports
  • Data Entities

 

The jump to Dynamics 365 for Operation is more than just an upgrade, take the time and find the resources to educate yourself! You'll be thankful. If you are interested in our developer training, let us know if you have questions or click here to register. 

Becky Newell is a co-founder and served as Vice President of Development at Stoneridge Software. She spent 14.5 years Microsoft before forming Stoneridge Software. She has a vast amount of experience in all aspects of Dynamics 365 for Operations, Dynamics AX 2012 and 2009 development and holds multiple Microsoft Dynamics certifications.

First Aid Kit for Dynamics 365 for Retail; A messy blog post

$
0
0

First, I want to say that Microsoft Dynamics 365 for Retail is the best retail system in the world. What we can do is just amazing! This blog post is going to be a mess without meaningful structure, because the purpose of this post is to quickly give 911-help to retailers, so that the they can continue their daily operations. I this blog post is primary focusing on the MPOS(Modern POS) with offline database and when having a local RSSU(Retail Store Scale Unit). Also, this blog post will be incrementally changed and new topics will be added. So please be welcome to revisit later.

MPOS Hardware

Microsoft do not give recommendations on hardware, but they have tested some hardware. I also can share what is working for a scenario where an offline database on the MPOS should be installed.

HP RP9 G1 AiO Retail System, Model 9018
 Microsoft Windows 10 enterprise 64-bit OS – LTSB
 HP RP9 Integrated Bar Code Scanner (as a secondary mounted scanner)
 128GB M.2 SATA 3D SSD
 16 Gb Ram
 Intel Core i5-6500TE 3.3 6M 2133 4C CPU
 HP RP9 Integrated Dual-Head MSR -Right (For log-on card reading)
 HP L7014 14-inch Retail Monitor-Europe (for dual display)
 HP LAN THERMAL RECEIPT PRINTER-EUROPE – ENGLISH LOCALIZATION (TC_POS_TERMALPRINT_BTO)

A small tip; OPOS devices are slow and unpredictable. Try to avoid them. But in this hardware we still had to use OPOS for the receipt printer and the cash drawer.

All drivers related to this machine is available her.

Payment terminals

Building payment connectors is time consuming, but Microsoft have provided documentation and samples that is available her. For me, I prefer ISV solutions for this.
 Ingenico iPP 350 Payment terminal (Requires a ISV payment solution)

Additional Scanners

 SYMBOL DS9808

 Datalogic – Magellan 3200Vsi

Remember to open the scanner documentation, and to scan barcodes to program them to make sure to Enable Carriage Return/Line Feed, adjust beeping etc.

Generic preparation recommendations when having issues

In the following chapter is some preparation steps that you should be prepared to do.

Install TeamViewer on the MPOS device

To make sure that a professional quickly can analyze the device, we always try to use or install team viewer on the RSSU and MPOS devices. This makes it possible to access the machines. Please follow security precautions when using TeamViewer.

Start collecting information

Dynamics 365 for Retail contains a comprehensive set of events that is logged in the system, and that is available for IT resources. Please check out the following pages for additional steps to troubleshoot.

https://docs.microsoft.com/en-us/dynamics365/unified-operations/retail/dev-itpro/retail-component-events-diagnostics-troubleshooting

The following section contains issues experienced with manually installing Dynamics 365 MPOS.

If you cannot figure it out quickly, create a Microsoft support request as fast as you can. Normally Microsoft responds fast and can give recommendations quite quickly, but often they will need information on the actual machine to see if there are issues related to software and hardware. MPOS and RSSU is logging a tremendous set of information that is relevant for a support case. Take pictures, screen dumps and collect data.

Event logs

Always look into the event logs on the MPOS and the RSSU. Also learn to export the event logs as they can give valuable information on what is wrong. The following event logs are of interest.

•    Windows > Application
•    Windows > Security
•    Windows > System
•    Application and Services Logs > MPOS/Operational

Machine information

Collect Microsoft System Information, such as devices that are installed in the MPOS or device drivers loaded, and provides a menu for displaying the associated system topic. To collect this data do

  • Run a Command Prompt as an Administrator
  • Execute MSINFO32.exe
  • Go to Menu File > Save as machine.nfo

Backups of the local database

Take backups of the RSSU and local database, as this can be handy to analyze the data composition of the database. Some times Microsoft will ask for exact database version and information like:

  • What version of SQL is this? 

    Further, is this Standard, Enterprise, Express, etc.?
    => Run query select @@version and share the resulting string.

  • How large is the SQL DB at this time?
  • Plenty of space available on the hard drive still?
  • What is the current size of the offline database and RetailChannelDatabase log file?

RSSU installation and Checklist

The setup and installation of RSSU is documented in the Microsoft DOCS https://docs.microsoft.com/en-us/dynamics365/unified-operations/retail/dev-itpro/retail-store-scale-unit-configuration-installation

  • Operating system is Windows 10 Enterprise LTSB with separate disk for SQL. SSD disks is highly recommended!
  • SQL Server 2016 standard edition with full text search installed locally on server.
    – I would not recommend SQL Express on a RSSU with multiple MPOS’es installed.
  • Install .NET 3.5 ,4.6, IIS and run Windows update before setup
  • Make sure that SSL certificates(RSSU and MPOS) have been installed and setup on the machine. Remember to add them to you Azure account
  • Verify that you have an Azure AD credentials that you can use to sign in to Retail headquarters.
  • Verify that you have administrative or root access to install Retail Modern POS on a device.
  • Verify that you can access the Retail Server from the device. (like ping with https://XXX.YY.ZZ/RetailServer/healthcheck?testname=ping)

  • Verify that the Microsoft Dynamics 365 for Retail, Enterprise edition, environment contains the Retail permission groups and jobs in the Human resources module. These permission groups and jobs should have been installed as part of the demo data.

A small, but important information about the RSSU. It is designed to always have some kind of cloud connection. If it loses this connection, then strange issues starts to occur. Especially in relation to RTS calls (Realtime Service Calls)

Set Async interval on RSSU

This has been described in a previous blogpost.

Installation of MPOS issues

There are a number of pre-requisites that needs to be followed that is available on Microsoft DOCS. Read them very carefully and follow them to the letter. Do not assume anything unless stated in the documentation. Also read https://docs.microsoft.com/en-us/dynamics365/unified-operations/retail/dev-itpro/retail-device-activation. Here are my additional tips:

When having customizations or extensions

If you have made extensions, remember to make sure that the developer that have made the deployable package have build the package with “configuration = Release”. There are scenario’s where the MPOS installation can give issues like this.

There are scenarios where making a MPOS build with configuration = debug for internal use, please take a look at the following Microsoft blog-post.

Having the right local SQL express with the right user access on the MPOS

If you are making a retail POS image (With Windows and SQL preinstalled), please make sure to select the right SQL version(Currently SQL 2014 SP2). If SQL express is not already installed, then the MPOS installer will automatically download and install it. But the file is 1.6 Gb, and it is therefore recommended to manually install the SQL express, or have it as part of the standard image. SQL Express is available her, and select the SQLEXPRADV_x64_ENU.exe


There are ways of using SQL Express 2017 with MPOS, but I recommend to wait doing this until Microsoft officially includes this in their installer. Also remember that the SQL Express have some limitations, like it can only use 1 Gb of Ram, and have a 10 Gb database size limitation.

I recommend creating two users on a MPOS machine:

– A PosUser@XXX.YYY, that is a user with very limited rights on the machine, and customers often wants auto login to the machine using this user. But this user also needs administrator elevation when it should do administrator stuff on the machine.

– A PosInstaller@XXX.YYY, that have administrator rights on the local MPOS machine.

When installing, remember to add both the PosUser and PosInstaller as users in the SQL when installing the SQL Express, else the installer struggles to create the offline databases.

Cannot download MPOS package from Dynamics 365

If you try to manually download the installation package, windows explorer have been setup to sometimes deny this.

The reason for this could be a certificate problem with the package. The work-around for this, is to use Chrome when downloading.

Cannot install the MPOS Offline package

When installing the MPOS the following error may come. In many cases the user must be leveraged to administrator. If you receive the following error, it means that the version you are installing is older than the existing version, and the current version must be uninstalled first. Do not try to install a higher version than is deployed in your Cloud RSSU default database, as this is not supported. Also if you need to “down-grade” a MPOS, then uninstall the MPOS first, and then reinstall the older release.

PowerShell scripts for manual uninstalling of MPOS

In 95% of any situation, just uninstalling the MPOS app should work. But if you are out of options, Microsoft have created an uninstall powershell script.

Cd “C:\Program Files (x86)\Microsoft Dynamics 365\70\Retail Modern POS\Tools”

Uninstall-RetailModernPOS.ps1

I often experience that we need to run the uninstall in the following sequence:

1. Run it as a local administrator

2. Then a “uninstall” icon appears on the desktop, that we need to click on

3. Run it again as a local administrator

Then the MPOS is gone, and you can reinstall the correct MPOS.

Connectivity issues

Here are some tips on connectivity issues, and how to solve them.

MPOS is slow to log in

When starting the MPOS, it sometimes can use a few seconds before available. We see this, it you typical have a slow internet connection with high latency. The MPOS is doing some stuff towards the cloud, and this just takes time.

MPOS cannot go online after being offline

I think this behavior currently is some bug that can happen in certain situations and if the RSSU looses internet connectivity. Microsoft are investigating the causes. If not possible to go online after the MPOS have been in offline, it is possible to reactivate the MPOS to get online. In the event log you may see issues like this : “UpsertAndValidateShifts”

Rename the file: C:\Users\[POS-User]\AppData\Local\Packages\Microsoft.Dynamics.Retail.Pos_tfm0as0j1fqzt\AC\Microsoft\Internet Explorer\DOMStore\DSSWV5L9\microsoft.dynamics.retail[1].xml

Then reactivate the MPOS with RSSU address, register and device and login with the D365.posinstaller.

IMPORTATANT: Remember to select hardware station when logging into the MPOS afterwards!

This is not a supported “fix” from Microsoft, and it is expected that Microsoft will find a permanent solution to this issue.

MPOS cannot connect with the payment connector

The following is mainly related to some issues that could be happening if having a third party payment connector using PINPAD. In most generic cases this is not relevant for those that is using standard or other payment connectors.

1. First check that Hardware station is selected on the MPOS.

2. The next step is to reboot the PC

3. If still not working, copy the file MerchantInformation.xml to the folder “C:\ProgramData\Microsoft Dynamics AX\Retail Hardware Station”. AND to C:\Users\[POS-User]\AppData\Local\Microsoft Dynamics AX\Retail Hardware Station. This will ensure that the payment is working as expected also in offline mode. The MerchantInformation.xml is a file that is downloaded from the cloud the first time the POS is started. If changing the hardware profile

4. Is still not working, open the hardware profile and in the profile ” set the EFT Service to Payment connector and test connector. This will download the MerchantInformation.xml again.

Then run the 1090 distribution job. After X minutes, try to restart the MPOS, and try to perform a payment. This should also automatically regenerate the MerchantInformation.xml. Microsoft is working on a fix for this, and you can follow the issue her.

PS! Normally a production environment should not need to have connection to the Microsoft test connector

Retail offline database exceeds 10 Gb limit

To ensure that a POS don’t exceed the SQL Express 10 Gb disk restrictions, I have created a SQL script that reduces size of the log file.  Please evaluate to implement on all POS’es.

Getting strange errors like “The channel does not exist or was not published”

In some rare situations you could experience getting errors like.

Our experience is that this could happen if the database on the RSSU is overloaded, and are not able to respond to MPOS connections. Log into the RSSU and check out if the CPU, database og disks are not able to respond. If you have SQL express on the RSSU, we have experienced this. Also try to not push to many distribution jobs too frequently. In a situation we uploaded 400.000 customers, while running the distribution job 1010 (customers) every 5 minutes. That “killed” the RSSU when having SQL express.

Getting strange errors like “A database error occurred”

We have also experienced this when the RSSU is overloaded. Remember that the Microsoft recommendation on the RSSU hardware needs to be scaled accordingly to hos many MPOS’es is connected and how much data and transaction volume. Get an SQL expert to evaluate the setup of the RSSU prior to go live and remember to volume test the setup.

Hot to fix ? Scale up your RSSU.

Getting strange errors like “We where unable to obtain the card payment accept page URL”

We have also experienced the following issue. The solution was simple; Remember to enable the local hardware station on the MPOS.

Getting strange errors like “StaffId”, when returning a transaction

In a situation where there are connection between the MPOS and the RSSU, but the RSSU don’t have a connection to the cloud, AND you perform a “return transaction”. You may get the following error.

“Return transaction” is defined as an operation that require online RTS (Real-Time-Service calls). The following list defines all POS operations, and if they are available in offline mode.
The solution in this situation is therefore to use the POS operation “Return Product” instead on the MPOS.

Keep and eye on your devices.

In the menu item Channel client connection status you can see last time each device was connected.

Functional issues

With functional issues I refer to issues that is related to user errors and more functional issues that can occure.

Dynamics 365 for Retail on version 8

Even though version 8 have been launched for Dynamics 365 for Finance and Operations, I have not seen that Retail yet(10 may 2018) is supported on version 8. So before going forward on version 8, please check with Microsoft support.

Barcode scanned as tendered currency amount

This is a funny issue, that can occur. Some background story is in place here. A customer wants to pay for the product in another currency, and the cashier selected the “pay currency” on the MPOS, ready to key in the amount that the customer is paying. But unfortunately, the cashier scanned the product barcode, and then the MPOS committed the sale as the customer had paid 7.622.100.917,80 in currency, and should have 5.707.750.079.417 in return (local currency). Lesson learned; Always remember to set the parameters “Overtender maximum amount” and the Amounts fields.

How to fix it? You actually need to create a Microsoft support request to have perform make some changes in the database. This takes time, and it have to be first performed in the staging environment that is updated. It can take a lot of time! So make sure you set these parameters right before you go live.

Cannot post retail statement, because of a rounding issue.

This is a known issue, and Microsoft have a hotfix for this. Always make sure you periodically update you system with the latest hotfixes. Here is my small tip on this; Try 4-5 time to click on post, and then it suddenly goes though and get’s posted. We do not know why ??

Retail statement (Legacy) and Retail Statement

In version 7.3.2, Microsoft released a new set of functionality for calculating and posting retail statements. You can read more about it her. Microsoft recommend that you use the Retail statements configuration key for the improved statement posting feature, unless you have compelling reasons to use the Retail statements (legacy) configuration key instead. Microsoft will continue to invest in the new and improved statement posting feature, and it’s important that you switch to it at the earliest opportunity to benefit from it. The legacy statement posting feature will be deprecated in a future release.

Access hidden Retail menu items.

The form “Retail Store transactions” contains all retail transactions that is received from the MPOS/RSSU’s, and here you will find, sales, logins, payments etc. This first step for any user should be to personalize this form, and only show the relevant fields and columns(Not done here).

You can dig deeper into the transactions, by clicking the “Transactions menu”

If I here open the “Payment transactions” I get a filtered view of the payment transactions related to that receipt.

BUT! In many cases you would like to look on ALL the payment transactions, and not only the those related to a specific receipt. But there are no menu items that let’s you see all payment transactions in one form.

Here is my tip. Right click on the form and then you can see the Form name. Click on that …

And you should be able to see the menu item name.

Then copy your D365FO URL, and replace the menu item name, and open it in another browser tab.

Then you get a nice list of all payment transactions regardless of what receipt is connected to

This procedure can be used most places in Dynamics 365. For retail, this is excellent because some times you need to find specific transactions. If you need to reconcile banked transactions (where you have a Bag number), then you can use this approach to see all banked bag numbers in a single form. But here is a list of the most common ones:

Sales transactions(items)

&mi=RetailTransactionSalesTrans

Payment transactions

&mi=RetailTransactionPaymentTrans

Discount transactions

&mi=RetailTransactionDiscountTrans

Income/Expense transactions

&mi=RetailTransactionIncomeExpenseTrans

Info code transactions

&mi=RetailTransactionInfocodeTrans

Banked declaration transactions

&mi=RetailTransactionBankedTenderTrans

Safe tender transactions

&mi=RetailTransactionSafeTenderTrans

Loyalty card transactions

&mi=RetailTransactionLoyaltyRewardPointTrans

Order/Invoice transactions

&mi=RetailTransactionOrderInvoiceTrans

Unit conversion between <unit 1> and <unit 2> does not exist.

If you use Retail Kitting, and have kits with intraclass unit conversions, then there is an issue, that Microsoft is working on. This is scenarios where the included kit line is stocked in pcs and consumed in centiliters. Luckily Microsoft is working on this, and we expect a fix on this.

Wrong date format on the POS receipt.

In EN-US we have the date format MM/DD/YYYY. In Europe we use DD/MM/YYYY. The date format on the receipt is controlled by the language code defined on the store. We often prefer to have EN-US as the language on stores, but this gets wrong date format. Therefore to get the right date format on the receipt, you either have to maintain product names/descriptions in multiple languages (like both EN-US and EN-GB), and specify that the languageon the POS store should be EN-GB. We are working on finding a better and more permanent solution to this.

Dual display.

Microsoft writes: “When a secondary display is configured, the number 2 Windows display is used to show basic information. The purpose of the secondary display is to support independent software vendor (ISV) extension, because out of the box, the secondary display isn’t configurable and shows limited content. ” In short…. You have to create/develop it yourself in the project. This requires a skilled Retail developer that masters RetailSDK, C# and javascript.

Credit Card payment with signature

In certain situations it could happen that the payment terminal is capable of processing the payment, but for some reason this is not closing the “waiting for customer payment”. In most cases this is related to the payment terminal being able to perform offline transactions, and then the payment terminal will print a receipt where the customer must sign. In such cases we have created a separate payment method called “pay with signature”, that is posted in exactly the same way as a credit card payment method. Then the cashier is able to continue the payment processing, and register that the payment was ok, and then print out the receipt.

Something very wrong was done by the cashier, then suspend the transaction

If there for some reason, the cashier is not able to continue on the transaction, the casher have the option of suspending the transaction, and then continue. Then later, the POS experts can resume the transaction, and find out what went wrong.

Setting up MPOS in tablet mode

The MPOS works very nice in tablet mode. But if you have dual display, the PC cannot be put into tablet mode. We have not found a way to fix, and if you know, please share.

MPOS resolution and screen layout does not fit the screen

Do not just set the MPOS resolution to the screen resolution. If there is a “title bar”, you need to subtract that title bar height from the screen layout. This is important in scenarios where you have dual displays.

Use lock screen and not log off on the registers.

The log-out/in process to more “costly” from a resource perspective than the lock operation.

Keep the MPOS running (but logged out) when not using the device.

As the Dynamics 365 periodically sends new data to the MPOS offline database, this will be done through the day/night. Then the MPOS is “fit-for-fight” when the user logs in.

Run Distribution jobs in batch

My guide lines on retail distribution jobs is that all Retail jobs will start with the R-prefix, followed by the number. Download distribution jobs will be R1000-1999. Upload Distribution jobs will be R2000-2999. Processing batch jobs will be R3000-3999. Retail supply chain processes will be named R4000-4999.

There are a number of jobs distributing data from Dynamics 365 to the store databases (RSSU) and the offline databases. The jobs and suggested recurrence I suggest is

That’s my tips for today. If you have read this completely to the end, I’m VERY impressed, and let me know in the comments.

 

 

 

 

How authentication works in Dynamics 365 for Finance and Operations On-premises

$
0
0

In this article I'm going to explain the moving parts to authentication in on-premises Dynamics 365 for Finance and Operations. The intention of this article is to provide some background to how the process works, so that if you have issues you can work through them to figure out what's wrong.

First off - there's one option you provide during environment deployment, the URL for AD FS, which looks something like this:

https://dax7sqlaoadfs1.saonprem.com/adfs/.well-known/openid-configuration

You'll find that mentioned in the deployment instructions here

During deployment this is going to be used to set various options in the AOS xml config files on each AOS machine. You'll find the AOS config in a folder similar to below - note that the numbers vary from machine to machine:

C:\ProgramData\SF\AOS_10\Fabric\work\Applications\AXSFType_App218\AXSF.Package.1.0.xml

Within this config file (which is on each AOS machine) you'll find a few sections which are set from the LCS deployment setting for AD FS, this bit:


<Section Name="Aad">
<Parameter Name="AADIssuerNameFormat" Value="https://dax7sqlaoadfs1.saonprem.com/{0}/" />
<Parameter Name="AADLoginWsfedEndpointFormat" Value="https://dax7sqlaoadfs1.saonprem.com/{0}/wsfed" />
<Parameter Name="AADMetadataLocationFormat" Value="https://dax7sqlaoadfs1.saonprem.com/FederationMetadata/2007-06/FederationMetadata.xml" />
<Parameter Name="AADTenantId" Value="adfs" />
<Parameter Name="AADValidAudience" Value="https://ax.d365ffo.zone1.saonprem.com/" />
<Parameter Name="ACSServiceEndpoint" Value="https://accounts.accesscontrol.windows.net/tokens/OAuth/2" />
<Parameter Name="ACSServicePrincipal" Value="00000001-0001-0000-c000-000000000000" />
<Parameter Name="FederationMetadataLocation" Value="https://dax7sqlaoadfs1.saonprem.com/FederationMetadata/2007-06/FederationMetadata.xml" />
<Parameter Name="Realm" Value="spn:00000015-0000-0000-c000-000000000000" />
<Parameter Name="TenantDomainGUID" Value="adfs" />
<Parameter Name="TrustedServiceAppIds" Value="913c6de4-2a4a-4a61-a9ce-945d2b2ce2e0" />
</Section>

Also this section:


<Section Name="OpenIDConnect">
<Parameter Name="ClientID" Value="f06b0738-aa7a-4a50-a406-5c1e486c49be" />
<Parameter Name="Metadata" Value="https://dax7sqlaoadfs1.saonprem.com/adfs/.well-known/openid-configuration" />
</Section>
<Section Name="Provisioning">
<Parameter Name="AdminIdentityProvider" Value="https://dax7sqlaoadfs1.saonprem.com/adfs" />
<Parameter Name="AdminPrincipalName" Value="admin@exampleDomain.com" />
</Section>

The AOS is using these config values to know where to redirect to when a user tries to hit the application URL - so user hits the URL, AOS should redirect to the AD FS login page (using the values from this config), user enters their credentials, and gets redirects to the application URL again.

If values in the AOS config file are incorrect - then that typically means the value given for ADFS during environment deployment was wrong - easiest thing is to delete and redeploy the environment from LCS with the right value - it is possible to manually edit the config files, but to be safe, do a redeploy. If you do edit the config files then you need to restart the AOS services for it to take effect - either from SF explorer (right click the AOS node under Nodes, and choose restart, then wait for a minute or so for it's status to go back to green) or reboot the machine.

One example of an error caused by this, if I had entered the AD FS URL in LCS deployment wrongly (as below - note the missing hyphen) then I would get server error 500 when going to the application URL, because it no longer knows how to redirect to AD FS properly

https://dax7sqlaoadfs1.saonprem.com/adfs/.wellknown/openid-configuration

 

The second piece to the authentication process is ADFS itself, on the ADFS server if you open "AD FS Management" (from Control Panel\System and Security\Administrative Tools), and look under "Application groups", you'll find a group called "Microsoft Dynamics 365 for Operations On-premises" - within this group the settings for AD FS for Dynamics are kept - specifically there are application URLs, the same one you specified during environment deployment as the URL for the application, here's an example:

AD FS application group setup

AD FS uses the Client ID and the URLs to decide whether the request for access is ok or not. You will notice that the Client ID is also listed in the AOS config (it's in the section I pasted above) - if both the client ID and the URL don't match what the AOS is requesting, then AD FS will deny the token - if that happens you'll find an error in the Event Log on the ADFS server - there's a special event log for AD FS under "Application and Services logs\AD FS\Admin"

AD FS event log error

In the case that any of the AD FS application group setup is wrong, you're likely to see an error in it's event log which explains the value it was looking for, so you can figure out what is set incorrectly.

New in Dynamics 365 Customer Engagement v9.0: Session Timeout

$
0
0
By Skylar Macromallis, CRM Functional Consultant, Arbela Technologies With the GDPR deadline approaching and the emphasis on Cloud, there have been improvements made to Dynamics 365’s cloud...(read more)

Top 3 Reasons to Invest in Focus 2018

$
0
0

Focus 2018, your user group conference for concentrated, deep-dive Dynamics 365, AX, and CRM learning, is coming up quick on the calendar! In just two weeks (May 23-24), the Dynamics 365 community will gather at the JW Marriott in Indianapolis, IN.

Need to make a quick pitch to your boss about why you should attend? Here are 3 reasons why Focus will benefit you and your company.


1. Sessions led by technical experts

Trusted community resources and sought-after experts will lead 90+ intermediate to advanced 90-minute sessions in targeted tracks, allowing for a far deeper understanding of the content. Track previews:

Dynamics AX

  • Project Accounting
  • Functional
  • Technical Dynamics 365 for Operations
  • Master Planning
  • Security and Compliance

Explore the Dynamics AX schedule and track descriptions.

Dynamics CRM

  • Advanced Functional
  • Customizer
  • Deployment & Upgrades
  • Developer

Explore the Dynamics CRM schedule and track descriptions.

Click below to watch All Star Kylie Kiser's video describing her session on workflows:

2. Networking access to peers & more
Network with peers in similar roles, facing the same issues on a daily basis, along with MVPs and All Stars. 82.5% of D365UG/AXUG and D365UG/CRMUG attendees at Focus 2017 found the onsite coordinated networking to be Above Average or Excellent - don't miss on out this intimate networking opportunity!2. Networking access to peers & more


3. Find solutions

Focus allows you to stay competitive by discovering products and services from Independent Software Vendors (ISVs). You're bound to bring options for new solutions back to the office. Take a look at the list of current 2018 sponsors.

You will walk away from Focus with useful information, new contacts, and a refreshed enthusiasm. The path to success starts in Indianapolis this month. What are you waiting for?

 

Register Now

 

Not yet a User Group member? Learn more about how user group members save $200 more than non-members on their Focus registration.

Create a Closed-Loop Analysis, Planning, and Reporting Process

$
0
0

This article will focus on improving processes and tasks, and ensuring that the strategy is parallel with analysis, planning, and reporting

Image taken from Shutterstock.

Processes should continuously be challenged for organizations to improve and impact decision-making. This article will concentrate on improving these tasks and processes and ensuring that the strategy is aligned with the reporting, planning, and analysis. Closing the loop refers to tying these processes together.

Planning, which covers budgeting and forecasting, communicates the values used to evaluate growth as well as how capital, both people and money, will be spread across the organization. The development of the budget and forecast will be more powerful when it is connected to the corporate strategy. Connecting the strategy and planning allows employees to better under the strategic objectives and targets, which will ensure that their choices take the corporate strategy into account. The communication of the strategy must be constant, steady and ongoing. The comprehension of the strategy leads to better performance across the company, as the employees will allot resources to match and surpass the goals and objectives of the company.

Harvard Business Review research shows that, on average, 95% of an organization’s employees are unaware of, or do not understand, its strategy, and 85% of executive teams spend less than an hour per month discussing strategy. These metrics should scare all executives into working to improve these numbers internally. If the employees are closest to customers, vendors, and partners and in charge of everyday decisions, then how can they be effective if the majority of them do not know the strategy? Also, how can any improvements be made in the strategy if executives are spending less than 5% of their time developing and improving the strategy? It is just not effective, and it will affect revenue and profitability without changes.

Setting strategy is not only integral; it is a mandatory criteria of any successful organization. But the steps to implement the strategy and track the success of the strategy are just as significant. The first step is communication, and below are simple steps to improve it across the organization:

  • Change It Up and Be Creative
  • Use Narratives
  • Inspire, Educate, and Highlight
  • Communicate in Many Ways
  • Think Outside the Box:
  • Invest

The strategy and the plan must be completed before setting a budget or forecast and prior to analyzing the financials.

To read more about creating a closed-loop analysis, planning, and reporting process and ensuring that the right steps are being taken and the strategy is finalized, click here.Set featured image


Dynamics Learning Portal course catalogue – May 2018

$
0
0
Since March, Microsoft have released a number of new Dynamics 365 courses and updated several existing ones. So it’s time to update our Dynamics Learning Portal (DLP) course catalogue! If you’d...(read more)

Microsoft Dynamics Partner Roundup: Subscription billing; Retail CRM; D365 in Saudi Arabia; Insurance accelerator

$
0
0
In this week's Microsoft Dynamics Partner News Roundup: Gravity Software releases subscription billing and Gravity Software for Technology Companies Yegertek attempts to disrupt the retail CRM space with industry-focused Microsoft Dynamics ...read more

MSDW Podcast: Memories of Summit EMEA 2018 with Dynamics Podcast

$
0
0
This joint episode of the MSDW Podcast and the Dynamics Podcast was recorded at Summit EMEA 2018 in Dublin with Tommy Skaue and Fredrik Sætre. As the event wrapped up, we grabbed a quiet spot at the convention center to look back at some of the event ...read more

Import financials dimensions set by default on the main accounts via add-in Office Excel in Dynamics for Finance & Operations

$
0
0
Nothing is more off-putting than having to duplicate settings from company to company or between two environments. This document describes how use the add-in Office Excel to carry out this type of import...(read more)

POS not showing offline data jobs

$
0
0
In Dynamics 365 the offline story on the MPOS has been significantly improved since AX 2012. Now it’s more or less a click on the register in Dyn365, install the POS and distribute data. A bit simplified...(read more)

How to change tile count at runtime through X ++ code in AX7 / D365

$
0
0
In D365 workspace Tile count is a graphical representation of showing a quick status of information. In tile count there are two ways to show records count. One way is to provide query to tile count and...(read more)

Great Management Myths

$
0
0

What does it take to become a Great Manager?

When it comes to what makes a successful manager, there are certain misconceptions that are now widely accepted. So what's myth and what's reality?

Management isn't a science; it's an art. It involves millions of people in thousands of organizations, each of which is unique. That's what makes it so subjective, by definition. Sure, certain innovative management concepts become the rule, but they're rare, that's for sure.

 

Myth: A manager’s key challenge is to keep the department in working order.
Reality: The key challenge is not just to ensure the smooth operation of the department, but to make changes that will enhance the team’s performance.

Myth: Managers should focus on individuals.
Reality: Effective managers lead their teams like a conductor leads an orchestra, balancing some one-on-one focus with a focus on how the team is working together.

Myth: Rules must be enforced and subordinates must comply.
Reality: The goal should be commitment and engagement, not just compliance.

Myth: Once you are a leader, you can implement more of your own ideas.
Reality: The source of a leader’s true power is in the willingness of others to be led by you.

Myth: A leader must always be empathetic.
Reality: Effective leadership requires healthy detachment. Being overly empathetic can lead to burn out.

Myth: A leader must always be strong
Reality: Effective leaders strategically reveal their humanity

Myth: Courage is a talent few leaders possess
Reality: Courage is persistence, only five minutes longer

 


Creating System Views with Complex ?NOT IN? Filter in Dynamics 365 for Customer Engagement

$
0
0
By Abi Shende, Sr. CRM Functional Consultant, Arbela Technologies In the previous post , we reviewed the new feature in Dynamics 365 v9 that enables users to search for records in one entity without...(read more)

AX 2012: AOS connections to SQL failing, Event ID 4231

$
0
0

Recently we have had two customers that received the following error message on their AOS servers running Windows Server 2016:

A request to allocate an ephemeral port number from the global TCP port space has failed due to all such ports being in use.

This is the result of the AOS running out of available TCP ports to use for communication with the network.

You can resolve this issue by adding the following entries to the AOS registry in HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters:

MaxUserPort REG_DWORD: 0000fffe (655534)

TcpMaxDataRetransmissions REG_DWORD: 00000005 (5)

TcpNumConnections REG_DWORD: 00fffffe (16777214)

TcpTimedWaitDelay REG_DWORD: 0000001e (30)

Once these registry entries have been created, reboot the AOS.

Author John Boehm

Microsoft Certified Technology Specialist
Senior Information Systems Consultant-Dynamics AX More ...


Microsoft's D365 business software offerings are robust ERP and Lean manufacturing enablers for disruptive environments. The latest release, Dynamics 365 For Finance and Operations, combines the powerful planning and execution features required of comprehensive Manufacturing and Distribution installations, and is available in both Cloud and On-Premises deployment models. Contact Agility Business Solutions, Inc. to learn more.

[D365] Operations Financial Reporter – Cannot open

$
0
0

Financial reporter “Yet another post if this doesnt open up”
If you get a message from the click once installer saying : “Your security settings do not allow this application to be run on your computer”

Start with running this from IE. Chrome gives some other issues
1. Add the website to your trusted sites (via internet options > Security > trusted websites > Sites and add it over there)
2. Edit the registry editor (Start > regedit OR Start + r > regedit.exe)
3. Navigate to \HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT.NETFramework\Security\TrustManager\PromptingLevel
4. Change the value for TrustedSites from Disabled to Enabled
(if this is your own system and you work on multi[ple environments, then probably change the value of Internet as well from Disabled to Enabled)
5. Save regedit and restart IE.

Note: Edge / IE12 has better chances of running the clickonce than chrome

Source: https://msdn.microsoft.com/en-us/library/ee308453.aspx

Saving Company Logo to file (X++)

$
0
0
How does one get a copy of your company logo saved to file? (if you forgot to archive it like you should have originally) One mechanism is using X++ as follows: [crayon-5afa9bebe4c92443258230/]  (read more)

Tips & Tricks for Debugging in Visual Studio for D365

$
0
0
In this blog, I have covered some tips and tricks supported for D365 in Visual studio. Tip # 1 - Pin data tips While debugging code we have frequently hover over data tips in order to see the values contains...(read more)
Viewing all 17314 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>