Shared hardware station error - Authorization has been denied

After upgrading retail shared hardwarestation certificate, when we tried to print a receipt the POS was throwing error Authorization has been denied. We tried reinstalling certificate, reinstalling same hardwarestation version, upgrading hardware station to latest version etc. We also tried switching between local hardware station and shared hardware station. None of these steps fixed the error.

The resolution was to unpair the hardware station and pair it again. When hardware station is paired it issues a token which is valid for 180 days by default which is used by POS for subsequent requests to shared hardwarestation. The issue we faced was due to the token being expired or corrupted. By unpairing and pairing it will issue a new token. If you want to change the default 180 days, you canndo this by changing the pairingKey() in file C:\Users\RetailHardwareStationAppPool\AppData\Local\Microsoft Dynamics AX\Retail Hardware Station\SecureStorage.xml

Author

Suhail Ismail

Someone who is in love with Microsoft technologies and working as D365 Commerce developer

comments powered by Disqus