Forum Discussion

djskro's avatar
djskro
Frequent Visitor
1 year ago
Solved

SSO Not Working for Dataverse Datasource

Hello, I have a sample-report that has two datasources: Dataverse (new CDS connector, DirectQuery) SQL Server (via a gateway, DirectQuery) I have enabled the SSO setting in the Dataverse credent...
  • mscottsewell's avatar
    mscottsewell
    1 year ago

    djskro Adding/removing from the Power Apps interface doesn't have an impact on the security of the table at the dataverse layer. - Dataverse Security Roles (and in some cases, shares or inheritance) are the determining factor as to whether a user can view a row of data in a table.

    Look at the security role(s) that the user has been granted - and within those roles, ensure the user has no 'read' permissions for the table. - (The dataverse security roles are additive, so if they have 20 roles and only one gives them organizational 'read' permissions - then they'll have read permission for the data in the table, it doesn't matter what the other roles have.)

    Also, be sure to check to see if the user is a member of a team where a security role has granted them permission to read the table.

    A really helpful tool for troubleshooting/understanding the security of a specific user on a specific record in Dataverse is the XrmToolBox "Access Checker" -  Also, the "Privileges Discovery" tool in XrmToolBox will be useful.

    (I don't think the lack of 'read' pemission on a table will block them from seeing that a table  exists, but it should block the table from returning any data. )