web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
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!
I have the same question (0)
  • Verified answer
    ToddB Profile Picture
    Microsoft Employee on at

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 79 Super User 2026 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 76 Super User 2026 Season 2

#3
Sagar Suman Profile Picture

Sagar Suman 44 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans