Skip to main content

Notifications

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!
  • ToddB Profile Picture
    on at
    RE: Channel database extension - Cloud POS deployment failed

    Hi Abdul,

    Please check the below documentation:

    docs.microsoft.com/.../channel-db-extensions

    pastedimage1602610644822v1.png

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 > Supply chain | Supply Chain Management, Commerce

#1
Zain Mehmood Profile Picture

Zain Mehmood 462 Moderator

#2
Danny Bilodeau Profile Picture

Danny Bilodeau 156 Moderator

#3
Laurens vd Tang Profile Picture

Laurens vd Tang 120 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans