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
Unanswered

Channel database extension - Cloud POS deployment failed

(0) ShareShare
ReportReport
Posted on by 25

Hello there,

We are planning to create a view (in [ext] schema) of an existing table in [crt] schema in the channel database.  While it works just fine with RSSU, it does create problems while deploying the RCSU changes.  The deployment fails with the below error

Deployment has failed with the error message: 'There was an error when applying the channel database extension file '<filename.sql>'. The REFERENCES permission was denied on the object 'SCRUBBEDCUSTOMERPHONENUMBER', database '<database name>', schema 'crt'.
Cannot find the object "SCRUBBEDCUSTOMERPHONENUMBER" because it does not exist or you do not have permissions. Near statement:
CREATE VIEW [ext].[SCRUBBEDCUSTOMERPHONENUMBER_XYZ] WITH SCHEMABINDING
AS
SELECT
--FIELDS SELECTION
FROM [crt].[SCRUBBEDCUSTOMERPHO... '
SCRUBBEDCUSTOMERPHONENUMBER is an existing table in the [crt] schema in the channel database.  This works just fine with the RSSU deployment since we, as the user manage/own the channel db but no luck with RCSU.  
We were also thinking of using the below command to provide the REFERENCES permission
GRANT REFERENCE ON OBJECT::[crt].[SCRUBBEDCUSTOMERPHONENUMBER] TO [UsersRole]
GO
But not sure who to give the permission to.  Could you please advise which user the RCSU deployment user belongs to?  Highly appreciate any inputs to address this issue.  
We use PU36 (10.0.12).  Thanks!
I have the same question (0)
  • ToddB Profile Picture
    Microsoft Employee on at

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 June 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 88 Super User 2026 Season 1

#2
Sagar Suman Profile Picture

Sagar Suman 72 Super User 2026 Season 1

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 65 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans