Skip to main content

Notifications

Announcements

No record found.

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
    ToddB 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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,309 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans