Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Answered

MPOS Activation Error (missing stored procedures on SQL Database)

(0) ShareShare
ReportReport
Posted on by 10
G'day experts!
 
I'm currently having issues related to activating the MPOS in my OneBox VM environment. The issue is specifically related to the authentication of a worker and resolving the external identity, as certain stored procedures are not present on the customer's DB I've downloaded, yet they are present on the AxDB that comes with the VM environment and I'm not sure how the external identities are resolved in their UAT environment (where the DB has been created from).
 
Steps I've taken include:
  • Downloading and restoring a customer's DB from LCS to the VM environment, full data sync from VS and everything in D365 works perfectly
  • Initialize commerce scheduler
  • Updated the identity providers to the correct information and worker, ran a full 9999 job for the correct Channel DB group
  • Retail provisioning tool with the correct account
 
When entering the information required in MPOS I get the message 'Database error'
 
From Event Viewer I can see that stored procedures 'crt.GETSTAFFIDBYEXTERNALIDENTITY'. and 'crt.HASEXTERNALIDENTITY' are two procedures required (that are present on the AxDB). Duplicating them from the AxDB to the CustomerDB I'm using works up untill where the view 'crt.RETAILSTAFFEXTERNALIIDENTITYVIEW' is required which cannot be replicated in the CustomerDB due to certain columns not being available.
 
Has anyone come across this issue or maybe any suggestions on how to resolve the issue as I've exhausted all other avenues?
 
Thanks!
  • Verified answer
    ToddB Profile Picture
    on at
    RE: MPOS Activation Error (missing stored procedures on SQL Database)

    Hi marxhein94,

    You should apply the latest retail package to make sure that the channel binaries and database are sitting on same version.

    Also, review the below:

    docs.microsoft.com/.../dbmovement-scenario-exportuat

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans