Views:

Applies to Product - Dynamics 365 Business Central


What’s happening?
Customers are encountering a "No Token Error" when attempting to connect their Shopify store with Microsoft Dynamics 365 Business Central. This issue may manifest as a greyed-out "Has Accesskey" toggle on the Shopify Shop card, preventing the user from enabling or requesting an access token.


Reason:
The underlying cause of this is often related to an incorrect Shopify shop URL being used in the Business Central Shopify connector. This can occur when the URL is not formatted correctly or when a redirect URL is used instead of the actual shop URL.


Resolution:

  1. Verify the Shopify URL: Ensure that the URL entered in the Shopify Shop card is correct. The URL should be in the format: https://{shop}.myshopify.com/. This can be built by combining the store ID from the admin URL (e.g., admin.shopify.com/store/{shop}).
  2. Use the Correct URL: If the URL has been renamed or altered, revert to the original URL that was working. The connector may not function properly with renamed or incorrectly formatted URLs.
  3. Check Permissions: Ensure that the user has the necessary permissions to make HTTP requests in the Business Central environment. The "Allow HTTPClient Requests" toggle should be enabled.
  4. Request Access: Navigate to the Shopify Shop card, click on the "Actions" tab, select the "Access" subtab, and click on the "Request Access" option. If prompted, sign in to your Shopify account and review the privacy and permissions before choosing the "Install App" button.
  5. Test in a Clean Environment: If issues persist, replicate the problem in a fresh Business Central sandbox environment without any third-party extensions to isolate the issue.
  6. Follow Documentation: For further troubleshooting, refer to the official Microsoft documentation on requesting access tokens for the Shopify connector: Request the Access Token.
If the issue remains unresolved after following these steps, further investigation may be required, potentially involving support from Shopify or Microsoft technical support teams.