web
You’re offline. This is a read only version of the page.
close
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
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
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Siv Sagar Profile Picture

Siv Sagar 283 Super User 2025 Season 2

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 213 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 152 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans