Permissions error in SSMS with a dataverse datalake
Jesse Ruiz
0
Reputation points
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.
Sign in to answer