Thanks so much. I switched to another branch and the command works. I don't think I have the permission to run this command in master branch but can run it in other branch. Thank you guys again.
Cannot add the principal 'XXXX', because it does not exist or you do not have permission.
Jianjun Lv
20
Reputation points Microsoft Employee
When I run the command
ALTER ROLE db_datareader ADD MEMBER "XXXX"
It showed the error
Cannot add the principal 'XXXX', because it does not exist or you do not have permission.
But I'm very sure The server principal 'XXXX' already exists. and the account has the permission.
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.
5,378 questions