For on-premises deployments, the configuration file (at this time) requires manual editing:
•StoreSystemAosUrl should have the value used to access headquarters (AX). It is critical to keep a trailing slash at the end of this URL (for example, myContosoURL.com/.../).
•AADTokenIssuerPrefix should have the value https://NOTUSED.microsoft.com
•TransactionServiceAzureAuthority should have the value https://<ADFS FQDN including .com>/adfs.
•TransactionServiceAzureResource should have the base URL value of the StoreSystemAosUrl edited as shown above. For instance, based on the above example https://myContosoURL.com would be used as the value, removing the /namespaces/AXSF/ portion of the URL.
Much more info you can see below site:
docs.microsoft.com/.../retail-store-scale-unit-configuration-installation

Please let me know does this resolve your issue?