Permissions error in SSMS with a dataverse datalake

Jesse Ruiz 0 Reputation points
2024-11-05T16:03:32.91+00:00

Hello,

I'm having an issue with creating a PowerBI report - specifically connecting to a data source. I created a view in a datalake in SSMS based on dataverse data but keep experiencing this issue. My colleague cannot replicate the error and I'm not sure where else to look.

Here is the error:
(The credential definitely exists. )

DataSource.Error: Microsoft SQL: Cannot find the CREDENTIAL 'dynamics365_financeandoperations_1234', because it does not exist or you do not have permission.
Could not use view or function 'Retail.vwRetailTrans' because of binding errors.
Details:
    DataSourceKind=SQL
    DataSourcePath=tcp:abs123-ondemand.sql.azuresynapse.net,1433;DataWarehouse-Serverless
    Message=Cannot find the CREDENTIAL 'dynamics365_financeandoperations_1234', because it does not exist or you do not have permission.
Could not use view or function 'Retail.vwRetailTrans' because of binding errors.
    ErrorCode=-2146232060
    Number=15151
    Class=16
    State=1



Failed to save modifications to the server. Error returned: 'OLE DB or ODBC error: [DataSource.Error] Microsoft SQL: Cannot find the CREDENTIAL 'dynamics365_financeandoperations_1234', because it does not exist or you do not have permission.
Could not use view or function 'Retail.vwRetailTrans' because of binding errors..
An unexpected exception occurred.
'.


I have tried GRANT REFERENCES ON DATABASE SCOPED CREDENTIAL::[{credential_name}] TO [{user}];
But this also led to an error that said user doesn't exist.

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,996 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,982 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.